[asterisk-commits] kharwell: trunk r434241 - in /trunk: ./ main/bridge.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 7 11:42:20 CDT 2015


Author: kharwell
Date: Tue Apr  7 11:42:18 2015
New Revision: 434241

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=434241
Log:
bridge.c: Hangup attended transfer target after it has been swapped out

After completing an attended transfer the transfer target channel (the one that
gets swapped out) was not being hung up after leaving the bridge. This resulted
in a channel possibly being left around. Added an explicit softhangup for the
channel in question after the transfer is successfully completed in order to
make sure the channel is hung up.

ASTERISK-24782 #close
Reported by: John Bigelow
Review: https://reviewboard.asterisk.org/r/4575/
........

Merged revisions 434240 from http://svn.asterisk.org/svn/asterisk/branches/13

Modified:
    trunk/   (props changed)
    trunk/main/bridge.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/main/bridge.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/bridge.c?view=diff&rev=434241&r1=434240&r2=434241
==============================================================================
--- trunk/main/bridge.c (original)
+++ trunk/main/bridge.c Tue Apr  7 11:42:18 2015
@@ -4538,6 +4538,7 @@
 		ast_bridge_unlock(to_transferee_bridge);
 		ast_bridge_unlock(to_target_bridge);
 
+		ast_softhangup(to_transfer_target, AST_SOFTHANGUP_DEV);
 		goto end;
 	}
 




More information about the asterisk-commits mailing list