On 25/03/2026 16:56, James Browne wrote:
On Wed, 25 Mar 2026 at 11:11, Richard Robson via sr-users
<[email protected]> wrote:
Are you handling the MESSAGE explicitly?
It sounds like you are falling through the script without doing anything
and the core is returning 500 No error by the SL module because there is
no transaction.
I'm not sure about that, because the default script behavior is to do
nothing. My understanding is that if there's a transaction, then TM
will send a final response if the script does not, but SL won't get
involved like that.
I can't remember the exact scenario, but I have seen this before and
IIRC that what was happening, But I could be wrong, Bit it would be a start
the best way to find out what is occurring it follow the logs or
manually step through the script and seeing what the logic will do with
a MESSAGE method.
I agree with this; that's how I always do it: add logs at many places
and eventually find the exact line of code that leads to the error
(and _then_ figure out why).
Yep, always add logs. I add them with a tag (making grepping easier) and
in both logic paths to confirm whish way it went.
Also is there any branching going on?
James
Regards,
Richard
On 19/03/2026 10:21, zhaobin via sr-users wrote:
I try send sip message from freeswitch to webrtc sip client,then
kamailio send back 500 error.
I have some question about this:
1:image show kamailio sl module send this error.Why sip message is
trans by sl module,not tm module?
2:about error show (2/SL),i know SL is sl module,and 2 is what?
3:so i must get debug log to get more infomations about this error?
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions --
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions --
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions --
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!