diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-12-16 20:46:52 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-12-16 20:46:52 +0000 |
commit | daf27edbddd02ab422249874ee48a0f152c02fb0 (patch) | |
tree | 5577b5dd7c0ceed8a6d2738fcf957b0fcaead521 /apps | |
parent | 25733e05cccb47c4a28e9a6b6dccfc9d7f1e2790 (diff) |
Fix improper hangup when doing an attended transfer to queue.
Had to indicate ringing in wait_for_answer so the attended transfer code would
not try and hang up the local channel it created, which would kill the call.
ABE-2624
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@298596 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index c7231672e..5c691297d 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2413,6 +2413,7 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte case AST_CONTROL_RINGING: if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "%s is ringing\n", o->chan->name); + ast_indicate(in, AST_CONTROL_RINGING); break; case AST_CONTROL_OFFHOOK: /* Ignore going off hook */ |