<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
content-length checking is done by sanity_check() function from
sanity module, used in route[REQINIT]. I do not recall any changes
to this function for 4.2. Anyhow, you can remove the check on
content-length if you want, see the readme of the sanity module to
get the value of appropriate flag that has to be removed from
sanity_check() parameter.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 27/10/14 03:41, andrew wrote:<br>
</div>
<blockquote
cite="mid:3fed5b34.5ef2.1494f7aba59.Coremail.androidappaccount@163.com"
type="cite">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>hi all,</div>
<div><br>
</div>
<div>kamailio 4.2.x has been released, And I used two endpoint
to test kamailio server. I install kamailio 4.2.x on centos
6.5 via 'yum'. </div>
<div><br>
</div>
<div>One endpoint failed to call another, I captured packets
via wireshark, and found that invite method is recognized as
error sip signal because of content-length' mismatch. </div>
<div><br>
</div>
<div>I examined the invite packets, and calculated
content-length in invite signal. There is no mistake for the
value of content-length. I guess it may be a bug in kamailio
4.2.x. But I don't know what causes kamailio to report the
mismatch response. who can give me help?</div>
<div><br>
</div>
<div><span style="line-height: 1.7;">I have uploaded the
captured packets as an attachment. Below are two snapshots
from the captured packets.</span></div>
<div><span style="line-height: 1.7;"><br>
</span></div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<img moz-do-not-send="true"
src="file:///C:%5CUsers%5Ct61%5CDocuments%5CTencent%20Files%5C85229868%5CImage%5C28F_Q]QC92FUZ@J9F6JIYV1.jpg"></div>
</div>
<div><span style="line-height: 1.7;"><br>
</span></div>
<div>B.R.</div>
<div><br>
</div>
<div>andrew</div>
<div>
<div>
<img moz-do-not-send="true"
src="file:///C:%5CUsers%5Ct61%5CDocuments%5CTencent%20Files%5C85229868%5CImage%5C28F_Q]QC92FUZ@J9F6JIYV1.jpg"></div>
</div>
<div>
<div><img moz-do-not-send="true"
src="file:///C:%5CUsers%5Ct61%5CDocuments%5CTencent%20Files%5C85229868%5CImage%5C28F_Q]QC92FUZ@J9F6JIYV1.jpg"
style="line-height: 1.7;"></div>
</div>
<div>
<div>
<img moz-do-not-send="true"
src="file:///C:%5CUsers%5Ct61%5CDocuments%5CTencent%20Files%5C85229868%5CImage%5C28F_Q]QC92FUZ@J9F6JIYV1.jpg"></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>