Seems it crashes when receiving register request like this:
REGISTER sip:1.2.3.4:5060 SIP/2.0
Via: SIP/2.0/UDP 1.2.3.4:5060;branch=z9hG4bK724588683
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
@miconda thanks, got it. For some reason I can't reproduce this yet, maybe due
to absence of production load.
I activated core dumps, will update issue in case of reproduction.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on
Thanks, I'll get the core dump.
It is harder to get a siptrace, as our SIP message tracking systems seem to
ignore this request, maybe due to its incorrect format.
I'll try to dump a traffic for some time with tcpdump and give details about
SIP message.
--
You are receiving this because you
### Description
Periodically Kamailio crashes, log shows that it happens on REGISTER request
with incorrect params. I don't know if it is a network problem or somebody
sends incorrect request, but there are records in logs:
Log Messages
Jan 30 03:49:29 kam /usr/sbin/kamailio[20718]:
### Description
is_in_subnet function requires subnet param to be network address and fails for
host address in cidr notation despite it is contained in corresponding subnet.
For example, is_in_subnet("1.2.3.2", "1.2.3.0/30") returns true
but
is_in_subnet("1.2.3.2", "1.2.3.2/30") returns false,
Looking into code it seems RPC functions of USRLOC don't allow setting all
fields for USRLOC entry, for example, Received and Socket.
It would be great if we can set these, because we need to have ability to
transfer contacts from other server to Kamailio.
I think at present this can be done