Summary:ASTERISK-07688: [Patch] enhancement to app_read, to still set the variable if the caller hangs up after entering digits
Reporter:Jared Smith (jsmith)Labels:
Date Opened:2006-09-07 09:24:29Date Closed:2006-09-07 11:41:00
Versions:Frequency of
Environment:Attachments:( 0) app_read_hangup.patch
( 1) app_read_hangup-trunk.patch
Description:This is a simple addition to app_read, so that if the caller hangs up after entering digits (before the digit timeout or specified timeout), that the channel variable will still be set to the digits entered.  That allows us to actually do something with them in the 'h' extension.

****** STEPS TO REPRODUCE ******

Apply patch
recompile app_read.c
call Read() application from the dialplan
enter some digits, then immediately hangup


The first patch is for the 1.2 branch, but I'll create a trunk version in the next few minutes.
Comments:By: Jared Smith (jsmith) 2006-09-07 09:48:57

I've added a new patch for trunk (even thought the 1.2 patch applies to trunk with a little offset).

By: Joshua C. Colp (jcolp) 2006-09-07 11:40:59

Put into trunk as of revision 42262. Thanks!