Hi Richard –
What you want is
AGI: http://www.voip-info.org/tiki-index.php?page=Asterisk+AGI
You could write
a perl script to read the PO number from stdin
and spit back the balance (or whatever). To read the PO
number from the user, use the Read() dialplan application. To play back the
balance, you could use SayDigits() (but there’s probably a more elegant
solution specifically for speaking amounts of money).
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Reina
Sent: Friday, 24 February 2006
9:34 AM
To: [email protected]
Subject: [Asterisk-Users] How to
query a table from the keypad?
I am trying to give users the option to query our accts. payable
database by supplying their PO number. I
able to write queries via perl->DBI->mysql but have no idea how to get *
to do it from the IVR. Is this possible? Can anyone point me in the
right direction for help or examples?
Thanks,
Richard
What are the most popular cars? Find out at Yahoo!
Autos
|
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users