[Freeswitch-users] Reading custom SIP headers

Nelson Luiz Ferraz de Camargo Penteado bigx333 at gmail.com
Wed Apr 9 22:22:40 MSD 2014


sip_h_Gateway
On 9 Apr 2014 20:20, "ik" <idokan at gmail.com> wrote:

>
>
>
> On Wed, Apr 9, 2014 at 7:08 PM, Ken Rice <krice at 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 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.FreeSWITCH.org>
>> http://www.ClueCon.com <http://www.ClueCon.com> http://www.OSTAG.org
>> <http://www.OSTAG.org> *irc.freenode.net #freeswitch
>> Twitter: @FreeSWITCH
>>
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
> _________________________________________________________________________
> 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/20140409/18f3aa65/attachment.html 


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