Be more consistent with the return code for requests received from invalid domain.
authorMark Michelson <mmichelson@digium.com>
Mon, 25 Jun 2012 14:30:19 +0000 (14:30 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 25 Jun 2012 14:30:19 +0000 (14:30 +0000)
commit87810af23dc9ca98a6f544fee78dcd58022c813a
tree1257e1bbb6bfbb2550e0580d2fd378b6b0b6415a
parentb78d79c20370cfea6ef0daf76fb889e8326d12ce
Be more consistent with the return code for requests received from invalid domain.

When Asterisk receives an INVITE from an external domain when allowexternaldomains=no
send a 403 instead of a 404. This is consistent with Asterisk's behavior when receiving
a REGISTER in this situation.

(Closes issue ASTERISK-19601)
Reported by Matthew Jordan
Patches:
ASTERISK-19601-no401.patch uploaded by Mark Michelson (License #5049)
........

Merged revisions 369302 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 369303 from http://svn.asterisk.org/svn/asterisk/branches/10

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