https://retellai.com/?utm_source=discord&utm_medium=seo logo
SIP dial have "No Answer" TLS
# ❓・bug-report
s
We are using 5t4n6j0wnrl.sip.livekit.cloud;transport=tls and have seen significant number of "No Answer" responses today. What has changed? What do we need to fix? Over >40 today and continues to appear intermediately.
@User
c
try using our new sip domain sip.retellai.com
s
Is there any way to support it on the old one? We were not alerted of this change and I would like to keep our platform as stable as possible while usage is high
c
you can keep the old one, it’s just got a higher influx of people using it. if you don’t mind me asking which sip provider are you using?
s
Twilio
c
and these are all inbound?
s
yes
we use dial to sip so even outbound turn into inbound
c
gotcha, which backend provider do you use?
s
We have our own servers
Twilio is timing out on the dial to that sip endpoint. Has happened >50 today and continuing to increase
We have not changed anything on our servers either.
c
do you have the 30 second timeout set?
s
we have 5 second timeout
It's not acceptable for our platform or users to wait longer than that
c
when dialing to sip you’re expecting a response from the sip invite, so you need to up your time a little bit, it’s not sending through sip refer so it’s not instant
especially when transporting with tls since there’s firewall rules
s
I've had no isues with 5 seconds for many months
So what changed?
c
nothings changed on our side, could possible be due to high numbers of dialing the domain
s
Okay but the dialing number of people is better on the other domain?
Is there any plan to make the livekit domain handle higher volume?
c
other people have said so, i don’t have any analytics to prove it yet
that questions come up a lot and has been escalated to the internal engineers
s
Okay we will try the other endpoint. We would appreciate some sort of alert for the future so we can mitigate this asap
And also plan changes over the weekend when volume is lower
c
if you could attach one of the pcap logs i can check if everything is as it should
s
I switched the url to @sip.retellai.com;transport=tls for our development account, tested and I still got 2 calls have sip no answer
2 out of 14 calls resulted in SIP No Answer. @Colin - Integrations @ Retell AI
c
can you switch the delay from 5 seconds to 10?
s
That's not acceptable performance for our use case.
Your domain should be able to respond <5 seconds
c
when using tls there’s a firewall it also needs to get a response from
s
We have not had issues at this high of a rate before.
We've used TLS for months
c
just try it and let me know if it’s the same issue, i’m already talking with the engineers to see what the issue is
s
Your engineering team should be able to track average response times to the sip requests and determine what the range is.
10 seconds is not acceptable for us and we do not want to waste our development time on changes that we do not plan on keeping. We are willing to explore other methods to resolve the issue as long as they are within our requirements
If you are unable to provide high performance <5sec response as you have been doing for months, then we will reevaluate and use another vendor.
I have a few accounts running with the livekit url and others with retell url. I see no difference in performance both still result in numerous No Answer at same rate of yesterday. When is the expected resolution of this issue? Is this going to happen all week? @User
m
I'm having major SIP problems as well, for a whole week. They dont respond much, they dont seem to care. I was about to launch my SaaS using Retell but all of sudden SIP trunk stopped working, and my whole Voice A Agents business has been crippled. I had to return money from clients that already paid because it's taking too long to solve this problem. And they still don't care, don't make any kind of effort 🙁
n
@Marlon Costa @sp_99491 If you are having SIP connectivity issues - please DM me, there is a good chance Cloudonix can help you resolve these issues - while improving your observability and security at the same time.
s
@User @Colin - Integrations @ Retell AI any updates here? We've now gotten compliants from users due to the high number of no answer occurrences on the sip.retell.com you had suggested which seems to perform worse. Does the retell team have any data on which is actually the best endpoint/
We are also seeing a high number of "error_retell" that we previously would not see
d
Hello. THis will not work. As mentioned in the docs page, if using Transport TLS then the origination URI needs to be the LiveKit one.
s
Okay the team member @Colin - Integrations @ Retell AI above suggested the retell URL and it does work for majority of calls but still high rate of No answer
And higher rate than the livekit domain
s
I have majority of my servers still on the livekit tls url and still see high rate of SIP No Answer from last few days. I've also already moved the retellai.com back to livekit and still see No Answer
Please see response from LK above ^.
s
I see No Answer from SIP - every hour today. I just looked and 40 so far today and increase. Yesterday also 40. Last week <5 / day
d
If you are using transport as TLS then please update the origination URI to the livekit one as mentioned in the docs.
s
Yes they are all on TLS livekit now and I still see issues.
d
Yeah, there were some intermittent issues with LiveKit as you posted the response above.
It should be resolved tough.
If you are seeing ongoing issues, can you please send us some example call ids that are getting terminted as unanswered?
s
sip:call_7cbe8e2f8628aa14d4877150920@5t4n6j0wnrl.sip.livekit.cloud;transport=tls sip:call_50be8a94f1e85f0bdcf04c71579@5t4n6j0wnrl.sip.livekit.cloud;transport=tls these both just happened
d
Ah ok. Looks like you are using the dial-to-sip feature.
s
Yes. does that imply there's a different issue?
d
We highly recommend using SIP Trunking as the means to connect to RetellAI.
LiveKit dashboard is undergoing an upgrade so the analytics and call details are delayed by 15-20 mins and sometime 30+ mins. I will have to wait to get the detailed logs.
s
We looked into sip trunking months ago but it did not work with how we are setup so we've chosen to use dial to sip. We haven't this high of issues until yesterday so would be great if you can look and see why this is happening now. sip:call_50be8a94f1e85f0bdcf04c71579@5t4n6j0wnrl.sip.livekit.cloud;transport=tls sip:call_2c7cf57db5c0ac08e3d22bac257@5t4n6j0wnrl.sip.livekit.cloud;transport=tls these are from earlier today ~1p ET
sip:call_ed0d7b024f850ba32906fb2917f@5t4n6j0wnrl.sip.livekit.cloud;transport=tls sip:call_2736d265d9df465ea1ae8740f1d@5t4n6j0wnrl.sip.livekit.cloud;transport=tls here's a few more. I have many if you need more to look at.
d
for call_50be8a94f1e85f0bdcf04c71579, RetellAI call reflect:
callStatus: 'registered',
which means you successfuly registered the call but LK never connected the call with RetellAI.
s
Okay so does this mean LiveKit issue? If so, can you let livekit know, or do I need to open a ticket with livekit?
d
I have already sent them a message.
s
Actually, I'm looking at our code and we first register the call with retell (no issues here), then we dial to the sip -- where the issues is occuring. So likely livekit is not responding to that request?
d
Correct. We are registering your call without any issues but when you are dialing to that call, LK is not sending the call to RetellAI, or you can say, joining that call and hence you have a 'No Answer' status. Feel free to open a ticket with LK.
s
Okay I will open a ticket there as well, but hopefully they will respond to you and you can let me know as you have a direct slack channel with them.
Thank you for the help. This was way better support than yesterday as I was incorrectly given the advice to switch domain even though this request explicitly mentions TLS. I recommend you let your support staff know to always reference documentation (as that has the most correct information) and to be detail oriented to understand TLS is different then TCP. That would've saved me the issues that occurred today (thankfully I only changed a few accounts and not all of them).
Oh awesome, livekit has a community slack channel. I can use this in the future to see what issues others are seeing to better understand if this is livekit or retell issues
d
Is it possible to provide PCAPs from Twilio side for these calls?
s
It looks like Twilio doesn't capture PCAP in the traditional sense. But here are the metrics it has: successful SIP: FROM: +1xxxxxxxxx Connection mobile Country US Carrier AT&T Wireless TO: sip:call_16edd4b4244e8217a3875cfa8ae@5t4n6j0wnrl.sip.livekit.cloud;transport=tls Connection sip_interface User Agent - SIP Call ID cc672c59ed9eb1b0fd1ea920a3bb8a5a@0.0.0.0 Signaling IPs (Customer ⟷ Twilio) 54.172.60.1 Media IPs (Customer ⟷ Twilio) 161.115.178.115 ⟷ 168.86.136.230 PROPERTIES Who Hung Up caller Post-Dial Delay 0.053 seconds Last SIP Response 200 OK Call State completed Twilio RTP Latency (ms) <10/<10 METRICS (SIP Edge) Codec pcmu Packet Loss Detected false Jitter Detected false Edge Location (Region) Ashburn (us1) no answer SIP: FROM: +1xxxxxxxxxx Connection mobile Country US Carrier AT&T Wireless TO: sip:call_ccdf1cce24d7a468be586ae641f@5t4n6j0wnrl.sip.livekit.cloud;transport=tls Connection sip_interface User Agent - SIP Call ID 7fdc023f9de7c87b5453bd049eb26f96@0.0.0.0 Signaling IPs (Customer ⟷ Twilio) 54.172.60.1 Media IPs (Customer ⟷ Twilio) 168.86.136.222 PROPERTIES Who Hung Up - Post-Dial Delay 0.047 seconds Last SIP Response 487 Request Terminated Call State noanswer Twilio RTP Latency (ms) - METRICS (SIP Edge) Codec - Packet Loss Detected false Jitter Detected false Edge Location (Region) Ashburn (us1)
It looks like it's getting a response quickly from SIP? I only see one SIP dial on this call as well so I don't think another SIP Invite cause this one to fail?