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 -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users