Hi List, <div><br></div><div>For now, we've got in our code the following lines to check the message size :</div><div><br></div><div><div><i>if(msg:len>2048)</i></div><div><i> {</i></div><div><i> sl_send_reply("413", "message too large");</i></div>
<div><i> xlog("L_ERR","$ci Message Too Large for: [$fu/$tu/$ru/$ci]\n");</i></div><div><i> exit;</i></div><div><i> };</i></div><div><i><br></i></div><div>But, I'd like to know if "msg:len" equals the size of SIP Message + SDP Body ? Or only SIP Message, without SDP ? </div>
<div>If it doesn't care of SDP Body, how can we check its size ? </div><div><br></div><div>I'm asking that because one of our providers may send us SIP messages of 2048 bytes, with SDP body of 1024 bytes, and we have to adapt our OpenSIPS configuration...</div>
<div><br></div><div>Thanks a lot, </div><div><br></div><div><b><div><span style="font-weight:normal">Bien cordialement, </span></div><div><span style="font-weight:normal">Best Regards, </span></div><div><span style="font-weight:normal"><br>
</span></div></b><b>Kevin MATHY</b><div><b><br></b></div></div>
</div>
<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif">