Skip to main content
Legacy SIP trunks (deprecated). This page covers legacy SIP trunks: the sip-trunk telephony provider and the /sip-trunks API. Existing legacy trunks keep working. For new setups, use SIP trunks. To move an existing trunk, see Migrate to SIP trunks.
Use these requests with the Create SIP Trunk API after completing the provider-side prerequisites.

Full API examples

Complete Create SIP Trunk requests for the most common setups.

Example — Twilio Elastic SIP trunk (userpass)

Example — Plivo Elastic SIP trunk (ip-based)

Example — Twilio Elastic SIP trunk, TLS + SDES (encrypted)


Create trunk field reference

Next steps

Set up and register your trunk