[Freeswitch-users] Can't test for empty variable

David Villasmil david.villasmil.work at gmail.com
Fri Dec 11 15:43:51 UTC 2020


Hello all,

I'm trying to test the play_and_get_digits variable from here:

<action application="play_and_get_digits" data="1 1 1 3000 # ''
silence_stream://250 dtmf_get \d 3000"/>

Like this:

 <condition field="${dtmf_get}" expression="^$">

But it's always false...

How can I test for an empty (null?) variable?

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201211/9b7f6c59/attachment-0001.html>


More information about the FreeSWITCH-users mailing list