DualModeTestCallModal.tsx) and an In-Browser Audio Preview Studio (InBrowserAudioPlayer.tsx) to stress-test personas without burning campaign credits or contacting live prospects.
Dual-Mode Test Call Architecture
The test call modal supports two distinct verification modes depending on how you intend to route production calls:The Two Test Calling Modes
Mode 1: Direct AI Platform Dialing
In direct mode, the call is initiated through the AI platform’s purchased virtual telephone number:- Available Platforms: Supported on Vapi, Retell AI, and ElevenLabs.
- Phone Number Resolution: Automatically fetches active phone numbers registered inside your AI platform workspace (
/api/marketing/voice/integrations/agents/{id}/phone-numbers). - Ideal Use Case: Testing new system prompt scripts, conversational cadence, and interruption handling before connecting corporate telecom trunks.
Mode 2: Carrier Bridge PSTN Dialing
In carrier bridge mode, the call routes through your organization’s connected telecom trunk:- Supported Telecom Carriers: Twilio, Telnyx, Vobiz, and Exotel.
- Caller ID Customization: Displays your verified corporate real estate sales line on your handset.
- Telecom Audio Verification: Evaluates real-world cellular audio compression, background network latency, and call setup time across physical mobile networks.
- Ideal Use Case: Final pre-flight verification to confirm that the full SIP trunk and media stream pipeline functions seamlessly.
In-Browser Audio Preview Studio
For rapid prompt iteration without placing a phone call, the In-Browser Audio Player (InBrowserAudioPlayer.tsx) synthesizes and plays audio directly inside the web browser:
Multi-TTS Provider Synthesis
Synthesizes sample sentences in real time across six leading TTS engines: Cartesia Sonic, Deepgram Aura, ElevenLabs, MiniMax, OpenAI TTS, and Sarvam Indic TTS.
Interactive Waveform Display
Visualizes audio frequencies with play, pause, seek, and loop functionality.
Cadence & Speed Control
Test conversational delivery at 0.75x, 1.0x, 1.25x, 1.5x, and 2.0x playback speeds.
Instant Local Pronunciation Check
Ensure developer names, project addresses, and Indian numerical units (Crores, Lakhs) are articulated with natural inflection.
Testing Real Estate Objection Scenarios
When performing a live test call, marketing teams are encouraged to role-play standard buyer objections to evaluate persona resilience:Test Call State Machine
During execution,DualModeTestCallModal displays real-time connection telemetry:
idle: Standby state awaiting user phone input.ringing: Outbound SIP INVITE packet dispatched; awaiting handset answer.connected: Call answered; bidirectional media stream active and audio packets streaming.failed: Carrier timeout, busy line, or invalid phone number formatting error reported.