aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-23 21:51:50 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-23 21:51:50 +0000
commitcce5ea07b4b41e361302de33e46f9c0aaaa075d3 (patch)
tree45c4a6e17645ca63de4f5f803b00a036af82ff83 /res
parentcaa3b155aebc3544fb460449079981041b198c1a (diff)
Issue #6764 - Return BUSY signal when other party is busy at Attended Transfer (Reported by mnachev)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@14523 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_features.c b/res/res_features.c
index bf248b5f4..131d695ee 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1144,6 +1144,9 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
ast_indicate(caller, AST_CONTROL_RINGING);
} else if ((f->subclass == AST_CONTROL_BUSY) || (f->subclass == AST_CONTROL_CONGESTION)) {
state = f->subclass;
+ if (option_verbose > 2)
+ ast_verbose( VERBOSE_PREFIX_3 "%s is busy\n", chan->name);
+ ast_indicate(caller, AST_CONTROL_BUSY);
ast_frfree(f);
f = NULL;
break;