[Freeswitch-users] Reading custom SIP headers

Ken Rice krice at freeswitch.org
Wed Apr 9 20:08:54 MSD 2014


Use the info dialplan application on one of the calls coming in to see how
they actually show up as chan vars


On 4/9/14 10:59 AM, "ik" <idokan at 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 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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch
Twitter: @FreeSWITCH


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140409/aa244944/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list