[svn-commits] file: branch 1.4 r57318 - in /branches/1.4: ./ channels/chan_local.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Mar 1 15:21:45 MST 2007


Author: file
Date: Thu Mar  1 16:21:44 2007
New Revision: 57318

URL: http://svn.digium.com/view/asterisk?view=rev&rev=57318
Log:
Merged revisions 57317 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57317 | file | 2007-03-01 17:19:32 -0500 (Thu, 01 Mar 2007) | 2 lines

Don't even attempt to optimize things when a proxy channel is involved. It will just explode in weird and unexplaineable ways. (issue #9175 reported by clegall_proformatique)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_local.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_local.c?view=diff&rev=57318&r1=57317&r2=57318
==============================================================================
--- branches/1.4/channels/chan_local.c (original)
+++ branches/1.4/channels/chan_local.c Thu Mar  1 16:21:44 2007
@@ -220,7 +220,7 @@
 
 static void check_bridge(struct local_pvt *p, int isoutbound)
 {
-	if (ast_test_flag(p, LOCAL_ALREADY_MASQED) || ast_test_flag(p, LOCAL_NO_OPTIMIZATION) || !p->chan || !p->owner)
+	if (ast_test_flag(p, LOCAL_ALREADY_MASQED) || ast_test_flag(p, LOCAL_NO_OPTIMIZATION) || !p->chan || !p->owner || (p->chan->_bridge != ast_bridged_channel(p->chan)))
 		return;
 
 	/* only do the masquerade if we are being called on the outbound channel,



More information about the svn-commits mailing list