Telnyx Latency IS CRAZY.. what went wrong?
# support
a
Recently i bought a number from Telnyx, and just like Vonage and Twillio i added the number just by connecting the api and after wards importing the phone number from Telnyx. i went there and opened the destination countries.. created Outbound Voice Profile... and my phone number was connected to the right App.. but yet the conversation where really weird.. she's not picking up 60% of what i'm saying and there is HUGE LATENCY ISSUE for about 5-10 seconds!!! and i've changed the AnchorSite location to check if it's affecting latency and as well switched to latency based settings and nothing helped at all. Did someone had issues with Telnyx, is it an obligation to create the connection via SIP Trunking instead to solve this issue or what?
v
To address your Telnyx latency issue, try integrating your Telnyx number with Vapi using SIP trunking instead of the standard import. This method can offer better control and may help reduce latency. Here’s a quick example to create a SIP trunk credential in Vapi:
Copy code
bash
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", "inboundEnabled": false }],
    "outboundAuthenticationPlan": {
      "authUsername": "YOUR_SIP_USERNAME",
      "authPassword": "YOUR_SIP_PASSWORD",
      "sipRegisterPlan": { "realm": "sip.telnyx.com" }
    }
  }'
Replace the placeholders with your actual credentials. This setup may help resolve your latency problems by leveraging direct SIP integration. For full steps, see the documentation I have found. Source: - [Telnyx SIP integration](https://docs.vapi.ai/advanced/sip/telnyx)
a
from Telnyx side do i need to change anything? or it's only the settings from our Vapi side? Thanks
a
@Amir UIDB I've been facing the same issues when I used australian numbers imported from telnyx. Tried both using sip trunking as well as voice applications. Both didn't work out well. And most issues I faced were in the inbound calls. Still isn't resolved though
c
Hey! To help track down this issue, could you share: \- The call ID \- When exactly this happened (the timestamp) \- What response you expected to get \- What response you actually got instead This would really help us figure out what went wrong!
a
Can you help me out here? Telnyx contacted me today after doing a full investigation from there end, and seems it's working 100% and they are claiming that the problem is 100% from Vapi side.. so let's go! how can we solve it? let me know what you need? ________________________ First Call - The call ID 019afeb8-c957-7aa3-a4ca-10b7cda52a02 - When exactly this happened (the timestamp) * "timestamp": 1765210116820000000* - What response you expected to get a proper conversation and not 5-7 seconds LATENCY!! - What response you actually got instead 5-7 seconds until the AI Voice agent heard and understood what i said _________________________ Second Call: - The call ID 019afeb3-6720-700a-be82-bf91b4125693 - When exactly this happened (the timestamp) * "timestamp": 1765209763498000000* - What response you expected to get a proper conversation and not 5-7 seconds LATENCY!! - What response you actually got instead 5-7 seconds until the AI Voice agent heard and understood what i said
c
Hi Amir, thanks for sharing your details. Our team will look into it and get back to you soon with an update.
a
Still waiting for your team to reply, any update please?
c
Hi Amir, I'm really sorry for the late response. Let me check with our team and get back to you with an update.
a
Honestly, the response times have been extremely slow. It’s already been 10 days and i got no clue what's going on?? Thank you.
c
Hi Amir, if you use the Telynx with SIP based integration you won't see any issue with it.
a
Not true dear Sahil, i have it done it by the book step by step and yet it's with delay, integrated everything between Vapi and Telnyx and yet having issues. Do you want to help me go over the settings nonetheless?
c
Can you share the phone number id? I can try calling that number and see what's wrong.
h
Greetings everyone, have somebody worked out with this? @User