New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 error on invite response #1395
Comments
Do you have any sl_send_reply()/send_reply()/t_reply() in kamailio.cfg that has the second parameter a variable? If yes, that variable might not be set (or set to an empty string)... Kamailio doesn't send many 500 responses internally in the code, so likely is from kamailio.cfg. |
The second parameter of the sl_send_reply() is the default message string for each code. |
Looking more at the debug messages, the SIP response without the reason text is received by Kamailio, not generated by Kamailio ... Can you check that? Sniff sip traffic on all interfaces in case there is a spiral/loop. Also, maybe you can share more debug messages printed by pid 21953, before those that you pasted in the first post. |
this is a more accurate debug trace: The 500 code seems to be sent indeed by client (using pjsip). |
Closing, the issue of missing reason text is not in kamailio. Maybe you can get an workaround in kamailio with: |
Description
In some calls I'm getting a 500 error on invite message reponse without reason message.
Some times it works well and others the 500 error arises with the same code and situation.
Log Messages
SIP Traffic
Additional Information
kamailio -v
The text was updated successfully, but these errors were encountered: