On 31/01/10 6:27 PM, Thomas Perron wrote:
> 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})

Heh, you might need to say what you're expecting and what you're getting :D

Straight off, all I can see is that 2 does 200, 3 does 300 and 4 does 500.

-- 
Cheers,

Matt Riddell
Managing Director
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)

-- 
_____________________________________________________________________
-- 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