Relay proper SIP responses on calling side.
authorMark Michelson <mmichelson@digium.com>
Mon, 4 Jun 2012 22:12:19 +0000 (22:12 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 4 Jun 2012 22:12:19 +0000 (22:12 +0000)
commitd210685a20c950e418b84e3c6f085e2f7f19f299
tree07a9ffab972080a9d64b0ea229c0c8838a2beb79
parentcc69a0deaf02e0de50b31d3d2c4d50a93c5eeaa0
Relay proper SIP responses on calling side.

Revision 351130 broke corect HANGUPCAUSE setting
for the 404 case in chan_sip. Other cases were also
potentially broken. This patch fixes the relaying
of causes to be what they used to be.

(closes issue ASTERISK-19914)
Reported by Pavel Troller
Tested by Walter Doekes (via a reviewboard test to be committed later)
Patches:
chan_sip.diff uploaded by Pavel Troller (license #6302)
........

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

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

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