Add a Queue¶
A Queue holds callers in line and distributes them to agents according to a strategy. Use queues when you want hold music, position announcements, max wait times, or per-agent stats — features ring groups don't have.
Before You Start¶
- The agent extensions exist.
- You know whether agents will be static (always in the queue) or dynamic (log in/out via feature codes).
- A fallback destination exists for callers who time out.
Steps¶
- Go to Group Attributes → Queues.
- Click Add Queue.
- General Settings:
- Queue Number — pick from your queue range, e.g.
7000. - Queue Name — e.g.
Sales Queue. - Queue No Answer —
No(callers stay in queue if an agent doesn't answer). - Call Confirm —
Nofor static internal agents,Yesif agents include cell phones. - CID Name Prefix — e.g.
Sales:. - Wait Time Prefix — adds wait time to caller ID for the agent.
- Static Agents — one extension per line. Add
,1after for penalty (lower = picked first), e.g.1001,0. - Dynamic Members — extensions allowed to log in dynamically.
- Restrict Dynamic Agents —
Yesif only the listed dynamic members can log in. - Agent Restrictions —
Call as Dialedis most common. - Ring Strategy — common:
ringall,leastrecent,fewestcalls,random,rrmemory,linear. - Autofill —
Yes(default) — multiple agents can take calls simultaneously when there are multiple callers waiting. - Skip Busy Agents —
Yes (+ ringinuse=no)keeps a busy agent from being rung again. - Queue Weight — when an agent is in multiple queues, higher-weight queues get the agent first.
- Music on Hold Class — pick a MoH class.
- Join Announcement — optional recording the caller hears once before MoH ("Thank you for calling, your call may be recorded…").
- Call Recording —
Forceto always record,Yesto follow extension policy,Noto never record. - Mark calls answered elsewhere —
Yeskeeps missed-call lists clean.
- Queue Number — pick from your queue range, e.g.
- Timing & Agent Options:
- Max Wait Time — total seconds before forcing the failover destination.
0= unlimited. - Max Wait Time Mode —
Loose(count from queue entry) orStrict. - Agent Timeout — seconds an individual agent rings before moving to next.
- Retry — seconds before re-trying the same agent.
- Wrap-Up Time — seconds an agent is unavailable after a call.
- Member Delay — pause before connecting agent (gives agents time to prepare).
- Service Level — for stats: target answer time in seconds.
- Max Wait Time — total seconds before forcing the failover destination.
- Capacity Options:
- Max Callers —
0= unlimited. Excess callers go to failover. - Join Empty / Leave Empty — controls behavior when no agents are logged in (
Yes= allow joining even with no agents).
- Max Callers —
- Caller Announcements:
- Frequency — how often to announce position/hold time, in seconds.
0to disable. - Announce Position / Announce Hold Time —
Yes/No/Once.
- Frequency — how often to announce position/hold time, in seconds.
- Set Fail Over Destination at the bottom (where they go when Max Wait expires or they press a key to bail out).
- Click Submit.
- Click Apply Config.
Verify¶
Dial the queue number. You should hear the join announcement (if set) then MoH. Have an agent log in (or use static agents) and confirm the call routes correctly. Watch the queue:
asterisk -rx "queue show 7000"
Common Issues¶
- Agents don't ring. Static members aren't registered, dynamic members haven't logged in, or
ringinuse=nois excluding them. Checkqueue show <num>. - Caller stuck forever. Max Wait Time is
0. Set a sane timeout and a failover. - Agent gets call after hangup. Lower Wrap-Up Time or check that the agent's phone properly signaled hangup.
- MoH silent. The MoH class has no files. Check System Attributes → Music on Hold.