From 065fce73107993d4aa3998978ea8abee529a8f52 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Wed, 23 Dec 2009 18:45:54 +0000 Subject: [PATCH] update CHANGES to reflect new 'R' app_queue option plus a minor optimization to the feature patch (issue #16384) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236306 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- CHANGES | 4 ++++ apps/app_queue.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 462da06f41..022ed72a49 100644 --- a/CHANGES +++ b/CHANGES @@ -72,6 +72,10 @@ MGCP Changes Applications ------------ + * Added 'R' option to app_queue. This option stops moh and indicates ringing + to the caller when an Agent's phone is ringing. This can be used to indicate + to the caller that their call is about to be picked up, which is nice when + one has been on hold for an extened period of time. * Added .m3u support for Mp3Player application. * Added progress option to the app_dial D() option. When progress DTMF is present, those values are sent immediately upon receiving a PROGRESS message diff --git a/apps/app_queue.c b/apps/app_queue.c index 421ddbae48..a367136307 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5546,8 +5546,6 @@ static int queue_exec(struct ast_channel *chan, const char *data) if (ringing != 1 && args.options && (strchr(args.options, 'R'))) { qe.ring_when_ringing = 1; - } else { - qe.ring_when_ringing = 0; } if (args.options && (strchr(args.options, 'c')))