From: Russell Bryant Date: Thu, 25 Nov 2004 07:20:12 +0000 (+0000) Subject: decrement use counter after timeout on INVITE (bug 2898) X-Git-Tag: 1.0.11.1~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902661dd8e95cef1e9376e2e0946dccbc63b1d0a;p=thirdparty%2Fasterisk.git decrement use counter after timeout on INVITE (bug 2898) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4338 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 700301f335..0070f8552a 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -690,6 +690,7 @@ static int retrans_pkt(void *data) ast_mutex_lock(&pkt->owner->lock); } if (pkt->owner->owner) { + pkt->owner->alreadygone=1; ast_queue_hangup(pkt->owner->owner); ast_mutex_unlock(&pkt->owner->owner->lock); } else {