]> git.ipfire.org Git - thirdparty/asterisk.git/commit
send a 400 Bad Request on malformed sip request
authorDavid Vossel <dvossel@digium.com>
Tue, 29 Jun 2010 20:44:05 +0000 (20:44 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 29 Jun 2010 20:44:05 +0000 (20:44 +0000)
commit64ae2e1e2a017c72da0178e13930d486f6485edd
tree7d63d3c242790615706f0aa3382f8c95c811bb0c
parent1555c082e3c6b5b4280501a603d8e0240d27da96
send a 400 Bad Request on malformed sip request

RFC 2361 section 24.4.1 send a 400 Bad Request if the request
can not be understood due to malformed syntax.  Currently we
simply ignore a packet with a missing callid, to, from, or
via header.  Instead of ignoring we now send the 400 Bad request.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@272981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c