[Asterisk-Users] how to collect user entered digits

Walt Reed asterisk at linuxguy.com
Fri Aug 20 11:12:36 MST 2004


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




More information about the asterisk-users mailing list