https://retellai.com/?utm_source=discord&utm_medium=seo logo
Subject: No Audio Issue on Inbound CallsHello Supp...
# ❓・ai-evy-support
m
@AI Evy Subject: No Audio Issue on Inbound Calls Hello Support, I have set up my SIP trunk with Asterisk, and calls are connecting successfully, but I am experiencing a no audio issue (one-way or no-way audio). Here are the details of my setup: PBX: Asterisk (latest build) Transport: UDP (port 5060 open) NAT: Configured with external_signaling_address and external_media_address set to my public IP, with local network ranges defined. SIP ALG: Disabled on the router/firewall. RTP: Ports 10000–20000 are open/forwarded to the PBX. Codecs: allow=opus,ulaw,alaw (Opus preferred, fallback PCMU/PCMA). Modules loaded: codec_opus_open_source.so, res_format_attr_opus.so. Call flow: Inbound DID → Asterisk extension → SIP phone. Despite this configuration, I still don’t hear any audio during inbound calls.
a
Thanks for tagging me @m4agnum. I'll look through relevant sources and get back to you shortly.
### Answer This type of no audio issue with SIP trunks is commonly related to RTP/media path or NAT configuration. For Retell AI's SIP integrations, you are responsible for handling the RTP and media routing yourself [(1) ]() . Here are the steps that align with Retell AI's guidance: - Double-check your NAT and RTP settings—ensure your external_signaling_address and external_media_address point to your correct public IP, and that RTP ports (10000–20000) are open and forwarded to your PBX . - Make sure SIP ALG is off (which you have already done) . - Review your telephony provider and PBX logs for RTP stream setup and media negotiation. - Since you are using custom telephony, you need to verify that the codecs negotiated on both sides (Asterisk and Retell) are compatible and enabled . - If you continue to have issues, re-import your configuration or try a different number to rule out a number-specific routing problem . Check out the official guide for more troubleshooting steps: [Custom Telephony Overview]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
m
@AI Evy i have a DID that connect to asterisk and it forwards to the retell sip
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer If your DID routes to Asterisk and then forwards to the Retell SIP domain, this setup aligns with the "Dial to SIP URI" method described in the Retell AI documentation. In this mode, your PBX (Asterisk) is responsible for dialing the SIP URI in the format:
Copy code
sip:{call_id}@5t4n6j0wnrl.sip.livekit.cloud
To generate a valid SIP URI, you must first register the call with Retell using their API to obtain a call_id. After registration, your PBX should dial the SIP URI using that call_id. The SIP domain (5t4n6j0wnrl.sip.livekit.cloud) is fixed for all accounts. Make sure your PBX can dial SIP endpoints directly and that you’ve whitelisted the LiveKit SIP server/IPs if your firewall restricts outbound connections [(1) ]() , [(2) ]() . If you want to share more about your call flow or encounter issues forwarding calls to the Retell SIP, I can point you to the exact troubleshooting steps for this setup.
m
@User it conects and i even got the logs in retell but i have no audio
@AI Evy it conects and i even got the logs in retell but i have no audio
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer No audio after a successful SIP connection (with logs visible in Retell) is usually due to RTP/media path or codec issues between your Asterisk PBX and the Retell SIP endpoint. For the "Dial to SIP URI" approach, the most common causes (as seen in both the official docs and user discussions) are: - NAT/firewall blocking RTP streams—make sure the required RTP ports are open/forwarded and that your public IP is correctly set in Asterisk’s external_media_address and external_signaling_address [(1) ]() , [(2) ]() . - SIP ALG interfering—ensure it's off on your router/firewall (which you mentioned is already done) . - Codec mismatch—Retell supports PCMU (ulaw) , PCMA (alaw) , and Opus. Confirm that the negotiated codec in the SIP/SDP exchange matches one of these and is enabled on both sides [(1) ]() , [(2) ]() . - SIP URI or region endpoint—double-check you are dialing the correct SIP URI (format: sip:{call_id}@5t4n6j0wnrl.sip.livekit.cloud) [(1) ]() . - Confirm that the 200 OK SDP from both sides advertises compatible media ports and codecs, and that RTP is actually being sent/received (use packet capture to verify) [(2) ]() . If the call is visible in Retell with logs and recordings, the agent is being triggered, so the issue is likely at the RTP/media or network layer . See full guidance at [Custom Telephony Overview]() and for SIP media troubleshooting tips, review [SIP call using call_id reaches LiveKit but no audio / agent not triggered](
/channels/1186424376300679209/1389990836992872471) .
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] SIP call using call_id reaches LiveKit but no audio / agent not triggered](https://discord.com/channels/1186424376300679209/1389990836992872471) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Inquiry about "Dial to SIP Endpoint" method using cURL](https://discord.com/channels/1186424376300679209/1384155437242388633) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy -- PJSIP/retell-0000000a answered PJSIP/iphost-trunk-00000008 -- Channel PJSIP/retell-0000000a joined 'simple_bridge' basic-bridge -- Channel PJSIP/iphost-trunk-00000008 joined 'simple_bridge' basic-bridge SIP/2.0 200 OK Via: SIP/2.0/UDP 185.181.228.23:5080;rport=5080;received=185.181.228.23;branch=z9hG4bK3c46.8577b99c5f325f7a51148d2b14e92d32.1 Via: SIP/2.0/UDP 185.181.228.30:5060;rport=5060;received=185.181.228.30;branch=z9hG4bK591733240 Record-Route: Call-ID: 1649720663@185.181.228.30 From: "061099499" ;tag=765857245 To: ;tag=cb3850e9-aa7e-483d-b11d-4aefd257a10e CSeq: 12264 INVITE Server: Asterisk PBX 22.2.0~dfsg+~cs6.15.60671435-2 Contact: Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REFER, INFO, MESSAGE Supported: 100rel, timer, replaces, norefersub Content-Type: application/sdp Content-Length: 233 v=0 o=- 1758655805 1758655807 IN IP4 10.186.0.3 s=Asterisk c=IN IP4 10.186.0.3 t=0 0 m=audio 15140 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:140 a=sendrecv
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Based on your call trace, your Asterisk is offering PCMA (alaw) at 8kHz, and the SIP signaling/bridging appears to work, but you have no audio with Retell AI's SIP integration. Here are the most relevant troubleshooting steps based on Retell AI documentation and prior cases: 1. Codec compatibility: Retell supports PCMU (ulaw) , PCMA (alaw) , and Opus for SIP integration [(1) ]() [(2) ]() . Make sure both your Asterisk and Retell are set to allow at least one of these codecs and that the negotiated codec in the 200 OK SDP is one of them. 2. RTP/media path: Even with correct signaling, no audio is typically caused by RTP not being routed correctly due to NAT, firewall, or incorrect IPs in SDP. Double-check: - external_media_address and external_signaling_address in Asterisk point to your public IP. - RTP ports (typically 10000–20000) are open and forwarded on your firewall to the PBX . - SIP ALG is disabled (as you indicated) . 3. SDP/c= line: Your SDP shows
c=IN IP4 10.186.0.3
, which is a private IP. If Retell or LiveKit is not on your local network, the media will not reach the other side. The c= line in SDP should show your public IP if behind NAT [(2) ]() . 4. Packet capture: Use tcpdump or Wireshark to confirm that RTP is flowing both ways between your PBX and the Retell SIP endpoint, and that the correct ports and codecs are being used. Also, verify in the Retell dashboard if there are audio recordings or if the agent is triggered . 5. Firewall/NAT: If behind NAT, ensure your firewall is not blocking RTP and SIP traffic and that SIP helpers are disabled. Some routers/firewalls may require additional configuration. 6. **Check for cod
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] SIP call using call_id reaches LiveKit but no audio / agent not triggered](https://discord.com/channels/1186424376300679209/1389990836992872471) [[3] Question dial-to-SIP URI audio transcoding question](https://discord.com/channels/1186424376300679209/1399419626802385036) [[4] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
ec mismatch or transcoding issues:** Only the supported codecs (PCMU, PCMA, Opus) should be offered. If you use Opus, make sure both sides support it with matching parameters [(3) ]() [(2) ]() . 7. Retell SIP endpoint: Double-check you are dialing the correct SIP URI format:
sip:{call_id}@5t4n6j0wnrl.sip.livekit.cloud
[(1) ]() [(4) ]() . If you continue to have no audio, focus on the SDP
c=IN IP4
line and try setting it to your public IP address or ensure your NAT settings in Asterisk are correct so that the correct public IP is advertised in SDP. This is a common source of one-way/no-way audio in SIP integrations [(2) ]() . Further guidance: - [Custom Telephony Overview]() - [SIP call using call_id reaches LiveKit but no audio / agent not triggered]() - [Question dial-to-SIP URI audio transcoding question]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy -- PJSIP/retell-0000000b is ringing SIP/2.0 200 OK Via: SIP/2.0/UDP 185.181.228.23:5080;rport=5080;received=185.181.228.23;branch=z9hG4bK3c46.8577b99c5f325f7a51148d2b14e92d32.1 Via: SIP/2.0/UDP 185.181.228.30:5060;rport=5060;received=185.181.228.30;branch=z9hG4bK591733240 Record-Route: Call-ID: 1649720663@185.181.228.30 From: "061099499" ;tag=765857245 To: ;tag=cb3850e9-aa7e-483d-b11d-4aefd257a10e CSeq: 12264 INVITE Server: Asterisk PBX 22.2.0~dfsg+~cs6.15.60671435-2 Contact: Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REFER, INFO, MESSAGE Supported: 100rel, timer, replaces, norefersub Content-Type: application/sdp Content-Length: 233 v=0 o=- 1758655805 1758655807 IN IP4 10.186.0.3 s=Asterisk c=IN IP4 10.186.0.3 t=0 0 m=audio 15140 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:140 a=sendrecv SIP/2.0 180 Ringing Via: SIP/2.0/UDP 34.116.164.110:5060;branch=z9hG4bKPjad307a1d-54c8-406f-9735-ead62f682df6;received=10.1.99.0;rport=48299 From: "061099499" ;tag=078c62bf-9d83-4626-a0b0-00e57564b86d To: ;tag=SCL_7HqUocJujcZx Call-ID: ee979800-cf54-41d6-9bb4-01a11bc4adb2 CSeq: 27893 INVITE Content-Length: 0 Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Your SIP trace shows that Asterisk is advertising a private IP (10.186.0.3) in the SDP’s c=IN IP4 line. For Retell AI's SIP integration, this is a common cause of no audio, since Retell (and LiveKit) cannot send RTP to a private address unless they are on the same local network. The c= line in the SDP should reflect your public IP when behind NAT [(1) ]() . To resolve this: - Ensure Asterisk’s external_media_address and external_signaling_address are set to your public IP. - Confirm your NAT configuration in Asterisk is correct. - RTP ports (typically 10000–20000) must be open and forwarded to your PBX. - SIP ALG should remain disabled. - Only advertise supported codecs: PCMU (ulaw) , PCMA (alaw) , or Opus [(1) ]() [(2) ]() . After making these changes, verify with a packet capture that RTP flows in both directions and that the SDP in the 200 OK response from Asterisk advertises your public IP, not the internal one . For additional troubleshooting, see: [Custom Telephony Overview]() and [Question dial-to-SIP URI audio transcoding question]() .
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Question dial-to-SIP URI audio transcoding question](https://discord.com/channels/1186424376300679209/1399419626802385036) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy Subject: No Audio Issue – SDP Being Rewritten with Private IP Hello Support, I am troubleshooting a no-audio issue when connecting Asterisk with Retell/LiveKit. Here is my relevant pjsip.conf configuration: [transport-udp] type=transport protocol=udp bind=0.0.0.0:5060 external_media_address=34.116.164.110 external_signaling_address=34.116.164.110 local_net=127.0.0.1/32 local_net=192.168.1.0/24 [iphost-trunk] type=endpoint transport=transport-udp context=from-iphost disallow=all allow=alaw allow=ulaw outbound_auth=iphost-auth aors=iphost-aor rtp_symmetric=yes force_rport=yes rewrite_contact=yes [retell] type=endpoint transport=transport-udp context=from-retell disallow=all allow=opus allow=ulaw force_rport=yes rewrite_contact=yes direct_media=no aors=retell_aor The transport is correctly configured with my public IP (34.116.164.110), and NAT settings are in place. However, when calls are established, the SDP c= line shows a private IP (10.186.0.3) instead of my configured public IP. For example: c=IN IP4 10.186.0.3
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Your SDP c= line is showing a private IP (10.186.0.3) instead of your public IP (34.116.164.110) , which is a common cause of no audio with Retell/LiveKit SIP integrations. This means Retell cannot send RTP to your PBX unless both are on the same local network. The c= line in SDP must advertise your public IP when behind NAT [(1) ]() . To resolve this, check the following: - Confirm external_media_address and external_signaling_address in your Asterisk transport match your public IP (which you have already set) . - Make sure the local_net setting includes all your actual internal networks and does not conflict with your server’s real IPs. - Double-check that Asterisk is running on the host with the correct public IP, and that your public IP is not being overridden by another network interface or NAT misconfiguration. - After changes, verify the 200 OK SDP c= line shows your public IP, not the private one. - If you’re still seeing the private IP, try restarting Asterisk and check for any other NAT-related configuration in your network/firewall. Retell/LiveKit requires the c= line to show your public IP for media to flow properly. If the issue persists, a packet capture (Wireshark/tcpdump) will help confirm what IPs are actually being used and if RTP is flowing .
​ To learn more, see the sources I considered: [[1] SIP call using call_id reaches LiveKit but no audio / agent not triggered](https://discord.com/channels/1186424376300679209/1389990836992872471) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Your last message was empty—if you have a follow-up or need more detail on your Retell AI SIP integration, let me know what specific issue or question you have. Based on the previous thread, if your SDP c= line still shows a private IP instead of your public IP, Retell AI will not be able to send audio to your PBX unless both are on the same local network. Ensuring the c= line in SDP advertises your public IP is critical for media to flow between Retell and Asterisk [(1) ]() , [(2) ]() . If you need further troubleshooting steps or want to share updated logs/config, please provide more details.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] AI in SIP Calling & Telephony Solutions | Retell AI](https://www.retellai.com/blog/integrating-ai-with-sip-trunking-and-modern-telephony) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy -- PJSIP/retell-0000000f answered PJSIP/iphost-trunk-0000000c -- Channel PJSIP/retell-0000000f joined 'simple_bridge' basic-bridge -- Channel PJSIP/iphost-trunk-0000000c joined 'simple_bridge' basic-bridge Sent RTP packet to 185.181.228.23:31360 (type 08, seq 035658, ts 010560, len 000160) Sent RTP packet to 185.181.228.23:31360 (type 08, seq 035659, ts 010720, len 000160) Sent RTP packet to 185.181.228.23:31360 (type 08, seq 035660, ts 010880, len 000160) Sent RTP packet to 185.181.228.23:31360 (type 08, seq 035661, ts 011040, len 000160) Sent RTP packet to 185.181.228.23:31360 (type 08, seq 035662, ts 011200, len 000160) Sent RTP packet to 185.181.228.23:31360 (type 08, seq 035663, ts 011360, len 000160) > 0x7c7a342c0020 -- Strict RTP learning after remote address set to: 193.122.9.158:51719 -- PJSIP/retell-0000000e answered PJSIP/iphost-trunk-0000000d -- Channel PJSIP/retell-0000000e joined 'simple_bridge' basic-bridge -- Channel PJSIP/iphost-trunk-0000000d joined 'simple_bridge' basic-bridge -- Channel PJSIP/iphost-trunk-0000000c left 'simple_bridge' basic-bridge == Spawn extension (from-iphost, 22011023, 5) exited non-zero on 'PJSIP/iphost-trunk-0000000c' -- Channel PJSIP/retell-0000000f left 'simple_bridge' basic-bridge -- Channel PJSIP/iphost-trunk-0000000d left 'simple_bridge' basic-bridge == Spawn extension (from-iphost, 22011023, 5) exited non-zero on 'PJSIP/iphost-trunk-0000000d' -- Channel PJSIP/retell-0000000e left 'simple_bridge' basic-bridge
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
SIP call using call_id reaches LiveKit but no audio / agent not triggered]() .
### Answer Based on your logs, RTP packets are being sent out and strict RTP learning is occurring, but if you still have no audio with Retell AI SIP integration, here’s what to check: 1. The SDP c= line must advertise your public IP, not a private IP. If your external_media_address and external_signaling_address are set correctly but the c= line still shows a private IP, Asterisk may not be applying NAT settings as expected. Double-check your local_net settings to ensure they match all your internal subnets and do not overlap with your public IP configuration [(1) ]() , [(2) ]() . 2. Use packet capture (tcpdump or Wireshark) to verify that RTP is actually flowing both to and from the Retell SIP endpoint. Confirm that the remote address in RTP matches the expected LiveKit/Retell media IP . 3. Ensure only supported codecs are negotiated: PCMU (ulaw) , PCMA (alaw) , or Opus. Both sides must agree on one [(1) ]() , [(2) ]() . 4. If Asterisk is behind NAT, confirm that your firewall forwards the full RTP port range (typically 10000–20000) to your PBX, and that SIP ALG is disabled [(1) ]() , [(2) ]() . 5. If strict RTP learning is enabled, but audio still fails, sometimes restarting Asterisk after NAT or config changes is necessary for the new settings to take effect . If these steps don’t resolve the issue, please share a new SDP trace after restarting Asterisk and making sure the c= line shows your public IP. For further guidance, see [Custom Telephony Overview]() and [
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] SIP call using call_id reaches LiveKit but no audio / agent not triggered](https://discord.com/channels/1186424376300679209/1389990836992872471) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy the problem is solved but i have input delay
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Input delay (latency between when you speak and when Retell AI responds) in SIP integrations is typically influenced by network latency, jitter, or suboptimal codec negotiation between your PBX (Asterisk) and the Retell SIP endpoint [(1) ]() [(2) ]() . For best results with Retell AI: - Ensure your network latency is consistently low (Retell recommends <150ms end-to-end for enterprise VoIP and AI calling) [(2) ]() . - Minimize jitter (variability in packet timing) to under 30ms . - Use supported codecs (PCMU, PCMA, or Opus) , and avoid transcoding if possible [(3) ]() [(1) ]() . - Prioritize VoIP and AI traffic with Quality of Service (QoS) on your network [(2) ]() . - Confirm that your firewall or NAT is not introducing additional delay, and that SIP ALG remains disabled [(3) ]() [(4) ]() . - Monitor your call setup and media negotiation times in both Asterisk and Retell logs. If you continue to experience input delay, running packet captures (Wireshark/tcpdump) can help identify where the delay is occurring. Also, verify that your PBX and network infrastructure are not overloaded. For further best practices, see: - [Custom Telephony Overview]() - [AI in SIP Calling & Telephony Solutions | Retell AI](
-and-modern-telephony) - [Enterprise VoIP Integration for AI Calling Success | Retell AI]()
​ To learn more, see the sources I considered: [[1] AI in SIP Calling & Telephony Solutions | Retell AI](https://www.retellai.com/blog/integrating-ai-with-sip-trunking-and-modern-telephony) [[2] Enterprise VoIP Integration for AI Calling Success | Retell AI | Retell AI](https://www.retellai.com/blog/enterprise-voip-integration-with-ai-calling) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[4] SIP call using call_id reaches LiveKit but no audio / agent not triggered](https://discord.com/channels/1186424376300679209/1389990836992872471) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy my server is in poland my did is in moldova located could this be the problem?
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Yes, geographic distance between your server (in Poland) and your DID (in Moldova) can contribute to increased latency or input delay in SIP-based Retell AI integrations. The official guidance states that international calls or calls between different regions may introduce additional latency due to geographic distance. It is recommended to use phone numbers geographically closer to your users or server for better performance, and to consider getting a local number in the same region as your infrastructure [(1) ]() [(2) ]() [(3) ]() . Optimizing for regional proximity helps minimize network hops and overall call latency, which is especially important for real-time AI voice applications [(2) ]() [(3) ]() [(4) ]() . If possible, align your DID location with your server region or use a local SIP trunk provider to reduce delay.
​ To learn more, see the sources I considered: [[1] Troubleshoot high latency](https://docs.retellai.com/reliability/troubleshoot-latency) [[2] AI in SIP Calling & Telephony Solutions | Retell AI](https://www.retellai.com/blog/integrating-ai-with-sip-trunking-and-modern-telephony) [[3] Enterprise VoIP Integration for AI Calling Success | Retell AI | Retell AI](https://www.retellai.com/blog/enterprise-voip-integration-with-ai-calling) [[4] Latency Face-Off 2025: Retell AI vs. Google Dialogflow CX vs. Twilio Voice vs. PolyAI](https://www.retellai.com/resources/ai-voice-agent-latency-face-off-2025) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy 1050-1550ms latency this is from retell
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer A reported latency of 1050–1550ms from Retell is higher than the typical sub-800ms target for production Retell AI voice agents [(1) ]() [(2) ]() . Retell AI is specifically designed to achieve end-to-end voice-to-voice latency of around 780–800ms in optimal conditions, with 800ms or less considered the threshold for natural, human-like conversation flow [(3) ]() [(1) ]() [(2) ]() . Latency above this range can result in noticeable input delay and a less natural user experience [(3) ]() [(2) ]() . Factors that can increase latency include: - Geographic distance between your server and the DID (as previously discussed) - Network routing, jitter, or congestion - Suboptimal codec negotiation or transcoding - Firewall, NAT, or SIP ALG interference - Media being relayed through multiple endpoints or regions [(2) ]() For best results, align your server and DID regionally, minimize network hops, and ensure your SIP media/SDP advertises the correct public IP and supported codecs. Consistent sub-800ms latency is achievable with ideal network and infrastructure alignment [(3) ]() [(1) ](
ice-assistants-benchmarks) [(2) ]() . For further guidance, see: - [Why Low Latency Matters for AI Agents | Retell AI]() - [Latency Face-Off 2025: Retell AI vs. Google Dialogflow CX vs. Twilio Voice vs. PolyAI]() - [Sub-Second Latency Showdown: Retell AI vs. Synthflow vs. Twilio Voice Assistants (2025 Benchmarks) ]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Sub-Second Latency Showdown: Retell AI vs. Synthflow vs. Twilio Voice Assistants (2025 Benchmarks)](https://www.retellai.com/resources/sub-second-latency-voice-assistants-benchmarks) [[2] Latency Face-Off 2025: Retell AI vs. Google Dialogflow CX vs. Twilio Voice vs. PolyAI](https://www.retellai.com/resources/ai-voice-agent-latency-face-off-2025) [[3] Why Low Latency Matters for AI Agents | Retell AI](https://www.retellai.com/blog/why-low-latency-matters-how-retell-ai-outpaces-traditional-players) ​
m
@AI Evy but its like from inside the llm + tts +transcript
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer For Retell AI, the total latency you experience is the sum of several internal components: Automatic Speech Recognition (ASR/transcription) , LLM (language model) , and Text-to-Speech (TTS) . Each of these contributes to the end-to-end response time [(1) ]() . - ASR converts your speech to text. - LLM processes the transcript and generates a response. - TTS turns the response text back into audio . You can see detailed latency breakdowns for these stages in Retell's call records, which include objects like
latency.e2e
,
latency.llm
, and
latency.tts
for each call [(2) ]() [(3) ]() . Example fields from the API response:
Copy code
json
"latency": {
  "e2e": { ... },
  "llm": { ... },
  "tts": { ... }
}
[(2) ]() , [(3) ]() These metrics allow you to identify if the delay is mostly from ASR, LLM, or TTS. For more, check your call data or [Retell AI API Reference]() .
​ To learn more, see the sources I considered: [[1] Speech Processing](https://www.retellai.com/glossary/speech-processing) [[2] List Calls](https://docs.retellai.com/api-references/list-calls) [[3] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy my delay is mainly when i speak something the ai takes a longer time to respond
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer A noticeable delay between when you finish speaking and when the AI responds is typically referred to as "latency." For Retell AI, this response time depends on the combined duration of three main processes: Automatic Speech Recognition (ASR/transcription) , processing by the Large Language Model (LLM) , and Text-to-Speech (TTS) synthesis [(1) ]() [(2) ]() . - ASR converts your spoken words to text. - LLM processes that text, generates a response, and may require more time for complex or multi-turn reasoning. - TTS converts the AI's response text back to audio for playback. Retell AI is optimized for low latency, typically targeting sub-800ms end-to-end for natural conversation flow. However, if you're experiencing longer delays, it may be due to network conditions, regional distance between your infrastructure and Retell's processing, or additional complexity in the conversation that requires more LLM reasoning . You can check call records and logs in Retell AI to see the specific breakdown for each stage (ASR, LLM, TTS) , which helps pinpoint where most of the delay is occurring [(2) ]() . Optimizing your network path and ensuring your SIP/media setup is regionally aligned with Retell's infrastructure can help reduce this delay [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Latency](https://www.retellai.com/glossary/latency) [[2] Inside Retell AI Receptionist's Large Language Model Intent Engine: 92% Accuracy and 50% Fewer Unnecessary Escalations](https://www.retellai.com/resources/retell-ai-receptionist-understands-calls-better) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy now i tested again and its sound awful yesterday was working fine
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer If the audio quality suddenly degraded after working fine previously, this can be caused by several factors in Retell AI voice agent deployments: - Network conditions (latency, jitter, or packet loss) can impact call quality, especially if the route between your PBX and Retell's SIP endpoint changes or experiences congestion [(1) ]() , [(2) ]() . - Codec negotiation issues or unexpected transcoding between endpoints can result in poor audio fidelity. Make sure both sides are using supported codecs (PCMU, PCMA, or Opus) and avoid unnecessary transcoding [(1) ]() , [(2) ]() . - Background noise or poor acoustics on either end can cause recognition and synthesis issues, making the AI sound unnatural or distorted . - If you are using Opus, PCMU, or PCMA, confirm that your PBX and Retell are both negotiating the codec you expect, as a fallback to an unsupported or suboptimal codec can cause quality drops [(1) ]() , [(2) ]() . - Retell AI voice quality also depends on real-time speech processing (ASR, LLM, TTS) . If any component is experiencing higher latency or system load, responses may sound delayed or choppy [(1) ]() , [(3) ]() . For troubleshooting: - Check your network for new congestion, route changes, or packet loss. - Confirm codec negotiation in your SIP logs. - Review your environment for new sources of noise/int
erference. - If possible, test from a different network/location to isolate the issue. If the problem persists and you have not changed your configuration, monitoring your call logs and packet captures can help identify whether it's a local network, codec, or Retell-side issue [(1) ]() , [(2) ]() .
​ To learn more, see the sources I considered: [[1] Speech Processing](https://www.retellai.com/glossary/speech-processing) [[2] Troubleshooting AI Voice Agent Issues | Retell AI](https://www.retellai.com/blog/troubleshooting-common-issues-in-voice-agent-development) [[3] Inside Retell AI Receptionist's Large Language Model Intent Engine: 92% Accuracy and 50% Fewer Unnecessary Escalations](https://www.retellai.com/resources/retell-ai-receptionist-understands-calls-better) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy i am in a nosy envoirment rightnow
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Being in a noisy environment can negatively affect Retell AI's performance, especially the Automatic Speech Recognition (ASR) component. Background noise makes it harder for the ASR to accurately transcribe what you're saying, which can lead to delays, errors, or unnatural-sounding responses from the AI. Retell AI's ASR is designed to filter out some noise and handle variability, but high levels of noise will still degrade transcription quality and the overall conversation experience [(1) ]() [(2) ]() . For best results, use Retell AI in a quieter environment or with a microphone that minimizes background noise .
​ To learn more, see the sources I considered: [[1] Automatic Speech Recognition (ASR)](https://www.retellai.com/glossary/automatic-speech-recognition-asr) [[2] Speech Processing](https://www.retellai.com/glossary/speech-processing) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy can i do smth about it?
a
Thanks for the follow-up, @m4agnum. I'll get back to you soon.
### Answer Yes, there are steps you can take to improve Retell AI's performance in a noisy environment: - Retell AI provides a denoising mode setting. By default, "remove noise" mode is enabled, which removes background noise with minimal impact on speech-to-text accuracy. If you have a lot of loud background speech (like TV or other people talking) , you can switch to "remove noise + background speech" mode, which is more aggressive but may slightly reduce transcription accuracy. Note that this mode incurs a small extra cost per minute [(1) ]() . - You can also adjust the "Interruption Sensitivity" setting. Increasing this value (e.g., set to 0.8 or higher) makes the agent more resilient to background speech or interruptions, but may reduce the agent's ability to be interrupted by the user . - On the user side, using a better microphone or enabling client-side noise reduction (if calling via web) can help. You can also prompt users to speak louder to help the ASR distinguish their voice from background noise . - For extremely noisy environments, you may need to experiment with these settings to find the best balance for your use case . More details: [Handle background speech & noise]()
​ To learn more, see the sources I considered: [[1] Handle background speech & noise](https://docs.retellai.com/build/handle-background-noise) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.