https://retellai.com/?utm_source=discord&utm_medium=seo logo
SIP error - help
# ❓・bug-report
h
Error dialing to user, SIP status code: undefined SIP error category: user_no_answer Error: twirp error unknown: canceled Could you please let me know why this error appears from some calls and how to solve it?
s
The error means the call was canceled or timed out, and no explicit SIP status was returned, so the system reports an internal Twirp cancellation. Check timeouts, client-side cancellation logic, and SIP logs to diagnose where the flow stops. Adding fallback logic or retries for user_no_answer cases can improve reliability.
q
@shahretell so what was the solution here? Nothing was said, just the problem was regurgigated the same way @hetavp_91161 explained. @hetavp_91161 did you ever find a solution to this? @justin.leon. and me are struggling with the same exact problem.
s
Twirp’s unknown/canceled are catch-alls used when an upstream API doesn’t return enough info or the operation is cancelled/timeout occurs.
n
@shahretell Allow me to try and shed some light on the topic. In SIP, there are various result codes that indicate a call had completed. These are as following:
200 OK
- Call had completed successfully and was answered.
486 BUSY
- The far end is currently on the phone and can't receive a new call.
480 Temporarily Unavailable
- This is basically a far-end timeout, or a no-answer.
487 Request Terminated
- This means the origin abandoned the call, using a
SIP CANCEL
request, and the 487 response acknoledges it.
404 Not Found
- Thie is a far-end error saying the destination doesn't exist.
5xx Error
- Can be anything from a routing error to an application error. When a
canceled
error is triggered, it means the call origin had abandoned the call (
SIP CANCEL
) resulting in a
487 Request Terminated
error reported. Hope that sheds some additional light on the topic.
q
@nir.simionovich looks like @shahretell cares a lot.
n
@Qcumbers | CC I'm not sure what you mean
s
Hi @Qcumbers | CC do you need anyother help feel free to ask any question about your problem you are facing