[Asterisk-Users] Agents and Queues

Paul Traue, Jr. ptraue at neospire.net
Fri Sep 17 09:09:49 MST 2004


I've just installed asterisk as a new phone system for our office but am 
having difficulty with the queues.  Specifically I need a way to 
redirect our sales queue to voicemail when no one is logged in to the 
queue.  I see I can use the joinonempty=no setting, however this setting 
doesn't work if you use the agent functionality (at least not with 
AgentCallbackLogin).  I could, of course use the 
AddQueueMember/RemoveQueueMember, however my experience with our version 
(as well as several previous versions) is once an extension is ringing, 
it will continue ringing that same extension forever (tried for 5-10 
minutes).

Can anyone think of a way to accomplish what I want without using the 
Queue timeout parameter (when someone's logged in and taking phone 
calls, calls need to stay in the queue)?

My config details are below:

All phones are Cisco 7960g's running SIP (v. 6.3)

I'm running version:  Asterisk CVS-HEAD-09/11/04-15:55:23

queues.conf:

[general]

[sales]
music=default
strategy=leastrecent
timeout=15
retry=5
maxlen=0
announce-frequency=60
announce-holdtime=yes
queue-youarenext = queue-youarenext
queue-thereare = queue-thereare
queue-callswaiting = queue-callswaiting
queue-holdtime = queue-holdtime
queue-minutes = queue-minutes
queue-thankyou = queue-thankyou
monitor-format = wav49
monitor-join = yes
; Members of this queue
member => Agent/8108
member => Agent/8153

agents.conf:

[agents]
ackcall=no
autologoff=15

; Sales
agent => 8108,8108,agent 1
agent => 8153,8153,agent 2

extensions.conf:

exten => 1,1,SetCIDName(Sales Queue)
exten => 1,2,Queue(sales-neospire|t|||)

Anyone have any ideas?

Paul





More information about the asterisk-users mailing list