Hello,
On 28/02/2017 17:05, Sergey Basov wrote:
Hi All.
Today I have problem with connection from 1 of the clients. Their PBX sends KEEP-ALIVE after some time after REGISTER.
I have next error in kamailio log
Feb 28 14:26:19 sbc2 /usr/sbin/kamailio[3657]: ERROR: <core> [tcp_read.c:1354]: tcp_read_req(): bad request, state=7, error=4 buf:#012KEEP-ALIVE sip:1.2.3.4 SIP/2.0#015#012#015#012#012parsed :#012KEEP-ALIVE sip:1.2.3.4 SIP/2.0
After which my kamailio closes TCP session....
This connection is done with sip TLS.
Is that message a single line like next?
KEEP-ALIVE sip:1.2.3.4 SIP/2.0
If yes, this is not a valid SIP message, because it lacks mandatory headers such as call-id, cseq, from/to.
Cheers, Daniel