[Asterisk-Users] Tearing my hair out with Queues

Douglas Garstang dgarstang at oneeighty.com
Thu Mar 23 21:37:35 MST 2006


A queue timeout of 300 isn't really what I'm trying to do.
 
I want to ring each agent once, for a specified period of time, say 15s, and then exit the queue. I've tried setting timeout=15 (which the docs are contracting on the meaning off), and set my queue timeout to agents in queue x 15.... no dice... doesn't work the way I want.
 
Still don't understand why Queue() enters, and then exits with CHANUNAVAIL. What's that all about?
 
Doug

	-----Original Message----- 
	From: CC Jay [mailto:jjcoolio at gmail.com] 
	Sent: Thu 3/23/2006 9:29 PM 
	To: Asterisk Users Mailing List - Non-Commercial Discussion 
	Cc: 
	Subject: Re: [Asterisk-Users] Tearing my hair out with Queues
	
	
	You may wanna try...
	
	extensions.conf:
	exten => q_main,1,Queue(oneeighty_main||||300)
	
	...
	
	[oneeighty_main]
	musiconhold = default
	timeout = 15
	...
	

	Cheers. 
	
	
	On 3/24/06, Douglas Garstang <dgarstang at oneeighty.com> wrote: 

		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
		


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6026 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060323/b6a87763/attachment.bin


More information about the asterisk-users mailing list