Title: Message
I failed to mention in my original post that I've looked at perl through AGI, but haven't yet found a function that allows me to capture digits to a variable that I can then manipulate.  I probably should also mention that I'm not a programmer-type, although I can usually muddle through simple scripts for smaller uses like this one.  Can you suggest which function I would use?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Hagler
Sent: Sunday, October 05, 2003 9:57 PM
To: [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] IVR Questions?

Look into AGI, and the associated AGI interface perl module.   The interface is super easy to use in perl to gather digits and perform your own logic.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Dennick
Sent: Sunday, October 05, 2003 5:54 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] IVR Questions?

 

I'm fairly new to Asterisk, but I've been searching the archives extensively and haven't seen much information on using IVR for more than menus.  I'd like to prompt a caller to enter his ID (employee, customer, account, etc). The business use I have in mind requires a five-digit ID.  Then I need to be able to capture the ID entered, validate it (probably by playing it back with say-digit) and then store the five-digit ID into a variable that I can pass to another program. 

 

Obviously, what we're aiming for is CTI.  Once I have the Customer ID, I should be able to grab that customer's information from a database and pass it along with the call to the next available agent in a queue. 

 

I've noticed that its pretty easy to incorporate perl scripts into Asterisk, but I haven't seen an answer to capturing dialed digits.


Thank you for your help!

Reply via email to