Re: about sip message
Ben Kaufman via sr-users <[email protected]> Thu, 26 Mar 2026 14:14:36 +0000
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <SJ5PPF77ABF615C025CAE2F7BCD59EA73E7A456A@SJ5PPF77ABF615C.namprd11.prod.outlook.com> |
TM does not send a reply automatically. It will relay a received failure automatically, but if your config looks like this:
request_route {
t_newtran();
exit;
}
There will be no reply sent, and Kamailio will log this:
10(16) WARNING: [54a0809b-23b2-4448-8f72-63867c6b0ecf INVITE-154400 <null>] tm [t_lookup.c:2060]: t_unref(): script writer didn't release transaction
In addition to the suggestion of adding more log lines (which is a solid idea, especially if they’re at dbg level), I often find it’s helpful to create as simple an example as possible (like my example above) to check the behavior.
Regards,
Kaufman
From: James Browne via sr-users <[email protected]>
Date: Wednesday, March 25, 2026 at 12:00 PM
To: Kamailio (SER) - Users Mailing List <[email protected]>
Cc: James Browne <[email protected]>
Subject: [SR-Users] Re: about sip message
CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
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.
>
> 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).
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!
__________________________________________________________
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!