Unable to authenticate Telnyx outbound credentials...
# support
k
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:@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" } } }'
h
hello. Same problem with other method. I try zadarma method and i send request and ,y aswer same, i try do this by hands and have error.
i found the credentials works if you put the IP of the server instead of the name
This advise help me to create siptrunk
c
Let us know if you encounter any issues with the new SIP trunk and we will be more than happy to provide additional support.
c
@Kai - SG did you find out what
<your-unique-id>
should be here? And were you able to succesfully setup Telnyx with Vapi ?
c
Hey, You can check out this guide: for details on integration. Note: This is a standard guide used by many telephony providers, so it should be helpful.
2 Views