[Asterisk-Users] Tearing my hair out with Queues
Douglas Garstang
dgarstang at oneeighty.com
Thu Mar 23 18:00:10 MST 2006
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.
More information about the asterisk-users
mailing list