I'm looking for guidance on implementing webhook functionality in Oracle Session Border Controller (SBC). I need to configure the SBC to send an HTTP POST request to an external API endpoint whenever a SIP INVITE message is received.
Specifically, I need the SBC to:
1. Detect SIP INVITE messages as they're processed
2. Extract the Call-ID header from these messages
3. Send an HTTP POST request to our webhook endpoint (https://example.com/webhook/)
4. Include our authentication token in an Authorization header
5. Include the Call-ID in a custom X-Sip-Call-Id header
This needs to happen in real-time when the INVITE is processed, not through delayed syslog monitoring or external scripts.
Our use case is for CRM integration and call validation - we need to process incoming calls (customer to enterprise) immediately when they enter our network to prepare agent screens and validate calls before they're connected.
Is there a way to configure Oracle SBC to trigger these HTTP requests directly? If not, what's the recommended approach with minimal latency?
I apologize if this isn't the correct category - if there's a better place to post questions about Oracle SBC configuration, please let me know.
Thank you!