[Freeswitch-users] null/undef variables

Steven Ayre steveayre at gmail.com
Tue May 31 10:34:36 MSD 2011


__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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110531/5a96db45/attachment-0001.html 


More information about the FreeSWITCH-users mailing list