aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-01 21:55:19 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-01 21:55:19 +0000
commitdcefe34be7c1a0e1b33e09f05046b322a1a27eb9 (patch)
treef58d6ee21034ab244d280d35702cf0c3cab3ea93 /res
parent11735c98d13f5da00658d89eb8be995a4dcaea5f (diff)
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) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@62547 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 41d2d30c2..7211e5daa 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -734,7 +734,7 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st
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);