[OpenSIPS-Users] Reject INVITEs with invalid (unable to be parsed) headers

Kennard White kennard_white at logitech.com
Fri Feb 25 19:57:07 CET 2011


Hi,

I use a modified version of functions db_check_from() and db_check_to() from
the "uri" module. See *patch upload **3076779.* This adds a "q" option so
that parse errors don't end up in syslog and an "e" option to only check for
well-formed-ness, not actually check the db.

Regards,
Kennard

On Fri, Feb 11, 2011 at 2:57 PM, thrillerbee <thrillerbee at gmail.com> wrote:

> What is the easiest way to identify traffic with invalid headers?
> Specifically, the from and to URIs.
> For example, if OpenSIPS is unable to parse a from URI, would $fu be NULL?
>
> Thanks.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110225/130275b6/attachment.htm>


More information about the Users mailing list