[Freeswitch-users] Access the Remote-Party-ID header from a SIP invite.
Michael Collins
msc at freeswitch.org
Mon Feb 13 20:16:41 MSK 2012
Gael,
Kudos for two things:
#1 - Going all Chuck Norris and solving your problem yourself by looking in
the source code.
#2 - Reporting your findings back to the list.
Karma++ for you! Also, if this isn't anywhere on the wiki would you put it
up there? If you have any trouble please let me know and I will assist you
with editing the wiki.
-MC
On Sat, Feb 11, 2012 at 3:35 PM, Gael Martin <gael at kelta.net> wrote:
> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120213/fdd30aa4/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list