[Freeswitch-users] Unset variable in dialstring

Markus Bönke mbodbg at gmx.net
Tue Feb 4 19:44:58 UTC 2020


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 at 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 at sip.solutions
> linkedin.com/in/vallimamod
> .
> 
> 
>> On 3 Feb 2020, at 16:07, Markus Bönke <mbodbg at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200204/e996ca47/attachment.html>


More information about the FreeSWITCH-users mailing list