[Asterisk-Users] Tearing my hair out with Queues

lenz lenz-ml at oinko.net
Sat Mar 25 02:40:09 MST 2006


It is not so bad - it's the docs that aren't so clear - try this:  
http://www.oinko.net/astrecipes/index.php?q=astrecipes/understanding+queue+logic  
and beware of timeouts
l.


In data Fri, 24 Mar 2006 02:00:10 +0100, Douglas Garstang  
<dgarstang at oneeighty.com> ha scritto:

> Egads. Getting queues to work is like pulling teeth.
>
> extensions.conf:
> exten => q_main,1,Queue(oneeighty_main||||1)
> exten => 80014055,1,Dial(SIP/80014018,15,tr)
> exten => 80014057,1,Dial(SIP/80014018,15,tr)
> exten => 80014052,1,Dial(SIP/80014018,15,tr)
>
> queues.conf:
> [oneeighty_main]
> musiconhold = default
> joinempty = strict
> leavewhenempty = strict
> strategy = rrmemory
> retry = 0
> member => Agent/80014055
> member => Agent/80014057
> member => Agent/80014052
>
> With this configuration, the timeout of 1 in Queue() is completely  
> ignored. Why?
>
> If I remove the timeout of 1 from Queue() and put it in the queueu def,  
> like this:
>
> [oneeighty_main]
> musiconhold = default
> timeout = 1
> joinempty = strict
> leavewhenempty = strict
> strategy = rrmemory
> retry = 0
> member => Agent/80014055
> member => Agent/80014057
> member => Agent/80014052
>
> then the timeout DOES appear to be honored, except that Queue returns  
> CHANUNAVAIL, and does not proceed to the next step in the dialplan.  
> Again, Why?
>
> I'm just trying to find the right combination of configuration VOODOO  
> that lets me ring each queue member basically once for 15s.
>
> Doug.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
Assum est, versa et manduca.



More information about the asterisk-users mailing list