Extracting P-Access-Network-Info from SIP Header


I want to display the “P-Access-Network-Info” from the SIP header on asterisk CLI. I can extract other SIP header parameters from SIP_HEADER function but cannot extract “P-Access-Nework-Info” parameter

exten => s,n,NoOp(&& Area-Number is ${SIP_HEADER(P-Access-Network-Info)})

The above output is empty on Asterisk CLI. In the SIP trunk, peer has trustrpid=yes.
Any suggestions

\which channel driver are you using?

Chan_sip as Channel configuration file is sip.conf

An issue has now been filed on JIRA[1]. In the future please allow longer before filing issues. The issue tracker is not an escalated support mechanism if you do not receive an answer within a timeframe you like on the community forum.

[1] [ASTERISK-29395] chan_sip: Pulling P-Access-Network-Info From SIP Header - Digium/Asterisk JIRA

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.