Hey <@U08CKJH7C12> We are currently on Ship plann...
# agents
a
Hey @refined-appointment-81829 We are currently on Ship planning and scaling up to Scale pretty soon. We are running into SIP errors where calls are just ringing and are not getting picked up by the agent. When I am trying to investigate the issue on our PBS(Twilio) that particular call has status "no-answer" and on livekit dashboard I am seeing the error for that call and reason its saying is "media timeout". And callStatus: "SCS_ERROR" I already increased the instances of the agents and still investigating the exact error. Still trying to understand where the problem could be, as this issue is making us drop the call is being escalated pretty quickly. Any insight would be appreciated.
r
Do you have a PCAP or call id (
SCL_
)?
a
Couple of examples: Call ID: SCL_quHyqViMgHQC SCL_yVEAtA3mUpS7 SCL_jpYTTP9iNuiU Appreciate the quick response.
r
Can you try switching to SIP TCP
What percentage of calls are faling?
I believe the issue you are seeing is this one. The current solution is to use TCP. We are working to resolve the UDP issue.
a
I dont have the exact failure rate, but this seems appropriate. I will turn on Secure Trunk on Twilio end ( https://www.twilio.com/docs/sip-trunking#securetrunking ) and also shift to TCP exclusively. Thanks for the help.
r
You may want to hold off on the secure trunking and do just the the TCP shift for now.
There is also a fix in progress for REFER and BYE when TLS is enabled.
a
Sounds good 👍
Appreciate the help, Btw we are working with Varun on a issue we faced with livekit and deepgram while scaling our services. I have some data I might able to share and get your opinion as well. Let me know, I we can talk over DM.
r
DM is fine by please start the conversation with a link to this one. I get a lot of random DM and it is hard to keep track without the breadcrumb
👍 1
a
For Future Reference, I am using Twilio I updated Origination URL from
sip:....livekit.cloud
to
sip:....livekit.cloud;transport=tcp
fixed the issue.
Hey @refined-appointment-81829, I added this change and it was working as expected. But I am still seeing couple of errors.
r
Give me a call ID and I can see why it failed. It will start with
SCL_
a
SCL_2KxfeE9w7MYA SCL_RxBpTP5fKRHv
r
Can I get the PCAP for those from Twilio side? Looks like they closed the socket in both cases.
a
SCL_RxBpTP5fKRHv