Skip to content

How To: Asterisk Queue Configuration Example

by Jon on November 2nd, 2009

I install asterisk servers for call centers and they always need queues to distribute calls to their call center representatives. I do this so often I figured it would be worth sharing the standard queue settings I use for these systems.

This would be the sales queue which is stored in queues.conf

[sales]
musiconhold=default
strategy=rrmemory
servicelevel = 60
timeout = 25
retry = 3
ringinuse = no
maxlen = 0
wrapuptime=2
announce-holdtime = no
joinempty = yes
ringinuse = no
announce-holdtime = no

This is the login and logout procedure for phones I like to use in extensions.conf

;Dynamic Login/Logout Agents
exten => 901,1,Addqueuemember(sales|SIP/${CALLERID(num)})
exten => 901,n,Playback(agent-loginok)
exten => 901,n,Hangup
exten => 902,1,Removequeuemember(sales|SIP/${CALLERID(num)})
exten => 902,n,Playback(agent-loggedoff)
exten => 902,n,Hangup

And finally this is how to route the inbound calls into the queue and fail over to voicemail after 30 seconds waiting in queue. This is also found in extensions.conf

exten => 8005551234,1,Answer
exten => 8005551234,n,Queue(sales|twW|||30)
exten => 8005551234,n,Voicemail(900|u)
exten => 8005551234,n,Hangup

From → VOIP

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS

%d bloggers like this: