How to get DID number for incoming call?

If you need to send DID number to 3-rd party system, you can use the %HEADER1%, %HEADER2%, %HEADER3%, etc. named placeholders on event handler settings window:

Event handler settings

The %HEADER1% named placeholder extracts specified SIP header value from INVITE message for the incoming calls only. Please specify the valid header name in brackets to extract its value with %HEADER1% placeholder:

http://example.com?did=%HEADER1%(P-Asserted-Identity)

If you need to get several SIP INVITE header values, then use %HEADER2%, %HEADER3%, etc. named placeholders:

http://example.com?did=%HEADER1%(P-Asserted-Identity)&callid=%HEADER2%(Call-ID)



You may also like:

Blog Yes, we DID: 5 awesome VoIP terms that might make you smile