correct-apricot•3mo ago
BYOS
Hi! I would like to enable Bring Your Own SIP (BYOS) feature so I can connect my local Asterisk PBX and route calls to a Vapi agent via SIP.
2 Replies
To enable BYOS and connect your Asterisk PBX to Vapi, create a SIP trunk credential in Vapi using your Asterisk server details. Here’s a sample API call:
Replace the placeholders with your actual details. After this, associate a phone number and configure your PBX to route calls to the Vapi SIP URI.
Tip: Make sure your Asterisk server allows SIP traffic from Vapi’s IPs and matches authentication settings. Source: - Vapi SIP Trunking Documentation
Tip: Make sure your Asterisk server allows SIP traffic from Vapi’s IPs and matches authentication settings. Source: - Vapi SIP Trunking Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Hey,
You can check out this guide: https://docs.vapi.ai/advanced/sip/sip-trunk for details on integration.
Note: This is a standard guide used by many telephony providers, so it should be helpful.