Set up for recieving custom headers through SIP
# support
c
Hi, Which VAPI configuration do I need to set up to capture custom SIP headers (x-header: 1234)?
v
@cbasf Hello! To capture custom SIP headers using VAPI, you'll need to configure your application to look for the specific headers you're interested in. This typically involves setting up a webhook endpoint that can receive the SIP INVITE request with the custom headers. When VAPI receives a call, it will send a webhook event to your endpoint with the details of the incoming call, including any custom SIP headers. You'll need to parse the incoming webhook payload to extract the custom SIP header values you need. If you're looking for a specific header like
x-header
, you would look for this header in the payload and handle it accordingly within your application logic. If you need more detailed instructions or assistance with the configuration, please let me know, and I'll be happy to help further!
You can continue this conversation by mentioning me in the message.
s
@cbasf you need to pass headers using your telephony provider and then they will be available under assistant overrides as it-is. The only thing you need to ensure is to use single words for the headers as it's get passed correctly. If this all is done then please share the recent call ID so, i can look into it's PCAP file.
5 Views