diff --git a/channels/chan_zap.c b/channels/chan_zap.c index f7efa069f55bcdeb79d92cbdc36cc286fb755105..edcc0e5a7fbafb218c1a29cc6dc2a75d4d6f2254 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -8903,7 +8903,10 @@ static void *ss7_linkset(void *data) } else { p = linkset->pvts[chanpos]; ast_mutex_lock(&p->lock); - p->ss7call = NULL; + if (p->alreadyhungup) + p->ss7call = NULL; + else + ast_log(LOG_NOTICE, "Received RLC out and we haven't sent REL. Ignoring.\n"); ast_mutex_unlock(&p->lock); } break;