From: Jeff Peeler Date: Thu, 16 Dec 2010 20:46:52 +0000 (+0000) Subject: Fix improper hangup when doing an attended transfer to queue. X-Git-Tag: 1.4.40-rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71115232da60210207d2570faee11489d1c740de;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@298596 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index c7231672ed..5c691297dc 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 */