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)})
but that converts it to a floating point number (WHY???), so I end up with 1.0000, which later on means I have to perform string manipulation to get rid of the .0000.
Thanks
Doug