]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Make sure that we always add the hangupcause headers. In some cases, the owner was...
authorOlle Johansson <oej@edvina.net>
Thu, 29 Jan 2009 08:48:18 +0000 (08:48 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 29 Jan 2009 08:48:18 +0000 (08:48 +0000)
commit3209942b7e039fb6964129bcf1d69d95393d7a9d
tree55b1fe49bb46ac87a4d2e73fedd8434bb9560c15
parent13a60eba0c06a504ce0f3b3a5a304171bf6aa4a9
Make sure that we always add the hangupcause headers. In some cases, the owner was disconnected before we checked for the cause.
This patch implements a temporary storage in the pvt and use that instead.

The code is based on ideas from code from Adomjan in issue #13385 (Add support for Reason: header)
Thanks to Klaus Darillion for testing!

(closes issue #14294)
related to issue #13385

Reported by: klaus3000 and adomjan
Patches:
      bug14294b.diff uploaded by oej (license 306)
      Based on 20080829_chan_sip.c-q850reason_header.patch uploaded by adomjan (license 487)
Tested by: oej, klaus3000

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