wispy-yellowW

Unable to authenticate Telnyx outbound credentials.

Hi Vapi team, i'm unable to authenticate and connect Vapi with my telnyx profile for outbound call.

According to this documentation, https://docs.vapi.ai/advanced/sip/telnyx , step shown is to input a SIP URI in this format sip:<your-unique-id>@sip.vapi.ai, however that's not possible as Telnyx translated number only accepts alphanumeric characters.
May i check what is the acceptable SIP URI format to key in, or where else can i insert this SIP URI?



Tried authenticating few times and keep getting this error ":"Couldn't validate SIP trunk credential. SIP gateway creation failed.","error":"Bad Request","statusCode":400

-Below is cmd used:

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": "Telnyx Trunk",
"gateways": [
{
"ip": "sip.telnyx.com"
}
],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD",
"sipRegisterPlan": {
"realm": "sip.telnyx.com"
}
}
}'
How to integrate SIP Telnyx to Vapi
Was this page helpful?