[svn-commits] russell: branch 1.2 r62547 -
/branches/1.2/res/res_features.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue May 1 14:55:19 MST 2007
Author: russell
Date: Tue May 1 16:55:19 2007
New Revision: 62547
URL: http://svn.digium.com/view/asterisk?view=rev&rev=62547
Log:
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.2/res/res_features.c
Modified: branches/1.2/res/res_features.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/res/res_features.c?view=diff&rev=62547&r1=62546&r2=62547
==============================================================================
--- branches/1.2/res/res_features.c (original)
+++ branches/1.2/res/res_features.c Tue May 1 16:55:19 2007
@@ -734,7 +734,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 (f) {
ast_frfree(f);
More information about the svn-commits
mailing list