[svn-commits] file: trunk r231436 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 30 10:29:30 CST 2009


Author: file
Date: Mon Nov 30 10:29:29 2009
New Revision: 231436

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=231436
Log:
Fix a bug where an immediate masquerade would cause a queued unhold frame to get lost. Now we just
indicate unhold directly after the masquerade is complete.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=231436&r1=231435&r2=231436
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Nov 30 10:29:29 2009
@@ -21531,6 +21531,8 @@
 
 		ast_channel_lock(transferer); /* the transferer pvt is expected to remain locked on return */
 
+		ast_indicate(target.chan1, AST_CONTROL_UNHOLD);
+
 		if (target.chan2) {
 			ast_channel_queue_connected_line_update(target.chan1, &connected_to_transferee);
 			ast_channel_queue_connected_line_update(target.chan2, &connected_to_target);




More information about the svn-commits mailing list