Summary:ASTERISK-02470: [patch] Override position announcement when there is nobody waiting in the queue
Reporter:nicolasg (nicolasg)Labels:
Date Opened:2004-09-26 11:38:09Date Closed:2011-06-07 14:10:47
Versions:Frequency of
Environment:Attachments:( 0) app_queue.diff.2.txt
( 1) app_queue.diff.txt
Description:If a caller enters a queue and is the only one, and there are agents that can take the call, the position announcement is played: "you are first blah blah". Many people belive that this should not occur. This tiny patch takes care of that.


Disclaimer is on file
Comments:By: nicolasg (nicolasg) 2004-09-26 11:43:33

Oops, I just saw that this is probably a dupe from bug 2507. But this one seems simpler. And it plays the message if the caller is first but there is no agent available to take the call (for joinempty queues).

And as allways, I forgot to add [patch] to the summary. Sorry. Is there any way I can edit the summary myself and not bother a bugmarshal?

edited on: 09-26-04 11:50

By: nicolasg (nicolasg) 2004-09-26 13:43:18

Well, it is not a dupe from 2507. This patch overrides the position announcement altogether, not just the "thank you" after 1st position announcement.

Thanks drumkilla for fixing the summary line.

By: Chris A. Icide (cicide) 2004-10-12 22:35:16

Note that this patch will not only override the initial message when no one is in the queue and agents are available, but it will always override the message if the caller remains the only person in the queue, and there are agents available (if no agents answer for whatever reason, the caller will never hear a position announcement)  

Take a look at the patch in bug ASTERISK-2582615  I modified this to skip the position message if no one else is in the queue when the caller joins, but will play the announcement if the caller is still in the queue when the announcefrequency has passed.

By: twisted (twisted) 2004-10-27 16:59:17

So should this be closed in favor of ASTERISK-2572?

By: nicolasg (nicolasg) 2004-10-27 17:32:02

You can close it in favor of 2615, or accept the app_queue.diff.2.txt patch that introduces the changes made by cicide for the announcement override.

IMHO, this trivial patch should be separated from 2615. This is just a tweak, 2615 implements a new feature/option.

Do what you think its more appropiate... Regards,

By: twisted (twisted) 2004-11-14 21:23:24.000-0600

I think at this point, we can use groupcount and the current announceoverride setting in app_queue to achieve this.