[asterisk-commits] file: trunk r103317 - /trunk/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 11 11:25:05 CST 2008
Author: file
Date: Mon Feb 11 11:25:04 2008
New Revision: 103317
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103317
Log:
Fix Manager Redirect while in an AGI.
(closes issue #10661)
Reported by: junky
Modified:
trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=103317&r1=103316&r2=103317
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Mon Feb 11 11:25:04 2008
@@ -3288,6 +3288,9 @@
/* If the AbsoluteTimeout is not reset to 0, we'll get an infinite loop */
c->whentohangup = 0;
c->_softhangup &= ~AST_SOFTHANGUP_TIMEOUT;
+ } else if (c->_softhangup == AST_SOFTHANGUP_ASYNCGOTO) {
+ c->_softhangup = 0;
+ continue;
} else if (ast_check_hangup(c)) {
ast_debug(1, "Extension %s, priority %d returned normally even though call was hung up\n",
c->exten, c->priority);
More information about the asterisk-commits
mailing list