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
This commit is contained in:
Olle Johansson 2007-05-29 16:19:53 +00:00
parent f4e81d7a54
commit 0b67a7d80a
1 changed files with 1 additions and 1 deletions

View File

@ -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?