should I set unset inline also ?
Yes, try that. It does support inline. -Steve On 31 May 2011 07:42, Madovsky <infos@madovsky.org> wrote:
ooops, ok I used one underscore. yes I tried unset after the inline but doesn't work. should I set unset inline also ? nevermind I changed the dialplan to different way.
Thanks
----- Original Message ----- *From:* Steven Ayre <steveayre@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Tuesday, May 31, 2011 2:34 AM *Subject:* Re: [Freeswitch-users] null/undef variables
__undef__ (2 underscores either side) only I think affects caller id.
Did you try the unset app?
-Steve
On 31 May 2011 05:19, Madovsky <infos@madovsky.org> wrote:
thanks Philipp,
_undef_ is considered as a string.. I forgot to mention that the var is initiated with inline in an extension, and can be modified after in another with empty value. I tried also to set all the var as inline but doesn't make sense..
Thanks
----- Original Message ----- From: "Philipp Kempgen" <philipp.kempgen@amooma.de> To: "FreeSwitch Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Monday, May 30, 2011 6:35 PM Subject: Re: [Freeswitch-users] null/undef variables
Madovsky wrote:
Just updated to today git so all variables I set to null like <action application="set" data="myvar="/>
don't work anymore. is there now another method to set to undef/null variable ?
I'd give <action application="set" data="myvar=_undef_" /> or <action application="unset" data="myvar" /> a try.
http://wiki.freeswitch.org/wiki/Manipulating_Channel_Variables#Setting_a_var...
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_unset
Philipp -- http://twitter.com/kempgen
_______________________________________________ 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 http://www.freeswitch.org
_______________________________________________ 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 http://www.freeswitch.org
------------------------------
_______________________________________________ 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 http://www.freeswitch.org
_______________________________________________ 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 http://www.freeswitch.org