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*
*
*

-- 

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to