https://retellai.com/?utm_source=discord&utm_medium=seo logo
Immediate hangup (BYE) after inbound call comes in
# ❓・bug-report
k
I opened a ticket with Twilio about my inbound calls. They checked the SIP ladder and confirmed that the BYE is coming from my SIP endpoint, not from Twilio. In other words, Twilio sends the INVITE to sip:+6498737373@5t4n6j0wnrl.sip.livekit.cloud;transport=tls, your side immediately responds with BYE, and the call ends after 1 second. Can you please check your SIP or LiveKit logs for this Call SID: call_0ddfe49121dfb8f7674fb9c35a7 and tell me why your side is sending BYE as soon as the call starts, and how to fix it so the call is handed to my agent instead of being closed? https://cdn.discordapp.com/attachments/1442451431125942279/1442451431444447242/Error_fo_tele.png?ex=69427c14&is=69412a94&hm=85fb8ae2bfef3664ec5092e896f4846b91cce8fddd10a3af2e8d5ef8560c4b6f&
@Colin - Integrations @ Retell AI @Omar Ashraf | Community Lead
o
Hello @ can you change your URI to this sip.retellai.com;transport=tcp and reconnect the phone number and make the transport method tcp
k
Thank you, just tried this and It unfortanitly just didnt even go through at all and cause twilio to error and for some reason in logs th old URI pops up again
o
Can you share the PCAP file from twilio
@Omar Ashraf | Community Lead @Colin - Integrations @ Retell AI Can I please get help on this
o
Hello @kaepreneur , its empty file
k
I think its because its error
Ill send one taht actually completed it but sent back right away
o
same thing
k
What do I have to do ?
o
reconnect the number use tcp method , and on Twilio use this sip
sip.retellai.com;transport=tcp
k
TCP doesnt seem to work for me only tls
o
You did try it and didn’t work or you don’t want to use it ?
k
I said it doesnt work, i try to use tcp and it didnt work
I also put it in as tls and still nothing
o
Does the calls show up on retell history ?
can you share a call id ?
k
Not wuth that URI for some odd reason
o
with the old , it did show in the call history ?
k
yeah it did but with this URI it didnt work
o
Can you share the id from the old one ?
k
Is there any other inputs for sip that can make it not send the call back to twilio causing a BYE ?
o
I'm not sure what you mean here, give me a recent call id for inbound call that show up in your retell dashboard and I will ask the team to check it .
k
call_253a80b161c887ae0ef0ec63064
d
@Omar Ashraf | Community Lead I have the same problem: buyed from Twilio a local number, configured Sip Trunk in Twilio and RetellAI, calling to agent but it hangup after one ring. This is the last call_e65454eb949284c8c3be427d489
I've RESOLVED, done again on twilio and retellai - no login e password inserted in retell. read this https://docs.retellai.com/deploy/twilio#twilio thank you
k
@Omar Ashraf | Community Lead @Colin - Integrations @ Retell AI I need this problem resolved
o
So the problem of user hang up it , it usually happens because you are using UDP ,I want to change the URI to TCP like this sip.retellai.com;transport=tcp, Then use credential list and put a username and password on the phone number , and reconnect the phone number and put the username and password