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