summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 38b390585..183b2da35 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3482,6 +3482,7 @@ static int retrans_pkt(const void *data)
if (pkt->method == SIP_BYE) {
/* We're not getting answers on SIP BYE's. Tear down the call anyway. */
+ sip_alreadygone(pkt->owner);
if (pkt->owner->owner) {
ast_channel_unlock(pkt->owner->owner);
}