Hans
05/14/2025, 11:19 PMVapi Support Bot
05/14/2025, 11:21 PMjson
{
"provider": "byo-sip-trunk",
"name": "My SIP Trunk",
"gateways": [{ "ip": "your.sip.provider.ip", "port": 5060 }],
"outboundAuthenticationPlan": {
"authUsername": "your_outbound_username",
"authPassword": "your_outbound_password"
}
}
Make sure your configuration matches your provider's requirements and test the connection again.
Sources:
- [Discord documentation on SIP rejection and configuration](https://discord.com/channels/1211482211119796234/1334238882660618250)
- [Vapi API documentation for SIP trunk integration](https://docs.vapi.ai/advanced/sip/telnyx)Hans
05/15/2025, 4:20 AMphone number
in "Phone numbers" -> "Created Phone number" -> "BYO SIP Trunk Number"
We inputted this.
https://cdn.discordapp.com/attachments/1372352679745028126/1372428391650820136/0.png?ex=6826bd0b&is=68256b8b&hm=3846c6bceb4e3267e4f6051dde85bf8e0a6f65db9226fefe805490a86eab8305&Hans
05/15/2025, 4:20 AMHans
05/15/2025, 4:22 AMNir S (CEO/Founder @Cloudonix)
05/15/2025, 8:55 AMsip.vapi.ai
- which is really odd, as it should have been hvjmg6s.se.vsrns.com
- this potentially means that VAPI sends the outbound invite with a username that isn't formatted correctly.
Also, the last error says clearly: "X-Reason: Invalid credentials"
, which means that the combination of realm
and the authorization
challenge don't correlate to their database scheme - which makes sesne, as sip.vapi.ai
isn't part of their SIP Domains.Hans
05/15/2025, 2:41 PMHans
05/15/2025, 3:47 PMNir S (CEO/Founder @Cloudonix)
05/15/2025, 3:54 PMHans
05/15/2025, 5:53 PMNir S (CEO/Founder @Cloudonix)
05/15/2025, 8:30 PMHans
05/15/2025, 9:17 PMHans
05/16/2025, 6:19 PMHans
05/16/2025, 6:30 PMNir S (CEO/Founder @Cloudonix)
05/16/2025, 6:37 PMHans
05/16/2025, 6:39 PMAditya
05/17/2025, 12:47 AM