[asterisk-commits] file: branch 1.2 r55073 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 16 18:09:50 MST 2007


Author: file
Date: Fri Feb 16 19:09:50 2007
New Revision: 55073

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55073
Log:
Allow chan_sip to handle attended transfers from a SIP phone that is sitting behind chan_agent. Yes folks, all it took was one line of code. (issue #8784 reported by pzieba)

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=55073&r1=55072&r2=55073
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Fri Feb 16 19:09:50 2007
@@ -10451,7 +10451,7 @@
 	bridgea = ast_bridged_channel(chana);
 	bridgeb = ast_bridged_channel(chanb);
 	
-	if (bridgea) {
+	if (bridgea && (bridgea == chana->_bridge)) {
 		peera = chana;
 		peerb = chanb;
 		peerc = bridgea;



More information about the asterisk-commits mailing list