git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-06-17 14:53:25 +00:00
parent f75a3079e0
commit 3932d756d4
1 changed files with 2 additions and 2 deletions

View File

@ -6965,7 +6965,7 @@ static void *pri_dchannel(void *vpri)
} else {
chanpos = pri_fixup_principle(pri, chanpos, e->ring.call);
if (chanpos > -1) {
ast_mutex_lock(&pri->pvts[x]->lock);
ast_mutex_lock(&pri->pvts[chanpos]->lock);
/* queue DTMF frame if the PBX for this call was already started (we're forwarding INFORMATION further on */
if (pri->overlapdial && pri->pvts[chanpos]->call==e->ring.call && pri->pvts[chanpos]->owner) {
/* how to do that */
@ -6980,7 +6980,7 @@ static void *pri_dchannel(void *vpri)
}
}
}
ast_mutex_unlock(&pri->pvts[x]->lock);
ast_mutex_unlock(&pri->pvts[chanpos]->lock);
}
}
break;