diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-29 16:19:53 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-29 16:19:53 +0000 |
commit | a6bb4b17967055df269ba5e1ef8d041236d26965 (patch) | |
tree | 2ac6e36d86728cc27ed4f5d51c72908f2adb4032 /channels | |
parent | e272208606e9c7941067818a19eae15c0136787e (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: http://svn.digium.com/svn/asterisk/trunk@66433 f38db490-d61c-443f-a65b-d21fe96a405b
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? |