no js nor lua, I just set a var from db select/bla/bla in the dialplan ----- Original Message ----- From: "Brian West" <brian@freeswitch.org> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Monday, January 17, 2011 7:46 PM Subject: Re: [Freeswitch-users] empty var expression
be careful... you shouldn't have anything if the variable doesn't exist but are you using lua or js?
/b
On Jan 17, 2011, at 6:21 PM, Michael Collins wrote:
Where is this variable getting or losing the "undef" value? Also, add this line to info and see what gets printed:
<action application="log" data="WARNING $var contains '${var}'"/>
That will print it out in purple letters to make it easier to see. FWIW, I tried this with various permutations of 'undefined' channel vars and expression="^$" always worked for me.
-MC
_______________________________________________ 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