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: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Joe Dennick
Sent: Sunday, October 05, 2003 5:54 PM
To: asterisk-users@lists.digium.com
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20031005/2155069c/attachment.htm