[asterisk-dev] SIP URI checking in chan_sip.c

Tilghman Lesher tlesher at digium.com
Tue Dec 1 08:44:47 CST 2009

On Tuesday 01 December 2009 06:17:08 Nick Lewis wrote:
> >INVITE, with a space in both the From: and Contact: headers. I posted a
> >
> >long an detailed report here about 24 hours ago.
> It would be good if we had a parser for incoming sip messages that
> strictly complied with the ABNF in RFC3261 & RFC2234. I have come
> across http://www.nongnu.org/bnf/ that may be able to generate the
> code automatically (not tried). Any non-compliance to the ABNF
> should be responded to with a "400 Bad Request"

For strict RFC compliance, sure.  Just remember that we value interoperability
above strict RFC compliance.

Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-dev mailing list