[asterisk-commits] tilghman: branch 1.6.2 r281722 - /branches/1.6.2/apps/app_readexten.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 11 10:17:25 CDT 2010
Author: tilghman
Date: Wed Aug 11 10:17:20 2010
New Revision: 281722
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=281722
Log:
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.6.2/apps/app_readexten.c
Modified: branches/1.6.2/apps/app_readexten.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_readexten.c?view=diff&rev=281722&r1=281721&r2=281722
==============================================================================
--- branches/1.6.2/apps/app_readexten.c (original)
+++ branches/1.6.2/apps/app_readexten.c Wed Aug 11 10:17:20 2010
@@ -220,7 +220,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