[asterisk-commits] tilghman: branch 1.8 r281723 - in /branches/1.8: ./ apps/app_readexten.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 11 10:18:44 CDT 2010


Author: tilghman
Date: Wed Aug 11 10:18:40 2010
New Revision: 281723

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=281723
Log:
Merged revisions 281722 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r281722 | tilghman | 2010-08-11 10:17:20 -0500 (Wed, 11 Aug 2010) | 7 lines
  
  Only set status TIMEOUT, if we have no digits.
  
  (closes issue #15188)
   Reported by: jcovert
   Patches: 
         app_readexten.c.patch-1.6.2.8-rc1 uploaded by jcovert (license 551)
........

Modified:
    branches/1.8/   (props changed)
    branches/1.8/apps/app_readexten.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
--- branch-1.6.2-merged (original)
+++ branch-1.6.2-merged Wed Aug 11 10:18:40 2010
@@ -1,1 +1,1 @@
-/branches/1.6.2:1-279056,279207,279501,279561,279597,279609,279657,279784,279849,279946,280089,280160,280193,280229,280231,280306,280345,280449,280551,280671,280739,280983,281051,281391,281430,281567,281574
+/branches/1.6.2:1-279056,279207,279501,279561,279597,279609,279657,279784,279849,279946,280089,280160,280193,280229,280231,280306,280345,280449,280551,280671,280739,280983,281051,281391,281430,281567,281574,281722

Modified: branches/1.8/apps/app_readexten.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_readexten.c?view=diff&rev=281723&r1=281722&r2=281723
==============================================================================
--- branches/1.8/apps/app_readexten.c (original)
+++ branches/1.8/apps/app_readexten.c Wed Aug 11 10:18:40 2010
@@ -232,7 +232,7 @@
 			if (res < 1) {		/* timeout expired or hangup */
 				if (ast_check_hangup(chan)) {
 					status = "HANGUP";
-				} else {
+				} else if (x == 0) {
 					pbx_builtin_setvar_helper(chan, arglist.variable, "t");
 					status = "TIMEOUT";
 				}




More information about the asterisk-commits mailing list