[Asterisk-Users] how to collect user entered digits

John Millican john at millican.us
Fri Aug 20 11:27:25 MST 2004


Thanks  will do that.

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Walt Reed
Sent: Friday, August 20, 2004 2:13 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] how to collect user entered digits


On Fri, Aug 20, 2004 at 01:19:54PM -0400, John Millican said:
> I have been searching thru all docs that I can find on wiki and such but
can
> not get an answer.  I am trying to collect a date from user input in the
> form of digits dialed from the phone to use in an agi script to do a
> database look up.  I have tried to use "Get Data filename, timeout,
> maxdigits " in the agi script. In * console I get message saying playing
> filename but it exits as soon as it starts. Could I collect the digits
some
> how before going to script and then send as an arg maybe?

Check out the source to the privacy manager for a simple example...

apps/app_privacy.c

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004




More information about the asterisk-users mailing list