Skip to main content
Vonage sends a webhook when a call arrives. Rapida responds with an NCCO (Nexmo Call Control Object) that opens a WebSocket carrying Linear PCM 16kHz audio — higher quality than Twilio’s μ-law.

Vault Credentials

In the Rapida dashboard go to Credentials → Create Credential, select provider type Vonage:

Setup

1

Set PUBLIC_ASSISTANT_HOST

PUBLIC_ASSISTANT_HOST is the public HTTPS hostname Vonage will use to reach your server — for the answer URL and the WebSocket media stream.
Set it in docker/assistant-api/.assistant.env:
Also update connection.media in ui/src/configs/config.production.json:
2

Create a Vonage Voice Application

In Vonage DashboardApplications → Create a new application, enable Voice capability and set:Click Generate public and private key — download the private key and store the PEM content in the vault credential’s private_key field.
3

Link a Vonage number

In Numbers, assign a virtual number to the application you just created.
4

Attach vault credential to the assistant

In the assistant’s Phone Deployment, select the Vonage vault credential.
5

Verify


What Rapida Returns

When Vonage hits the answer URL, Rapida responds with an NCCO:

Audio Spec

16kHz Linear PCM improves STT accuracy over 8kHz μ-law (Twilio/Exotel), particularly for providers that natively support 16kHz input.

Twilio

Alternative global PSTN provider

Exotel

India / SEA PSTN

Telephony Overview

All providers and URL routing reference

Configuration

Full env var reference