diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 76c701a91e..9ced0cc6cd 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -9242,6 +9242,7 @@ static void *pri_dchannel(void *vpri) if (pri->pvts[chanpos]->call == e->ring.call) { ast_log(LOG_WARNING, "Duplicate setup requested on channel %d/%d already in use on span %d\n", PRI_SPAN(e->ring.channel), PRI_CHANNEL(e->ring.channel), pri->span); + ast_mutex_unlock(&pri->pvts[chanpos]->lock); break; } else { /* This is where we handle initial glare */