Yes, in my test te parameter reparse_invite was enabled. And I was using Kamailio 4.4.2.
Regards,Helio
De: "Daniel-Constantin Mierla" <mico...@gmail.com>
Enviada: 2016/12/01 06:52:04
Para: sr-users@lists.sip-router.org, hok.s...@gmail.com
Assunto: Re: [SR-Users] Local messages are malformed in Kamailio 4.4.X
Hello,
have you set modparams for tm module related to reparsing the invite or on dns failover?
The build_local() should be used only in some specific cases and want to be sure it doesn't get executed somehow when it shouldn't be.
Cheers,
Daniel
On 30/11/2016 16:40, Helio Okuyama wrote:
Local messages are malformed in Kamailio 4.4.X. For example after receiving an error response (603) to an INVITE message, the ACK is generated with header Max-Forwards concatenated to header CSeq and double CRLF, which is wrong.Via: SIP/2.0/TLS 173.16.10.61:5061;branch=z9hG4bKc782.5b960c7c48a4363a0126963daa797eb0.0;i=7From: "22861"<sip:22861@173.16.10.61;transport=tls>;tag=snl_OIPEOzJUNyCall-ID: 61b500a71b510a1Pj61qq1k9dPWTo: <sip:551138174108@174.16.4.108:5061;transport=tls>;tag=435012226CSeq: 2351 ACKMax-Forwards: 70User-Agent:...The fix for that seems to be just the order of append_str in function build_local() from tm\t_msgbuilder.c.append_str( p, method, method_len );+ append_str( p, CRLF, CRLF_LEN );append_str( p, MAXFWD_HEADER, MAXFWD_HEADER_LEN );- append_str( p, CRLF, CRLF_LEN );_______________________________________________ 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
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.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