[OpenSIPS-Users] error-handling a parser error
Jeff Pyle
jpyle at fidelityvoice.com
Wed Jan 26 17:04:45 CET 2011
Hello,
I'm seeing errors like these:
/usr/local/sbin/opensips[24330]: ERROR:core:parse_uri: bad char '@' in state 0 parsed: <sip:> (4) / <sip:@66.xx.yy.101> (17)
/usr/local/sbin/opensips[24330]: ERROR:core:tr_eval_uri: invalid uri [sip:@66.xx.yy.101]
/usr/local/sbin/opensips[24330]: ERROR:core:do_assign: no value in right expression
/usr/local/sbin/opensips[24330]: ERROR:core:do_assign: error at line: 678
It's because a UAC is sending invalid RPID headers. When I try to parse it, it doesn't go so well.
Is there a way to handle these errors somehow so that I might reply with a 400 Bad Request?
- Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110126/6627885f/attachment.htm>
More information about the Users
mailing list