12. Call Failure Scenarios
12.1 No Agent Available
FreeSWITCH calls request_agent() → Voice Connector → CCM → Routing Engine
│
▼
No agents available
│
▼
CCM sends NO_AGENT_AVAILABLE to Voice Connector
│
▼
Voice Connector plays "no_agent_available.wav" to customer
│
▼
FreeSWITCH schedules hangup after 6 seconds
12.2 Transfer Failure
Voice Connector sends uuid_transfer command to FreeSWITCH
│
▼
ESL response contains "-ERR"
│
▼
Voice Connector logs "TRANSFER FAILED"
│
▼
Voice Connector sends END_CHAT to CCM
│
▼
Call is terminated
12.3 Dialer Connection Failure (Outbound)
Voice Connector attempts to send agent details to Dialer
│
▼
Dialer returns 503 (Service Unavailable)
│
▼
Voice Connector sends END_CHAT to CCM
│
▼
Throws DialerConnectionException