Flemsoft
10/23/2025, 9:54 PMVapi Support Bot
10/23/2025, 9:55 PM44.229.228.186/32
44.238.177.138/32
After allowlisting, create a SIP trunk credential in Vapi using your provider details. Example API call:
bash
curl -X POST "https://api.vapi.ai/credential" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
-d '{
"provider": "byo-sip-trunk",
"name": "Asterisk Trunk",
"gateways": [{ "ip": "YOUR_ASTERISK_SERVER_IP", "inboundEnabled": true }]
}'
This should enable Vapi to connect to your Asterisk extension.
For full steps, see the [SIP trunking guide](https://docs.vapi.ai/advanced/sip/sip-trunk).
Source:
- [SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)Nir Simionovich (CEO@Cloudonix)
10/24/2025, 8:23 PMChiranjeet Mishra
10/27/2025, 7:25 PM44.229.228.186/32 and 44.238.177.138/32.
- Set up an Outbound Trunk linked to this IP Group and take note of the Termination SIP Domain.
- Purchase a phone number and configure your Inbound Trunk with the URI sip.vapi.ai;transport=udp.
2. Vapi Configuration:
- Obtain your Vapi API key via the Vapi dashboard.
- Use API calls to create SIP trunk credentials, associate your Plivo number, and configure inbound/outbound settings with the Termination SIP Domain.
Remember to ensure only supported codecs (G.711 µ‑law and A‑law) are enabled on your trunk. Also, note that SIP REFER is not supported by Plivo for call transfers.
You might find further helpful details in the [SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk), which provides additional context for integrating any SIP provider with Vapi.
If you have specific steps you need more clarity on or encounter any errors, please let me know.