[asterisk-commits] murf: branch 1.4 r144677 - /branches/1.4/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 26 12:47:13 CDT 2008


Author: murf
Date: Fri Sep 26 12:47:13 2008
New Revision: 144677

URL: http://svn.digium.com/view/asterisk?view=rev&rev=144677
Log:
(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.


Modified:
    branches/1.4/main/pbx.c

Modified: branches/1.4/main/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=144677&r1=144676&r2=144677
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Fri Sep 26 12:47:13 2008
@@ -1862,6 +1862,8 @@
 			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;




More information about the asterisk-commits mailing list