[Freeswitch-users] condition

Ken Rice krice at freeswitch.org
Sat Jun 28 21:24:42 MSD 2014


thats tesing for an empty string... test to see if what you expect to be there and if not use anti-action to sleep

Ken
Sent from my iPad

> On Jun 28, 2014, at 11:15, "Andrew" <aademattia at comcast.net> wrote:
> 
> Hi,
> 
> I want to see if the variable is set.  If its not I want to sleep for 500 mill sec.
> 
> This does not seem to work.
> 
>  <condition field="${my_dialstring}" expression="^$">
> 
> <action application="sleep" data="500"/>
> 
> </condition>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.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
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140628/a5974c67/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list