> What's the best way to increment a numeric variable in the dial plan?
> I tried this...
>
> exten => s,1,Set(mainLoop=${MATH(${mainLoop}+1)})
exten => s,1,Set(mainLoop=$[${mainLoop} + 1])

hth
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to