[SR-Users] Help with KEEP-ALIVE method

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 1 14:57:58 CET 2017


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




More information about the sr-users mailing list