ratty-blush
ratty-blush2h ago

FAIL SIP TRUNKING CREDENTIAL

This issue have been happening a while. What is the main problem related to it?
No description
2 Replies
Vapi Support Bot
Main Problem:
Your SIP trunk credential creation is failing because IP-based authentication (no username/password) is not recommended and often causes routing issues unless your provider gives you a unique SIP domain.
Actionable Fix:
Try configuring your SIP trunk with a username and password for authentication, as shown below:
{
"provider": "byo-sip-trunk",
"name": "Unionteste",
"gateways": [{ "ip": "ccentercarrera.uniontelecom.com.br", "inboundEnabled": true }],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD"
}
}
{
"provider": "byo-sip-trunk",
"name": "Unionteste",
"gateways": [{ "ip": "ccentercarrera.uniontelecom.com.br", "inboundEnabled": true }],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD"
}
}
This should resolve the credential creation error if your provider supports credential-based authentication (according to the documentation I have found: https://docs.vapi.ai/advanced/sip/sip-trunk). Source: - SIP Trunking Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
ratty-blush
ratty-blushOP2h ago
No description

Did you find this page helpful?