I want to create a script for IVR that compiles responses, aggregates
them to a total number.
Then, run an equation based on the result.

Press 1 for X (X is a positive number 500)
Press 2 for Y (Y is a positive number 200)
Press 3 for Z (Z is a positive number 300)

Press 20 to calculate the results
= 500+200+300 =1000
then,
exten => s,n,Read(NUMBER,,1000)
exten => s,n,SayDigits(${NUMBER})

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