[Freeswitch-users] Access the Remote-Party-ID header from a SIP invite.
Gael Martin
gael at kelta.net
Sun Feb 12 02:35:09 MSK 2012
Solved, I looked into the source and found the one I did not tried:
sip_Remote-Party-ID
Gael
On Sun, Feb 12, 2012 at 12:30 AM, Gael Martin <gael at kelta.net> wrote:
> Hi, I need to read the content of the Remote-Party-ID header in a SIP
> invite from a provide but I can't seem to find the right channel
> variable that has the content
>
> I tried:
>
> <action application="log" data="CONSOLE RPID ${sip_h_Remote-Party-ID}"/>
> <action application="log" data="CONSOLE RPID ${Remote-Party-ID}"/>
> <action application="log" data="CONSOLE RPID ${sip_h_remote-party-id}"/>
> <action application="log" data="CONSOLE RPID ${sip_rpid}"/>
>
> But it's always blank, even so I can see the Header in the SIP invite.
>
> Any ideas?
>
> Gael
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list