[asterisk-commits] oej: trunk r41457 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Aug 30 13:24:32 MST 2006


Author: oej
Date: Wed Aug 30 15:24:32 2006
New Revision: 41457

URL: http://svn.digium.com/view/asterisk?rev=41457&view=rev
Log:
Why check bridgepeer twice?

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=41457&r1=41456&r2=41457&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Aug 30 15:24:32 2006
@@ -4926,8 +4926,6 @@
 		ast_set_write_format(p->owner, p->owner->writeformat);
 	}
 	
-	bridgepeer = ast_bridged_channel(p->owner);
-
 	/* Turn on/off music on hold if we are holding/unholding */
 	if ((bridgepeer = ast_bridged_channel(p->owner))) {
 		if (sin.sin_addr.s_addr && !sendonly) {



More information about the asterisk-commits mailing list