[asterisk-users] Queue autopause

Miguel Molina mmolina at millenium.com.co
Wed Jul 8 17:21:29 CDT 2009


Christian Gansberger escribió:
> Hi all!
>
> I want to autopause my queue member when they are not answering within
> 20 seconds, and the autopause
> should affect all queues they are member of, not only the queue where
> the call was not answered.
>
> Is there a way to do that?
>
> The members gets dynamically added. I'm using asterisk 1.4.21.2.
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   
Why would you want to do that? The purpose of the autopause is to 
discard the "absent" agent that is not responding to the calls to not 
try it anymore until it gets unpaused by a supervisor or someone else, 
and therefore the pause is made to all queues the agent is member of. 
Why pause it on only one queue, letting it ring on other queues?

Aside from the purpose you have on this, I think you would need to 
modify the app_queue.c code to make the parameter configurable inside 
each queue definition and not on the general section of queues.conf. 
Then you would need to modify the logic to handle the autopause 
configured for each queue. This is a general idea as I didn't take a 
deep look of app_queue.c to see how it works exactly.

Any other solution without changing asterisk code would imply a external 
application that monitors the queues and makes the custom autopause you 
need.

Just my two cents...

-- 
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center




More information about the asterisk-users mailing list