[asterisk-commits] rmudgett: trunk r387183 - /trunk/channels/chan_skinny.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 1 15:01:11 CDT 2013


Author: rmudgett
Date: Wed May  1 15:01:10 2013
New Revision: 387183

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387183
Log:
Remove some unnecessary calls to ast_bridged_channel() in chan_skinny.c

Modified:
    trunk/channels/chan_skinny.c

Modified: trunk/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=387183&r1=387182&r2=387183
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Wed May  1 15:01:10 2013
@@ -5234,9 +5234,7 @@
 			ast_channel_name(xferor->owner), ast_bridged_channel(xferor->owner) ? ast_channel_name(ast_bridged_channel(xferor->owner)) : "");
 
 		if (ast_bridged_channel(xferor->owner)) {
-			if (ast_bridged_channel(xferee->owner)) {
-				ast_queue_control(xferee->owner, AST_CONTROL_UNHOLD);
-			}
+			ast_queue_control(xferee->owner, AST_CONTROL_UNHOLD);
 			if (ast_channel_state(xferor->owner) == AST_STATE_RING) {
 				/* play ringing inband */
 				if ((ts = ast_get_indication_tone(ast_channel_zone(xferor->owner), "ring"))) {




More information about the asterisk-commits mailing list