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 --
Doug,
The TFOT book recommends using expressions instead of dialplan
functions:
exten = s,1,Set(mainLoop=$[${mainLoop} + 1])
-MC
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Garstang
Sent: Wednesday, February 15, 2006 2:10 PM
To: Asterisk