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

Sergey Safarov s.safarov at gmail.com
Tue Jun 21 08:14:42 MSD 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160621/9fb03e5f/attachment.html 


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