If they are actually ³Price² and ³Gateway² you are doing it wrong, they should be either X- or P- headers since they are private headers. Else you will have to hack the code to get access to them On 4/9/14 1:16 PM, "ik" <idokan@gmail.com> wrote:
On Wed, Apr 9, 2014 at 7:08 PM, Ken Rice <krice@freeswitch.org> wrote:
Use the info dialplan application on one of the calls coming in to see how they actually show up as chan vars
Thanks for the reply, but as I wrote, I already tried to use info, and it did not gave me the variables. I can only see them on sofia's trace.
On 4/9/14 10:59 AM, "ik" <idokan@gmail.com <http://idokan@gmail.com> > wrote:
Hello,
I have a SIP Provider that add custom headers to sip . I tried to see them using app info, but they do not appear, but with sofia trace I can see them.
For example the provider gives me a header named: Price: 0.25 Gateway: foo
The upper case letter is part of the name, and both Price and Gateway are different headers.
I tried also to read them using ${variable_sip_Gateway} and ${sip_Gateway}, but the variables are empty.
How can I read the extra sip headers ?
Thanks, Ido
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://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://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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH