Hello - Is there a way to extract the Call ID information in a sip invite.
I want to use this information in a custom dial plan but I cannot seem to find a freeswitch variable to extract the CALL- ID.
Any thoughts?
2021/11/9 14:27:05.420600 10.0.0.58:5060 -> 10.0.0.59:5060
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.0.0.59;branch=z9hG4bK3939fb399A0A48B0;rport=5060
From: "K" <sip:100@pbx.lan>;tag=A18A00E3-ED5D3862
To: <sip:101@pbx.lan>;tag=0cQ88rIFk2B7
Call-ID: 8b96186806bbfb5bbbcd803885738c37
CSeq: 37 SUBSCRIBE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, messa
-summary, refer
Proxy-Authenticate: Digest realm="pbx.lan", nonce="a481e89a-65bd-49b2-b5f4-e1aff9a8411a", algorithm=MD5, qop="auth"
Content-Length: 0
I want to use this information in a custom dial plan but I cannot seem to find a freeswitch variable to extract the CALL- ID.
Any thoughts?
2021/11/9 14:27:05.420600 10.0.0.58:5060 -> 10.0.0.59:5060
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.0.0.59;branch=z9hG4bK3939fb399A0A48B0;rport=5060
From: "K" <sip:100@pbx.lan>;tag=A18A00E3-ED5D3862
To: <sip:101@pbx.lan>;tag=0cQ88rIFk2B7
Call-ID: 8b96186806bbfb5bbbcd803885738c37
CSeq: 37 SUBSCRIBE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, messa
-summary, refer
Proxy-Authenticate: Digest realm="pbx.lan", nonce="a481e89a-65bd-49b2-b5f4-e1aff9a8411a", algorithm=MD5, qop="auth"
Content-Length: 0