what is wrong with this please:

;exten => 4,1,WaitExten(3)
exten => 4,1,Set(TOTAL=${MATH(${TOTAL}+500,int)})
exten => 4,n,WaitExten(3)
exten => 2,1,Set(TOTAL=${MATH(${TOTAL}+200,int)})
exten => 2,n,Waitexten(3)
exten => 3,1,Set(TOTAL=${MATH(${TOTAL}+300,int)})
exten => 3,n,WaitExten(3)
exten => 9,1,SayNumber(${TOTAL})

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to