aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-11-04 21:28:12 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-11-04 21:28:12 +0000
commit44d53b8aa71e52681dc897c30d8725dbaa32ca3a (patch)
treed23081d0b038bfb519bbde4e1be9a465af1c35cc
parent35439ebacb30f118ecb117049f652b3c99183731 (diff)
Fixes ringback tone on feature semi-attended transfer
ABE-2168 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@293922 f38db490-d61c-443f-a65b-d21fe96a405b
-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 98760ccd2..893d0fac1 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1009,6 +1009,9 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st
case AST_CONTROL_RINGING:
{
int connected = 0;
+
+ ast_indicate(transferee, AST_CONTROL_UNHOLD);
+ ast_indicate(transferee, AST_CONTROL_RINGING);
while (!connected && (ast_waitfor(newchan, -1) >= 0)) {
if ((f = ast_read(newchan)) == NULL) {
break;