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')))