Summary: | ASTERISK-00178: Proposed feature: app_input | ||
Reporter: | oliver (oliver) | Labels: | |
Date Opened: | 2003-08-26 17:09:59 | Date Closed: | 2004-09-25 02:20:09 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | app_input would accept a sequence of digits from the caller and store those in a variable, given in it's argument. It should also (optionally) accept a terminator-digit in it's argument, which, if set, gets used as the terminator for the input from the caller. I understand this could probably be done already, using an AGI or context, but I think there would be a lot of uses for a simple application to do it. | ||
Comments: | By: John Todd (jtodd) 2003-10-16 04:11:08 Oliver - have you found any takers who might be interested in developing this app? By: Tilghman Lesher (tilghman) 2003-10-17 16:02:08 No need for a separate application; you can do this all from the dialplan: [default] exten => s,1,SetVar(inputreturn=default|s|4) exten => s,2,SetVar(inputvar=myvarname) exten => s,3,Goto(input,s,1) exten => s,4,DoSomethingElse [input] exten => s,1,Background(EnterNumber) exten => _X.,1,SetVar(${inputvar}=${EXTEN}) exten => _X.,2,Goto(${inputreturn}) By: oliver (oliver) 2003-11-21 17:03:34.000-0600 Yo, The requested functionality has since been implemented in "app_read". That means this ticket can be closed. :-) Grtz, Oliver By: Brian West (bkw918) 2003-11-22 13:49:29.000-0600 app_read check cvs it was added recently. Also app_readdigits.c is in the bug tracker also. |