Summary: | ASTERISK-05101: [patch] [post 1.2] GET DATA now supports escape digits | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2005-09-18 02:10:47 | Date Closed: | 2011-06-07 14:03:06 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 5241.txt | |
Description: | Imagine this scenario: We have a prompt saying, please enter ur mobile number, or * if u lose it. You just doing a GET DATA 10 digits right? but if a user press *, the user will have to wait until the timeout occurs right? My idea is the stop the get data RIGHT after the *, no more waiting til the timeout occurs. in that example: print "GET DATA foobar \"5000\" \"5\" \"*\"\n"; will fix this problem. So if you specify an escape digits, the GET DATA will wait until the timeout occurs OR if any of the escape digits is passed. By default, the same behavior will stay, the # finish the GET DATA, if u dont specify any escape digits. ****** ADDITIONAL INFORMATION ****** Like the ast_app_getdata_full() is only call via the handle_getdata from the res_agi.c, i see no problem with modification of the prototype. | ||
Comments: | By: Michael Jerris (mikej) 2005-12-01 13:50:11.000-0600 Can we please get an updated patch for this for current svn trunk. Thanks. By: Clod Patry (junky) 2005-12-01 15:13:56.000-0600 Since no ones seems to care about that one. IF someone has any interest, let me know on IRC (#asterisk-bugs on FreeNode). |