]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix improper hangup when doing an attended transfer to queue.
authorJeff Peeler <jpeeler@digium.com>
Thu, 16 Dec 2010 20:46:52 +0000 (20:46 +0000)
committerJeff Peeler <jpeeler@digium.com>
Thu, 16 Dec 2010 20:46:52 +0000 (20:46 +0000)
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@298596 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index c7231672ed1772a7fc5e52cc77ebf135a21e34ec..5c691297dc816d7585543af0a30c124c008bc82d 100644 (file)
@@ -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 */