Agents (Call Center) Module Documentation
Table of Contents
- Module Overview (Technical)
- Module Overview (Commercial/Business)
- Module Overview (End User/Administrator)
- Configuration Fields Reference
- Agent States & Transitions
- Queue Membership
- Common Scenarios & Examples
- Limitations & Important Notes
- Troubleshooting Tips
- Glossary
---
1. Module Overview (Technical)
What Are Agents?
Agents are call center operators who handle calls from queues. Each agent is linked to an extension and can log in/out of queues, pause for breaks, and have configurable timeouts and wrap-up times.
Architecture
Key Tables
| Table | Purpose | |
|---|---|---|
public.call_center_agents | Agent definitions | |
public.call_center_queues | Queue definitions | |
public.call_center_tiers | Agent-Queue assignments | |
public.call_center_agent_profiles | Shared agent settings | |
ss_cc.agents | mod_callcenter runtime state |
Key Files
| File | Description | |
|---|---|---|
admin/apps/web/src/modules/agents/ | Frontend module | |
admin/apps/web/src/i18n/en/agents.json | Translations | |
telephony/freeswitch/lua/main/xml_handlers/callcenter/agent_control.lua | Agent login/logout/pause handler | |
telephony/freeswitch/lua/main/xml_handlers/callcenter/agent_hotdesk_combo.lua | Hotdesk + Agent combo login |
2. Module Overview (Commercial/Business)
Business Value
Agents provide professional call center capabilities:
| Without Agents | With Agents | |
|---|---|---|
| Manual call handling | Queue-based distribution | |
| No status tracking | Real-time availability | |
| No break management | Pause/unpause controls | |
| No performance data | Agent metrics |
Use Cases
- Inbound Call Centers
- Technical help desks
- Order taking
- Sales Teams
- Outbound campaigns
- Appointment setting
- Multi-Queue Routing
- Skills-based routing
- Overflow handling
Feature Highlights
| Feature | Benefit | |
|---|---|---|
| 4 Agent Statuses | Available, Available (On Demand), On Break, Logged Out | |
| 3 Agent Types | Inbound, Outbound, Callback | |
| Auto/Manual State | Control how status changes | |
| Max No Answer | Auto-pause after missed calls | |
| Wrap-Up Time | Post-call processing time | |
| Ring Timeout | Per-agent ring duration | |
| Recording | Per-agent call recording | |
| BLF Support | Lamp status on phones |
3. Module Overview (End User/Administrator)
What Can You Do?
- Create agents linked to extensions
- Configure behavior settings
- Set initial status and state mode
- Assign agents to queues via Tiers
- Enable/disable agents
Administrator Workflow
Agent Workflow (Using Feature Codes)
Quick Tips
TIP
State Mode Auto: System changes status based on phone state.TIP
Max No Answer: Set to 3 to auto-pause after 3 missed calls.CAUTION
Wrap-Up Time: Too short = missed calls; too long = idle agents.---
4. Configuration Fields Reference
General Settings
| Field | Description | Example | |
|---|---|---|---|
| Agent Name | Display name | John Smith | |
| Extension | Associated extension | 101 | |
| Enabled | Agent can be used | On/Off | |
| Initial Status | Status when logging in | Available | |
| State Mode | Auto or Manual | Auto |
Behavior Settings
| Field | Description | Default | |
|---|---|---|---|
| Max No Answer | Missed calls before pause | 3 | |
| Ring Timeout | Seconds to ring agent | 20 | |
| Wrap-Up Time | Post-call delay | 10 | |
| Busy Delay Time | Delay after busy | 90 | |
| Reject Delay Time | Delay after reject | 90 | |
| No Answer Delay Time | Delay after no answer | 30 |
Advanced Settings
| Field | Description | Options | |
|---|---|---|---|
| Agent Type | Call handling type | Inbound, Outbound, Callback | |
| Max Concurrent Calls | Multi-call limit | 1 | |
| Record Calls | Enable recording | On/Off |
5. Agent States & Transitions
Agent Statuses
| Status | Description | Available for Calls | |
|---|---|---|---|
| Available | Ready to receive calls | ✅ Yes | |
| Available (On Demand) | Ready but rings only if no others | ⚡ On Demand | |
| On Break | Paused, not receiving | ❌ No | |
| Logged Out | Not in queues | ❌ No |
State Diagram
State Mode
| Mode | Behavior | |
|---|---|---|
| Auto | System changes state based on phone activity | |
| Manual | Agent must change state via feature codes |
6. Queue Membership
Tier System
Agents are assigned to queues via Tiers with:
- Level: Priority tier (1 = highest)
- Position: Order within tier
Feature Codes for Queue Control
| Code | Action | |
|---|---|---|
| 91 | Global login (all assigned queues) | |
| 92 | Global logout (all queues) | |
| 93 | Global pause/unpause toggle | |
| 91 + queue# | Login to specific queue | |
| 93 + queue# | Pause in specific queue |
7. Common Scenarios & Examples
Scenario 1: Basic Support Agent
Configuration:- Extension: 201
- Initial Status: Logged Out
- Max No Answer: 3
- Ring Timeout: 20 sec
- Wrap-Up Time: 10 sec
- Agent dials 91 at shift start
- Receives calls from Support queue
- Dials 93 for lunch break
- Dials 93 to resume
- Dials 92 at shift end
Scenario 2: Multi-Queue Agent
Queues:| Queue | Level | Position | |
|---|---|---|---|
| Sales | 1 | 1 | |
| Support | 2 | 3 | |
| Billing | 1 | 2 |
Scenario 3: Hotdesk + Agent Combo
Flow:- Agent logs into hotdesk device
- Automatically logs into call center queues
- Device assignment + queue login in one step
---
8. Limitations & Important Notes
Technical Limitations
WARNING
Single Extension: Each agent is linked to one extension.WARNING
mod_callcenter Sync: Changes may take seconds to propagate.Best Practices
- Set Max No Answer: Prevent indefinite missed calls
- Appropriate Wrap-Up: Allow post-call work time
- Use Tiers: Organize skill-based routing
- Monitor BLF: Use lamp indicators
- Test State Changes: Verify feature codes work
---
9. Troubleshooting Tips
Common Issues
| Symptom | Possible Cause | Solution | |
|---|---|---|---|
| No calls received | Agent not Available | Check status via feature code | |
| Immediate timeout | Ring timeout too short | Increase ring timeout | |
| Stuck in queue | No available agents | Check agent availability | |
| BLF not updating | Presence misconfigured | Verify BLF setup |
Diagnostic SQL
List agents: Check agent queues (tiers):FreeSWITCH API Commands
---
10. Glossary
| Term | Definition | |
|---|---|---|
| Agent | Call center operator handling queue calls | |
| Tier | Agent-Queue assignment with level/position | |
| Level | Priority tier (lower = higher priority) | |
| Position | Order within a tier | |
| Wrap-Up Time | Post-call processing delay | |
| State Mode | Auto or Manual status control | |
| BLF | Busy Lamp Field (phone status lights) |
Lua Script Status ✅
agent_control.lua
Already Correct — Usespublic. schema throughout.
agent_hotdesk_combo.lua - Fixed
| Issue | Before | After | |
|---|---|---|---|
| Schema | core.call_center_agents | public.call_center_agents | |
| Domain lookup | core.tenants | public.domains | |
| Hotdesk tables | core.hot_desk, core.sip_devices | public.hot_desk, public.sip_devices | |
| Variable naming | tenant_id | domain_id | |
| Column names | update_at | updated_at |
Documentation last updated: January 2026*