[OpenSIPS-Users] [NEW] SIP validation function

Razvan Crainea razvan at opensips.org
Mon Feb 20 13:50:22 CET 2012


Hello, all!

OpenSIPS has been enhanced with a new function, sipmsg_validate, that 
verifies if the received SIP request or reply is compliant with the 
RFC3261[1]. The function can be found in the new sipmsgops module[2], 
along with all the SIP aware messages from the textops module[3]. In 
consequence, all the SIP related functions were moved from the textops 
module to the sipmsgops module.

The new sipmsg_validate function can be used to prevent malformed SIP 
messages from propagating through your network, and also avoid expensive 
processing them from the start.

Any feedback will be really appreciated.

[1] http://www.ietf.org/rfc/rfc3261.txt
[2] http://www.opensips.org/html/docs/modules/devel/sipmsgops.html
[3] http://www.opensips.org/html/docs/modules/devel/textops.html

Regards,

--
Răzvan Crainea
OpenSIPS Developer
http://www.opensips-solutions.com




More information about the Users mailing list