[asterisk-users] Do While loop
Ricardo Carvalho
rjcarvalho.lists at gmail.com
Fri Nov 30 09:59:49 CST 2007
You can try something like this:
exten => _X.,1,SET(condition=${RAND(1,2)})
exten => _X.,2,GotoIf($[${condition} = '1']?1:3)
exten => _X.,3,SET(Result is 2)
Regards,
Ricardo Carvalho.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071130/5954635e/attachment.htm
More information about the asterisk-users
mailing list