[Freeswitch-users] Delete previously appended header for the bridged leg

Anonim Stefan fanx07 at gmail.com
Wed Jun 22 16:39:54 MSD 2016


Thank you for the answer,

Also, as an alternative, I've been transfering the bridged leg to a
dialplan extension and I was able to unset it from there, as described in
the above tutorials.

Stefan

On Tue, Jun 21, 2016 at 7:14 AM, Sergey Safarov <s.safarov at gmail.com> wrote:

> Try
> originate{origination_uuid=bla}{sip_h_X-HEADER1=VALUE1}sofia/gateway/gateway1/to_uri1
> &bridge({sip_h_X-HEADER1=_undef_,sip_h_X-HEADER2=
> VALUE2}sofia/gateway/gateway1/to_uri2)
>
> пн, 20 июн. 2016 г. в 16:16, Anonim Stefan <fanx07 at gmail.com>:
>
>> Hi,
>>
>> I issue this command via python ESL:
>> "
>> originate{origination_uuid=bla}{sip_h_X-HEADER1=VALUE1}sofia/gateway/gateway1/to_uri1
>> &bridge({sip_h_X-HEADER2=VALUE2}sofia/gateway/gateway1/to_uri2)
>> "
>>
>> The problem I have is that HEADER1 is still existent in the bridged leg.
>> I have tried adding &unset(sip_h_X-HEADER1) without success.
>>
>> Also I've tried with [] as said here [1], without succes.
>>
>> What would be the solution to remove the sip_h_X-HEADER1 for the bridged
>> party?
>>
>> [1]
>> https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-ChannelVariablesinDialstrings
>>
>> Thank you,
>> Stefan
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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://confluence.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/20160622/b421b4c4/attachment-0001.html 


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