aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-11 06:00:28 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-11 06:00:28 +0000
commite295953eb994a1d5f24d75aaa2d8aa599be25827 (patch)
tree9793fe4baa2c28bea0690151dd58884cf27fa2f3 /main
parent3b1f5b6402eca474e2be5f9029ec691e4e089f76 (diff)
Merged revisions 218050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r218050 | tilghman | 2009-09-11 00:58:11 -0500 (Fri, 11 Sep 2009) | 3 lines Check the origination priority for more matches, not the current priority. Found by Pavel Troller on the -dev list. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@218055 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 55dc233e3..4ada0f4bf 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -4269,7 +4269,7 @@ static enum ast_pbx_result __ast_pbx_run(struct ast_channel *c,
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));