[asterisk-users] quenstion about asterisk

Elvis Jorge elvis.jorge at etgtel.com
Fri Jul 17 09:46:10 CDT 2009


Could you give a example how I can do that??

Thanks


----- Original Message ----- 
From: "Steve Howes" <steve at geekinter.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Friday, July 17, 2009 10:34 AM
Subject: Re: [asterisk-users] quenstion about asterisk



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.

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

S
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




More information about the asterisk-users mailing list