Telnyx inbound voice lagging
# support
r
Hey, I have a problem with both twilio and telnyx. Twilio lagging problem has already it's own ticket. I was planning to switch to telnyx, but reliazed I cant. I have two problems with it. First major is that the voice is LAGGY. Like LAAAGY, like russians in csgo with 5cent microphone. I have no idea what's the cause of it. I didnt change any settings, I tried turning on and off their denoise, that didnt help. For comparison Telnyx vs Twilio: Telnyx: bfc88f72-773f-4292-9fe0-d100d8a787bb Twilio: a121c600-2557-4fc6-bf73-682b0743488b Second smaller problem is that when forwarding the caller id from assistan't phone is shown on the call, not the customers number + telnyx has a very weird sound for forwarding. Can you help me fixing that please? @Shubham Bajaj
v
Hi Radim! 👋 I understand you're experiencing two issues with Telnyx: voice lagging and incorrect caller ID display during call forwarding. Unfortunately, I don't have access to your Twilio ticket, but I can definitely help with both of your Telnyx issues! ## Voice Lagging Issue There are several potential causes for the voice lagging you're experiencing with Telnyx inbound calls: ### Network-Related Issues - Unstable internet connection or network latency could be causing the lag - High TURN server latency (1200-2000 ms) can contribute to delays in audio transmission - Delayed packets from the provider can cause voice quality problems ### Telnyx Configuration Here are some troubleshooting steps you can try: 1. **Check your network connectivity**: - Ensure your internet connection is stable - Verify network latency from your system to the API endpoints 2. **Review Telnyx configuration**: - Verify inbound authentication setup on Telnyx - Check SIP trunk configuration for any issues - Review the logs for both VAPI and Telnyx for error messages 3. **Test call quality**: - Test the call quality to identify consistent issues with the audio connection - Look into the Reporting section of Telnyx and check PCAP data 4. **Telnyx Denoiser**: - I see you've already tried the denoiser feature, which was a good step ## Caller ID Forwarding Issue Regarding the caller ID showing the assistant's phone number instead of the customer's number: This is a known issue with Telnyx. According to our documentation, when forwarding calls with Telnyx, the assistant's phone number is displayed instead of the customer's number. You can try these solutions: 1. **Set the caller ID during call transfer using the Vapi API**: ``` curl -X POST https://api.vapi.ai/tool \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "type": "transferCall", "destinations": [ { "type": "number",
"number": "insert-phone-number-id-here", "callerId": "{{customer.number}}", "numberE164CheckEnabled": false } ] }' ``` The key part is setting
"callerId": "{{customer.number}}"
in the destinations array. 2. **Modify SIP invite**: - Go to numbers, edit the one you're using - Navigate to voice - Scroll down to find Translated Number - Ensure proper configuration to match your VAPI and Telnyx accounts Would you like me to provide more detailed information on any of these troubleshooting steps? Sources: - [Troubleshooting Telnyx inbound voice call lagging issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334651376743092355) - [Possible causes of voice lagging in Telnyx inbound voice calls](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333877747453395014) - [Troubleshooting steps for voice lagging in Telnyx inbound voice calls](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334001638876250233) - [Telnyx caller ID forwarding issues and solutions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341368675680391178) - [How to display the customer's number instead of the assistant's phone number when forwarding calls in Telnyx](https://docs.vapi.ai/advanced/sip/telnyx)
r
In the telnyx test it completelly stopped my voice after a while, just made is silent.
@User
a
The audio issue is coming from Telnyx itself. Their system is new, and they have a few such issues which will be fixed over time. I am attaching a screenshot below; it describes the drift detected for this call from Telnyx which results in either user audio being distorted or being lost. https://cdn.discordapp.com/attachments/1355544399680901131/1355854818324775054/Screenshot_2025-03-30_at_4.11.21_PM.png?ex=67ea71b3&is=67e92033&hm=da9121d11b487d399cb828dae8c3c09adc09ae52ef6e725aeb4e602f39ba6a34&
Regarding the call forwarding issue, if you could share a call ID that will help me understand what's going wrong.
r
Audio seems normal right now. I guess they fixed it. Thank you. For forwarding, I think that vapi made everything well. I just need to setup to show the actual called number, not the assistant number when calling somebody. I tried to forward a call with telnyx, but it doesn't work. Probably an issue on their end... You can check this CallId, but it seems all good to me. db1c811c-4f7b-47f9-b83c-a12186e45d96 Their debugging tool said: Q.850 cause code: 127 Already messaged them, will wait for their response
a
please let me know if you require any further help from our side.
r
Probably not right now, thank you. In case of anything that I can't solve, I will let you know. Thanks Shubham
a
Marking this ticket as Solved ✅
6 Views