0xNobu
03/23/2025, 6:47 PMVapi Support Bot
03/23/2025, 6:49 PMsip.vapi.ai
)
2. Input Vapi's SIP hostname and credentials into your PBX configuration
3. Ensure your PBX is configured to handle SIP REFER messages (important for call transfers)
According to [this guide](https://vapi.notion.site/SIP-104008c8393f80feaeb7de8ca19565ed), the process remains consistent across different telephony providers, even though some examples use Twilio.
## Alternative Methods
### Using the API with "byo-phone-number"
You can use the /phone-number
API endpoint with the POST
method and set the provider to `byo-phone-number`:
curl -X POST https://api.vapi.ai/phone-number \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"provider": "byo-phone-number",
"credentialId": "credentialId"
}'
### BYO-SIP Configuration
If your provider supports it, you can use BYO-SIP configuration. This works with providers like voip.ms and others that support SIP trunking.
### Forwarding Rules
You can also configure forwarding rules to integrate numbers from other providers.
## Important Considerations
- Vapi primarily supports US numbers directly
- Ensure your telephony provider supports SIP trunking
- Make sure phone numbers include the correct country code and are properly formatted
Is there anything specific about your local provider or setup that you'd like me to help with?
Sources:
- [SIP Guide](https://vapi.notion.site/SIP-104008c8393f80feaeb7de8ca19565ed)
- [Vapi API Reference](https://docs.vapi.ai/api-reference/phone-numbers/create)Vapi Support Bot
03/23/2025, 6:49 PM0xNobu
03/23/2025, 10:17 PMKyle
03/24/2025, 2:11 PM