[asterisk-users] quenstion about asterisk

Steve Edwards asterisk.org at sedwards.com
Fri Jul 17 10:06:42 CDT 2009


> On 17 Jul 2009, at 15:29, Elvis Jorge wrote:

>> I want to know if there´s a way to capture the numbers typed for a 
>> user; without waiting that the IVR finish or without predefine the 
>> numbers of digits. I´m going to explain you better, for example I want 
>> to know that a user typed 12345#,but I want that the user can type over 
>> IVR and don't predefine the numbers of digits XXXXX because the user 
>> should have the quantity the digits predefine.

On Fri, 17 Jul 2009, Steve Howes wrote:

> Assuming you intend to use # as a terminator, just collect in a loop, 1 
> digit at a time until you get a hash..

Or, use read() or AGI's "stream file."

For future reference, please take a look at:

 	http://www.catb.org/~esr/faqs/smart-questions.html#bespecific

There are many questions about Asterisk.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000


More information about the asterisk-users mailing list