Overview
Vonage (formerly Nexmo) is a cloud communications platform with global voice capabilities. Voicerix uses Vonage’s application-level voice API with high-quality 16kHz audio for clear, natural conversations.Prerequisites
- A Vonage account
- A Vonage Application with Voice capability enabled
- Application ID and Private Key from your Vonage Dashboard
- API Key and API Secret from your Vonage Dashboard
- At least one Vonage phone number linked to the application
Configuration
Step 1: Create a Vonage Application
- Log in to your Vonage Dashboard
- Navigate to Applications → Create a new application
- Enable the Voice capability
- Generate a private key (save this securely — you’ll need it)
- Note your Application ID
Step 2: Get API Credentials
- Find your API Key and API Secret under API Settings in the dashboard
- Navigate to Numbers → Your Numbers and link your phone numbers to the application
Step 3: Add Configuration in Voicerix
- In Voicerix, go to Integrations and click Add configuration
- Select Vonage as your provider
- Enter your credentials:
- Application ID
- Private Key (include the full key with BEGIN/END lines)
- API Key
- API Secret
- Click Save Configuration
- Open the saved configuration and add at least one phone number without the
+prefix (e.g.14155551234)
Step 4: Test
- Go to Agents, open a workflow, and click Test Call
- Check the call logs to confirm a successful connection
Inbound Calling Setup
Vonage configures inbound webhooks at the application level — a single Answer URL on the Vonage application applies to every number linked to it. When you save an inbound workflow on a phone number in Voicerix, Voicerix automatically pushes the webhook URL to your Vonage Application’s Answer URL.Step 1: Link Phone Numbers to Your Vonage Application
- Open the Vonage Dashboard
- Under Numbers → Your Numbers, link each number you want for inbound to the same Vonage Application whose ID you configured in Voicerix
Step 2: Assign an Inbound Workflow in Voicerix
- In Voicerix, go to Integrations and open your Vonage configuration
- In the Phone numbers section, edit the number that should receive inbound calls
- Set its Inbound workflow to the agent that should answer
- Save
Step 3: Verify in Vonage Dashboard
- Open your Vonage Application in the Vonage Dashboard
- Under Capabilities → Voice, confirm:
- Answer URL is set to:
https://client.voicerix.ai/api/v1/telephony/inbound/run - HTTP Method is
POST
- Answer URL is set to:
Voicerix pushes this URL automatically when you save the inbound workflow. If the field is empty or shows a different URL, the auto-push failed — usually because the API Key/Secret or Application ID is incorrect. Paste the URL manually, set the method to
POST, and save the application.Step 4: Test Inbound
- Call your Vonage number from another phone
- Verify your voice agent answers and responds
- Check call logs in both Voicerix and the Vonage Dashboard
Audio Quality
Vonage uses 16kHz audio, which gives:- Clearer voice reproduction
- Better speech recognition accuracy
- More natural TTS output
- Fewer transcription errors
Troubleshooting
Voice application capabilities error
Voice application capabilities error
- Ensure Voice is enabled in your Vonage application
- Verify the Application ID matches your configuration
- Check that your phone numbers are linked to the application
JWT authentication failed
JWT authentication failed
- Verify your private key is complete (including BEGIN/END lines)
- Check the Application ID is correct
- Ensure the private key hasn’t been regenerated in Vonage Dashboard
Invalid phone number error
Invalid phone number error
Remove the
+ prefix for Vonage numbers (use 14155551234, not +14155551234)No audio on calls
No audio on calls
- Verify the WebSocket connection is established
- Check the audio pipeline is configured for 16kHz PCM
- Monitor WebSocket for binary audio frames
Calls disconnecting early
Calls disconnecting early
- Check WebSocket heartbeat/ping-pong frames
- Verify no timeout in load balancer or proxy
- Monitor for audio pipeline errors
Inbound calls not reaching voice agent
Inbound calls not reaching voice agent
- Verify the Vonage application’s Answer URL is set to
https://client.voicerix.ai/api/v1/telephony/inbound/run - Ensure the Answer URL is publicly accessible
- Confirm the called number is linked to the correct Vonage application
- Confirm the called number has an Inbound workflow assigned in Voicerix
Voice agent doesn't respond to inbound calls
Voice agent doesn't respond to inbound calls
- Confirm the phone number has an Inbound workflow assigned in Integrations
- Verify the API Key matches the one stored in your Voicerix configuration
- Verify WebSocket connection establishes successfully
- Review call logs for error messages
Best Practices
- Keep your private key secure — it is stored encrypted in Voicerix
- Test your configuration with a single call before running campaigns
- Monitor the Vonage Dashboard for usage and billing

