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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org