[asterisk-commits] tilghman: trunk r218050 - /trunk/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 11 00:58:15 CDT 2009


Author: tilghman
Date: Fri Sep 11 00:58:11 2009
New Revision: 218050

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=218050
Log:
Check the origination priority for more matches, not the current priority.
Found by Pavel Troller on the -dev list.

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/pbx.c?view=diff&rev=218050&r1=218049&r2=218050
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Fri Sep 11 00:58:11 2009
@@ -4628,7 +4628,7 @@
 				ast_verb(2, "Spawn extension (%s, %s, %d) exited INCOMPLETE on '%s'\n", c->context, c->exten, c->priority, c->name);
 
 				/* Don't cycle on incomplete - this will happen if the only extension that matches is our "incomplete" extension */
-				if (!ast_matchmore_extension(c, c->context, c->exten, c->priority, c->cid.cid_num)) {
+				if (!ast_matchmore_extension(c, c->context, c->exten, 1, c->cid.cid_num)) {
 					invalid = 1;
 				} else {
 					ast_copy_string(dst_exten, c->exten, sizeof(dst_exten));




More information about the asterisk-commits mailing list