trunks
Connect a SIP trunk
Connect your carrier’s SIP trunk using a versioned credential secret. Enable inbound routing if the trunk will receive calls.
Use an admin key and configure call capacity with Cumulus first. tenant_not_configured means that setup is missing.
- Store the SIP password with secrets_put, using kind: "sip_auth".
- Pass auth_secret: {id, version: current_version} to connect the trunk.
- For Twilio, set termination_uri to the Termination host (<name>.pstn.twilio.com) and enable Secure Trunking. Calls use TLS and SRTP.
- For incoming calls, set inbound: true and configure the returned inbound_sip_uri as Twilio’s Origination URI with secure trunking enabled.
- Import the numbers and assign a published phone agent.
post/api/v1/telephony/trunks
Request
- Base URL: https://api.cumuluslabs.io
- URL: https://api.cumuluslabs.io/api/v1/telephony/trunks
- Auth: HTTP bearer
Headers
Idempotency-Keystring required
Request body
Response
Connect a BYOC SIP trunk
Changes
No recorded changes to this operation across all 1 revision of this API.