[Freeswitch-users] Can't test for empty variable
Carlos Eduardo
kaduww at gmail.com
Fri Dec 11 20:10:25 UTC 2020
Hey David,
Test with with this
expression="^.?$"
Regards...
Em sex., 11 de dez. de 2020 às 12:44, David Villasmil <
david.villasmil.work at gmail.com> escreveu:
> 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
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> 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
> https://freeswitch.com
--
*Carlos E. Wagner*
*Tecnólogo em Telecomunicações, Opensips Certified Professional*
*Fone: +55 48 99981-0894*
*E-mail:* kaduww at gmail.com
*LinkedIn:* https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201211/5bb4e818/attachment.html>
More information about the FreeSWITCH-users
mailing list