[OpenSIPS-Users] Message size and msg:len
Kevin Mathy
k.mathy at hexanet.fr
Tue Mar 26 14:47:59 CET 2013
Hi List,
For now, we've got in our code the following lines to check the message
size :
*if(msg:len>2048)*
* {*
* sl_send_reply("413", "message too large");*
* xlog("L_ERR","$ci Message Too Large for: [$fu/$tu/$ru/$ci]\n");*
* exit;*
* };*
*
*
But, I'd like to know if "msg:len" equals the size of SIP Message + SDP
Body ? Or only SIP Message, without SDP ?
If it doesn't care of SDP Body, how can we check its size ?
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...
Thanks a lot,
*
Bien cordialement,
Best Regards,
**Kevin MATHY*
*
*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130326/3f4f4647/attachment.htm>
More information about the Users
mailing list