Telephony Connections
Use V2 telephony connections when a partner needs more than one carrier account, trunk, or DID set for the same provider. Each connection has its ownconnection_id, editable name, credentials, and phone numbers.
The provider-specific
PUT /api/v2/config/telephony/* endpoints remain backward compatible and update that provider’s default connection. For new BYOP builds, prefer POST /api/v2/telephony/connections so every connection is named and addressable.Supported providers
| Provider | provider value | Multiple named connections |
|---|---|---|
| Twilio | "twilio" | Yes |
| Exotel | "exotel" | Yes |
| Plivo | "plivo" | Yes |
| Vobiz | "vobiz" | Yes |
| Tata Smartflo | "tata_smartflo" | Yes |
| SIP | "sip" | Yes |
| VoiceLink | "voicelink" | Yes |
| MCube | "mcube" | Yes |
jwt_token and exe_number instead of account credentials — see MCube Setup. The exenumber is stored as the connection’s default phone number and may be in national format (no + required).
Create a connection
Create a connection by passing a provider, a human-readable name, and the provider credentials. The response returns the stableconnection_id to store in your own system.
List connections
UseGET /api/v2/telephony/connections to retrieve the connections available to the authenticated partner. Pass provider to narrow the list.
Start calls with a connection
When a partner has one active connection for a provider, existing calls that pass onlyprovider continue to work:
connection_id so routing is deterministic:
POST /api/v2/calls/start does not accept a per-call from_number override. The caller ID is resolved from the selected connection: Twilio uses the connection default number, Exotel uses the saved caller ID, and Plivo, Vobiz, Tata Smartflo, SIP, and VoiceLink prefer an agent-bound active number before the connection default. The resolved value is returned as from_number in the response.
If connection_id is omitted while multiple active connections exist for that provider, the API returns CONNECTION_AMBIGUOUS.
Rename a connection
Only the display name is editable through this endpoint. To rotate credentials, create a new connection or use the provider-specific config endpoint for the default connection.Disconnect a connection
Disconnecting a connection disables it for new outbound calls and inbound routing. Existing completed call records remain available.Phone-number ownership
A phone number can be active on multiple connections for outbound caller ID reuse. Vocobase only rejects a duplicate when more than one active row for the same DID is enabled for inbound routing. For Plivo and Vobiz inbound DIDs, passconnection_id when syncing numbers for a specific connection:
Dashboard visibility
Connections created through the V2 API appear in the Vocobase dashboard telephony settings with their connection name and ID. Use the sameconnection_id from the dashboard or API response when starting calls from partner systems.
Next steps
Bring Your Own Phone
Review the BYOP provider overview.
Inbound Calls
Assign inbound numbers to agents.