diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-09-26 17:52:04 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-09-26 17:52:04 +0000 |
commit | 8861fd8a31fea9b8b4ad5f6106e7c82d83baedd3 (patch) | |
tree | 4898c3277863d4d001c6a95c0ebafdb2f67701dd /main/pbx.c | |
parent | bf77018a7730ff9b95241a871e9c0d83b9368dee (diff) |
Merged revisions 144678 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r144678 | murf | 2008-09-26 11:50:35 -0600 (Fri, 26 Sep 2008) | 20 lines
Merged revisions 144677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r144677 | murf | 2008-09-26 11:47:13 -0600 (Fri, 26 Sep 2008) | 12 lines
(closes issue #13563)
Reported by: mnicholson
Patches:
found1.diff uploaded by mnicholson (license 96)
This patch was mainly meant to apply to trunk and 1.6.x,
but I'm applying it to 1.4 also, which should be a perfectly
harmless fix to the vast majority of users who are not using
external switches, but the few who might be affected
will not have to go to the pain of filing a bug report.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@144679 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c index c411672c8..70f1f0c50 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -3113,6 +3113,8 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con, return pbx_exec(c, app, passdata); /* 0 on success, -1 on failure */ } } else if (q.swo) { /* not found here, but in another switch */ + if (found) + *found = 1; ast_unlock_contexts(); if (matching_action) { return -1; |