[Home]

Summary:ASTERISK-14580: Queue autopause
Reporter:Gabriel Ortiz Lour (elbriga)Labels:
Date Opened:2009-08-02 14:41:36Date Closed:2011-06-07 14:00:53
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:On the rna(Ring No Answer) method on the source, where it checks for autopause and then does:

Auto-Pausing Queue Member %s in queue %s since they failed to answer.

Couldn't we have an option called something like 'QUEUE_AUTOPAUSE_ALL', maybe seted trought a value like 'all' on the config file that will make the queue member to be paused on ALL his queues when it fail to answer one call?

****** ADDITIONAL INFORMATION ******

I had a patch on 1.4 to do that, something like this:

if (!set_member_paused(qe->parent->autopause == QUEUE_AUTOPAUSE_ALL ? "" : qe->parent->name, interface, 1)) {

Where I send Queue = "" to pause in all queues
Comments:By: Leif Madsen (lmadsen) 2009-08-17 13:22:47

Are you able to flesh this out as a real patch? Otherwise, we'll have to close this issue since feature requests without patches aren't handled here. You may wish to gather some support from the developer community on the asterisk-dev mailing list as well.

Thanks!

By: Gabriel Ortiz Lour (elbriga) 2009-08-18 20:41:32

I could do the patch alright, the suggestion for the 'all' value for the autopause config is ok? Could be handled like this:

string 'all' would do the AUTOPAUSE in all queues
other values would be evalueted by the ast_true() function

By: Leif Madsen (lmadsen) 2009-08-20 16:21:11

I think that seems reasonable to me.

By: Leif Madsen (lmadsen) 2009-09-22 08:23:49

Closed due to a lack of response from the reporter for over a month. If the reporter is still interested in providing the patch, they are more than welcome to reopen this issue. Thanks!