[asterisk-commits] russell: branch 1.4 r62548 - in /branches/1.4: ./ res/res_features.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 1 14:57:10 MST 2007


Author: russell
Date: Tue May  1 16:57:10 2007
New Revision: 62548

URL: http://svn.digium.com/view/asterisk?view=rev&rev=62548
Log:
Merged revisions 62547 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62547 | russell | 2007-05-01 16:55:19 -0500 (Tue, 01 May 2007) | 4 lines

Remove an unnecessary check that makes it so if you hang up after doing an
attended transfer before the target extension answers the channel, the transfer
is not successful.  (issue #9338, patch by svanlund)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/res/res_features.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/res/res_features.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_features.c?view=diff&rev=62548&r1=62547&r2=62548
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Tue May  1 16:57:10 2007
@@ -814,7 +814,7 @@
 	ast_set_flag(&(bconfig.features_caller), AST_FEATURE_DISCONNECT);
 	ast_set_flag(&(bconfig.features_callee), AST_FEATURE_DISCONNECT);
 	res = ast_bridge_call(transferer, newchan, &bconfig);
-	if (newchan->_softhangup || newchan->_state != AST_STATE_UP || !transferer->_softhangup) {
+	if (newchan->_softhangup || !transferer->_softhangup) {
 		ast_hangup(newchan);
 		if (ast_stream_and_wait(transferer, xfersound, transferer->language, ""))
 			ast_log(LOG_WARNING, "Failed to play transfer sound!\n");



More information about the asterisk-commits mailing list