[Freeswitch-users] null/undef variables

Madovsky infos at madovsky.org
Tue May 31 10:42:34 MSD 2011


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 
  To: FreeSWITCH Users Help 
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110531/07e7e9a2/attachment.html 


More information about the FreeSWITCH-users mailing list