- What: Test a transfer from your AI agent to a human agent, and fix one that fails or has no audio.
- Start with: a transfer to a phone number. If it connects, the fault is on the SIP path.
Test Your Transfer
1
Transfer to a phone number first
Point a test transfer at a phone number that reaches the same team. If this connects, your XML, your application, and your Plivo account are all working — which narrows any later failure to the SIP path.
2
Transfer to the SIP endpoint
Run the same transfer against your SIP endpoint. A failure here, after the phone number transfer succeeded, points at the firewall or the SIP credentials rather than at your agent logic.
3
Check audio in both directions
Speak from each end. Audio in one direction only means the RTP media ranges are whitelisted in one direction only.
4
Confirm your application reads DialStatus
Your Dial action URL should receive
DialStatus and DialHangupCause, so your application can fall back or inform the caller when a handoff fails.Hangup Causes and Dial Status
When a transfer fails, the Dial action URL and hangup callback include specific values:
Your agent application receives
DialStatus and DialHangupCause on the Dial action URL, so it can detect a failed handoff and respond (e.g., retry with a different endpoint, fall back to a phone number, or inform the caller). Every hangup code is listed in Hangup Causes.
Troubleshooting
Related
- Transfer to Human Agent — When to transfer, and how to choose an approach
- Option 1: DID Forward — Transfer to a phone number
- Option 2: SIP Auth Forward — Transfer to a SIP endpoint with credentials
- Option 3: Multiparty Call — Cold or warm transfer in a Multiparty Call
- What Your Contact Center Must Do — Firewall and SIP settings for your contact center
- Hangup Causes — Every hangup code and its meaning