SIP Trunking
Connect your PBX, SBC, or SIP platform to Exotel's PSTN network. Create trunks, map numbers, and route inbound/outbound calls with REST APIs.
Outbound: Your SIP → Exotel trunk → PSTN
Inbound: PSTN → Exotel → Flow (Connect) → trunk → Your SIP
Choose your path
QuickstartRecommended
Create a trunk and place your first inbound and outbound call.
Dynamic Trunk APIAPI
Full Setup + Manage & view REST APIs for trunks.
Network & firewall
Why allowlists matter — then follow docs.exotel.com for IPs and ports.
Call directions
Outbound, inbound, and pstn vs flow routing modes.
Errors & troubleshooting
SIP and API error codes with fixes.
What you can build
| Use case | Start here |
|---|---|
| SIP ↔ PSTN (PBX / SBC) | Quickstart |
| API-managed trunks | Dynamic SIP Trunking API |
| Inbound to your SIP URI | Connect Applet inbound |
| SIP contact centre ↔ Voice AI (WSS) | StreamKit SIP setup → AgentStream StreamKit |
Transport how-tos
TCP, TLS, and FQDN integration guides live on the docs portal under SIP Trunk Configuration. This developer portal focuses on APIs, network rules, and first-call success.
Samples
- github.com/exotel
- Support: hello@exotel.com (include Account SID, trunk transport, Call SIDs, SIP traces)