Test and measure
When do voice-agent simulations need to be backed up by real phone calls?
Use simulations to repeat conversation and tool logic, then real phone tests to verify anything listeners or the carrier actually experience. Neither test type replaces the other.
Automate common regressions
Use fixtures and mocks to check prompt compliance, tool arguments, retries and state transitions. Run them on each configuration change.
Use real calls for media and routing
Verify intelligibility, channel permissions, crosstalk, DTMF, voicemail and human pickup using your intended carrier or SIP route.
Score in one results matrix
Give each test an expected outcome, type and configuration version. A passing text simulation should never satisfy an audio-only launch criterion.
Sources and scope
Sources checked: .
- LiveKit agent unit tests
Unit test and mocked-tool scope.
- LiveKit agent simulations
Conversation simulation workflow and evaluation.
- Voice Agents Guide pilot checklist
Actual pilot caller and real-route considerations.