Thanks all for your patience. I found my answer in a post on a totally unrelated question (I new if I kept reading all posts ...) saw this in a post for call forwarding. exten => *72,1,Answer exten => *72,2,Wait(1) exten => *72,3,BackGround(allison7/please-enter-your) exten => *72,4,Playback(extension) exten => *72,5,Playback(then-press-pound) exten => *72,6,Playback(beep) exten => *72,7,Read(fromext)
Had not seen anything on "Read" anywhere else, must have been looking in all the wrong places. this is a simple solution to my problem. I have been reading VOIP-info.org wiki, asterisk handbook, google searches. Can anyone point me to some other places that I can search through? John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Millican Sent: Tuesday, August 24, 2004 4:13 PM To: [EMAIL PROTECTED] 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 Well Mr. Reed, and all others on list who might help, I guess I am not as smart as I hoped I was:-) I looked at the apps_privacy file. I thought I could write something similar and compile then call from dial plan. What I get is a lot of errors about unreferenced ast_app_streamfile, ast_app_getdata, ... among others. I used all the same includes in Marks script but still no go. I tried to find where these references came from in the apps_privacy and could not find them. I typically code in C++ with QT 3.3 and would like to be able to use the DB drivers that I have in QT for PostgreSQL since I will be querying an app on a separate machine for customer info based on callid and a date in the form of digits dialed by the caller. Any help in this direction would be greatly appreciated. My original plan was an AGI script, is this a bad idea? Call levels will most likly not be very high. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 8/19/2004 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] 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.742 / Virus Database: 495 - Release Date: 8/19/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 8/19/2004 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users