Vapi phone integration with Telnyx is not working
# support
t
There is an error saying that telnyx credentials in not correct so i reached out to telnyx they know the problem 48 hours later no response. The integration still is not working.
@User
v
Hi there! Sorry to hear you're having trouble with your Vapi-Telnyx integration. I understand that you're getting an error about incorrect Telnyx credentials and that you've already reached out to Telnyx but haven't received a response yet. While I can't speak to why Telnyx hasn't responded, I can definitely help you troubleshoot the integration issue. Here are some steps you can take to troubleshoot the "Telnyx credentials not correct" error: ### 1. Verify SIP Trunk Configuration Make sure your SIP trunk is configured correctly: - Gateway IP should be
sip.telnyx.com
- FQDN should be
sip.vapi.ai
- Port should be
5060
(default for SIP communications) ### 2. Check Authentication Settings - Vapi expects authentication credentials where the username must be your SIP username - The password can be anything except the keyword "test" - Authentication is handled using the Authorization header in SIP ### 3. Verify Inbound Authentication Setup on Telnyx
Copy code
1. Go to Voice / SIP Trunking / Create
2. Select FQDN
3. Select add FQDN
4. Select A
5. Add created SIP URI
6. FQDN: sip.vapi.ai
7. Port should be 5060 by default
### 4. Verify Outbound Authentication on Telnyx
Copy code
1. Go to Voice / Sip Trunking / Authentication and routing
2. Scroll down to outbound calls authentication
3. Add the two fixed IPs from VAPI, select Tech Prefix and create a unique 4-digits Tech Prefix
### 5. Check Network Configuration - Verify that your network allows traffic on the SIP protocol - Ensure any firewalls or NATs are configured to allow SIP messages to pass through - Send inbound requests to
sip.vapi.ai
, as requests to direct IP addresses are blocked ### 6. Review Logs - Check Telnyx logs for any clues about why the connection is failing - Review any SIP logs on your server to see if the INVITE is received
If you've gone through these steps and are still experiencing issues, you might want to try creating a new SIP Trunk Credential using the Vapi API with the correct gateway IP. Is there any specific part of the configuration you'd like me to explain in more detail? Sources: - [Troubleshooting Vapi phone integration with Telnyx](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334024569861963788) - [Troubleshooting Telnyx credentials for Vapi phone integration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333747605628391434) - [Common problems with Telnyx credentials in Vapi phone integration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334238882660618250) - [Troubleshooting steps for incorrect Telnyx credentials in Vapi phone integration](https://docs.vapi.ai/advanced/sip/telnyx)
r
Has your problem been resolved? I want to buy a Telnyx number but I'm afraid the same problem will happen.
t
no
s
checking if this is resolved/solved for you?
t
NO
s
Hey @Toketo1, as you're saying it's from Telenyx' side. Sorry, we can't help you with this. If anything related to VAPI, we'd be happy to help!
2 Views