> 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