For advanced telephony setups, you can bring your own SIP trunk from your carrier of choice.
- Create a SIP trunk credential using the credential endpoint with
"provider": "byo-sip-trunk", specifying your gateways for inbound and outbound routing. - Register your phone number using the phone-number endpoint with
"provider": "byo-phone-number" and your credentialId.
curl -X POST https://api.sulus.ai/phone-number \
-H "Authorization: Bearer YOUR_SULUS_PRIVATE_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "byo-phone-number",
"name": "My SIP Number",
"number": "+14155550123",
"numberE164CheckEnabled": true,
"credentialId": "YOUR_CREDENTIAL_ID",
"assistantId": "YOUR_ASSISTANT_ID"
}'
You'll need to whitelist the following in your SIP trunk provider's settings:
| Region | SIP Host | IP Addresses |
|---|
| US | sip.sulus.ai | 44.229.228.186, 44.238.177.138 |
| EU | sip.eu.sulus.ai | 63.182.83.170 |
Numbers from other SIP-capable providers are connected the same way — as a BYO SIP trunk credential with your provider's gateway details, followed by registering the number against that credential.