Hi, For sip headers you need to set an empty value to remove them: {sip_h_Privacy=} or before the bridge: <action application="export" data="_nolocal_sip_h_Privacy="/> the "_nolocal_" (or "nolocal:") prefix tells freeswitch to set the var only on b-leg. Hope this helps. Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sip.solutions linkedin.com/in/vallimamod .
On 4 Feb 2020, at 20:44, Markus Bönke <mbodbg@gmx.net> wrote:
Unfortunately I doesn’t work. I tried:
<action application="bridge" data="{sip_h_Privacy=_undef_}sofia/gateway/asterisk/+4933333333332" />
and see
Privacy: _undef_
In the sip INVITE message.
Thanks
Markus
Am 03.02.2020 um 16:48 schrieb Vallimamod Abdullah <vma@vallimamod.org>:
Hi,
You can try with _undef_, it works in dialplan as <action application="set" data="variable=_undef_"/>
Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sip.solutions linkedin.com/in/vallimamod .
On 3 Feb 2020, at 16:07, Markus Bönke <mbodbg@gmx.net> wrote:
Hello NG,
I know it is possible to unset a variable in the dial plan by using the „unset“ application like:
<application="unset" data="variable_name“>
But is it also possible to unset a variable within a bridge command like:
bridge({variable_name="_unset_"}sofia/gateway/mygateway/+49123456789)
_unset_ does not work with FS 1.10.2 but maybe there is any other „special value“ to unset?
Thanks and regards
Markus
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com