[Freeswitch-users] null/undef variables

Steven Ayre steveayre at gmail.com
Tue May 31 11:26:41 MSD 2011


>
> should I set unset inline also ?
>

Yes, try that. It does support inline.

-Steve


On 31 May 2011 07:42, Madovsky <infos at 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 at gmail.com>
> *To:* FreeSWITCH Users Help <freeswitch-users at 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 at 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 at amooma.de>
>> To: "FreeSwitch Users Help" <freeswitch-users at 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_variable_as_undefined
>> > http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_unset
>> >
>> >
>> >    Philipp
>> > --
>> > http://twitter.com/kempgen
>> >
>> >
>> > _______________________________________________
>> > 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
>>
>>
>> _______________________________________________
>> 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
>>
>
>  ------------------------------
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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/20110531/33b7e5df/attachment.html 


More information about the FreeSWITCH-users mailing list