Ctrl K
ring2all.com

Queue Profiles Module Documentation

Table of Contents

  1. Module Overview (Technical)
  2. Module Overview (Commercial/Business)
  3. Module Overview (End User/Administrator)
  4. Configuration Tabs
  5. Settings Reference
  6. Common Scenarios & Examples
  7. Limitations & Important Notes
  8. Troubleshooting Tips
  9. Glossary

---

1. Module Overview (Technical)

What Are Queue Profiles?

Queue Profiles are call center configuration templates that define how queues handle calls, route to agents, manage tiers, and control caller experience. They are assigned to queues in the Queues module.

Architecture

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│                Queue Profiles Architecture                     │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Admin Panel                                                    │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Queue Profiles                                    │   │
│  │                                                          │   │
│  │  Tabs:                                                   │   │
│  │  ├─ General (max wait, no answer, queue size)           │   │
│  │  ├─ Caller Experience (sounds, announcements)           │   │
│  │  ├─ Tier Rules (escalation, wait times)                 │   │
│  │  └─ Advanced (debug, agent cooldown)                    │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼ Assigned to queues                                     │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Queues Module                                     │   │
│  │                                                          │   │
│  │  Sales Queue → Profile: aggressive-routing              │   │
│  │  Support Queue → Profile: tiered-escalation             │   │
│  │  VIP Queue → Profile: immediate-connect                 │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼ Applied by queue handler                               │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Queue Lua Handler                                 │   │
│  │                                                          │   │
│  │  Load profile settings → Apply to call                   │   │
│  │  ├─ Tier rule wait times                                │   │
│  │  ├─ Agent routing logic                                 │   │
│  │  ├─ Announcements and sounds                            │   │
│  │  └─ Timeout and delay settings                          │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Key Tables

TablePurpose
public.queue_profilesProfile definitions and settings

Key Files

FileDescription
modules/queueProfiles/Frontend module
---

2. Module Overview (Commercial/Business)

Business Value

Queue Profiles provides customized call center behavior:

Without ProfilesWith Profiles
Default handlingCustom routing
One-size-fits-allDifferent strategies
Fixed escalationTiered escalation
No announcementsFull caller experience

Use Cases

  1. Tiered Escalation
- Wait times per tier

- Automatic escalation

  1. Caller Experience
- Position announcements

- Estimated wait time

  1. Agent Optimization
- Skip busy agents

- Cooldown periods

  1. High-Priority Queues
- Immediate routing

- VIP handling

Feature Highlights

FeatureBenefit
Tier RulesEscalation control
AnnouncementsCaller experience
Agent CooldownPrevent burnout
Max Queue SizeCapacity control
Progressive RingRing more agents
Whisper ToneAgent notification
---

3. Module Overview (End User/Administrator)

What Can You Do?

  • Create queue profile templates
  • Configure tier escalation rules
  • Set caller announcements
  • Configure agent timeouts
  • Set queue capacity limits
  • Enable position/wait time announcements
  • Configure progressive ringing

Queue Profiles Interface

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Queue Profiles                                     │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Manage queue profile configurations for call center queues    │
│                                                                 │
│  [+ Create Profile]                                             │
│                                                                 │
│  ┌───────────────────────────────────────────────────────────┐  │
│  │ Name               │ Description         │ Status       │  │
│  ├────────────────────┼─────────────────────┼──────────────┤  │
│  │ default            │ Standard queues     │ ✓ Enabled    │  │
│  │ tiered-escalation  │ Multi-tier routing  │ ✓ Enabled    │  │
│  │ aggressive         │ Fast routing        │ ✓ Enabled    │  │
│  │ vip-priority       │ VIP customers       │ ✓ Enabled    │  │
│  └───────────────────────────────────────────────────────────┘  │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Profile Edit View

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Edit Queue Profile                                 │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  [General] [Caller Experience] [Tier Rules] [Advanced]         │
│  ─────────────────────────────────────────────────────────────  │
│                                                                 │
│  General Settings                                               │
│                                                                 │
│  Queue Profile Name: [tiered-escalation         ]              │
│                                                                 │
│  Max Wait Agents: [5                ]                          │
│    Maximum number of agents waiting in queue                    │
│                                                                 │
│  Max No Answer: [3                ]                            │
│    Maximum unanswered calls before agent skip                   │
│                                                                 │
│  Queue Max Size: [50               ]                           │
│    Maximum callers in queue (0 = unlimited)                     │
│                                                                 │
│  Agent No-Answer Delay: [10              ]                     │
│    Delay before considering agent unavailable                   │
│                                                                 │
│  Member Delay: [2                ]                             │
│    Delay before ringing member                                  │
│                                                                 │
│  Member Timeout: [30               ]                           │
│    Timeout for member to answer                                 │
│                                                                 │
│  [Save] [Cancel]                                                │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Quick Tips

TIP
Tier Rules: Enable for complex escalation scenarios.
TIP
Agent Cooldown: Give agents time between calls.
NOTE
Profile Assignment: Profiles are assigned in Queues module.

---

4. Configuration Tabs

General Tab

FieldDescription
Queue Profile NameUnique identifier
Max Wait AgentsAgent limit in queue
Max No AnswerUnanswered calls before skip
Queue Max SizeCaller capacity limit
Agent No-Answer DelayTime before unavailable
Member DelayPre-ring delay
Member TimeoutAnswer timeout

Caller Experience Tab

FieldDescription
Announce Hold TimeTell caller wait time
Announce PositionTell caller queue position
Announce Estimated Hold TimeEstimated wait announcement
Welcome SoundPlayed on queue entry
Exit SoundPlayed on queue exit
Ringback ToneTone while waiting
Agent Whisper ToneAgent notification sound
Play Ringback Before MOHRingback then music
Announce Wrap-up MessagePost-call message
Announce Resume PlaybackResume after announcement

Tier Rules Tab

FieldDescription
Tier Rules ApplyEnable tier escalation
Tier Rule WaitSeconds per tier
Tier Rule Wait Multiply LevelMultiply wait by tier level
Tier Rule No Agent No WaitSkip empty tiers
Tier Rule Max WaitMaximum tier wait
Tier Skip Busy AgentsSkip busy agents
Tier Randomize AgentsRandom agent selection
Tier No WaitImmediate tier skip
Tier Wait Stop SoundSound between tiers
Reserve AgentsReserve selected agents

Advanced Tab

FieldDescription
Skip Agents With Active CallSkip busy agents
Agent Cooldown TimeRest time between calls
Agent Busy DelayDelay when busy
Agent Reject DelayDelay after rejection
Strict RetryStrict retry logic
Ring ProgressivelyAdd agents over time
Log Debug InfoEnable debug logging
Truncate Agents on LoadClear agents on reload
---

5. Settings Reference

Common Profile Types

ProfileSettings
DefaultStandard settings
AggressiveShort timeouts, fast escalation
TieredMulti-tier with wait times
VIPImmediate routing, short waits

Tier Rule Logic

Plaintext
Tier 1: Wait tier_rule_wait seconds
    ↓ (no answer)
Tier 2: Wait tier_rule_wait × 2 seconds (if multiply enabled)
    ↓ (no answer)
Tier 3: Wait tier_rule_wait × 3 seconds
    ↓ (max wait reached)
Exit to destination

Timing Recommendations

SettingTypical Value
Member Timeout20-30 seconds
Agent No-Answer Delay5-10 seconds
Tier Rule Wait30-60 seconds
Agent Cooldown5-15 seconds
---

6. Common Scenarios & Examples

Scenario 1: Basic Queue Profile

  1. Create new profile
  2. Set Max No Answer = 3
  3. Set Member Timeout = 30
  4. Enable Announce Position
  5. Save

Scenario 2: Tiered Escalation

  1. Create new profile
  2. Enable Tier Rules Apply
  3. Set Tier Rule Wait = 60 seconds
  4. Enable Tier Rule Wait Multiply Level
  5. Set Tier Rule No Agent No Wait = Yes
  6. Save

Scenario 3: VIP Priority

  1. Create new profile
  2. Set Member Delay = 0
  3. Set Member Timeout = 15
  4. Set Tier Rule Wait = 15
  5. Enable Announce Estimated Hold Time
  6. Save

Scenario 4: Agent-Friendly

  1. Create new profile
  2. Set Agent Cooldown Time = 10
  3. Set Max No Answer = 2
  4. Enable Skip Agents With Active Call
  5. Save

---

7. Limitations & Important Notes

Technical Notes

NOTE
Profile Assignment: Profiles are assigned in Queues module.
NOTE
Tier Rules: Require tiers to be configured in queue.
WARNING
High Thresholds: Very high member timeouts can frustrate callers.

Best Practices

  1. Balance Wait Times: Not too long, not too short
  2. Enable Announcements: Keep callers informed
  3. Use Cooldowns: Prevent agent burnout
  4. Test Tier Rules: Verify escalation works
  5. Monitor Metrics: Adjust based on data

Tier Rule Behavior

FlagEffect
Multiply LevelTier 2 waits 2x, Tier 3 waits 3x
No Agent No WaitSkip tiers with no agents
Skip Busy AgentsDon't offer to busy agents
Randomize AgentsRandom within tier
---

8. Troubleshooting Tips

Common Issues

SymptomPossible CauseSolution
Calls not escalatingTier rules disabledEnable Tier Rules Apply
Agent overloadedNo cooldownSet Agent Cooldown Time
Queue fullMax size reachedIncrease Queue Max Size
Long wait timesSlow escalationReduce Tier Rule Wait
No announcementsNot enabledEnable Announce Position

Check Profile Settings

Sql
SELECT 
  name,
  settings
FROM public.queue_profiles
WHERE name = 'profile-name';

Debug Tier Escalation

  1. Enable Log Debug Info
  2. Monitor FreeSWITCH logs
  3. Check tier transitions
  4. Verify agent availability

---

9. Glossary

TermDefinition
Queue ProfileQueue behavior template
TierAgent priority level
Tier Rule WaitTime per tier level
EscalationMoving to next tier
CooldownRest time between calls
Member TimeoutAgent ring time
Whisper ToneAgent notification
---

Lua Script Status ℹ️

Configuration Module

ComponentStatus
Queue Profilesℹ️ Configuration module - settings applied by queue Lua handler
Queue Profiles is a configuration module. Settings are stored and loaded by the queue Lua handler when processing queue calls.

---

Documentation last updated: January 2026
AI Assistant

👋 Hello! I'm your Ring2All documentation assistant. I can help you find information about configuring and using the Ring2All PBX platform.

How can I help you today?