diff options
author | Olle Johansson <oej@edvina.net> | 2007-05-29 16:19:53 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2007-05-29 16:19:53 +0000 |
commit | 0b67a7d80a09442121a706338f7d6dc55c7a41e2 (patch) | |
tree | 2ac6e36d86728cc27ed4f5d51c72908f2adb4032 /channels | |
parent | f4e81d7a54f0c766457754667b66d0a6582b95b9 (diff) |
Merged revisions 66414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66414 | oej | 2007-05-29 18:07:44 +0200 (Tue, 29 May 2007) | 2 lines
Don't reset hangupcause if we already have one
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 80a5424f9..7350779b9 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2096,7 +2096,7 @@ static int retrans_pkt(void *data) usleep(1); sip_pvt_lock(pkt->owner); } - if (pkt->owner->owner) + if (pkt->owner->owner && !pkt->owner->owner->hangupcause) pkt->owner->owner->hangupcause = AST_CAUSE_NO_USER_RESPONSE; if (pkt->method == SIP_BYE) { /* Ok, we're not getting answers on SIP BYE's. Who cares? |