mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-15 16:16:43 -07:00
We should not do restart messages if we're in PTMP mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10766,7 +10766,7 @@ static void *pri_dchannel(void *vpri)
|
||||
numdchans = i;
|
||||
time(&t);
|
||||
ast_mutex_lock(&pri->lock);
|
||||
if (pri->switchtype != PRI_SWITCH_GR303_TMC && (pri->resetinterval > 0)) {
|
||||
if ((pri->switchtype != PRI_SWITCH_GR303_TMC) && (pri->sig != SIG_BRI_PTMP) && (pri->resetinterval > 0)) {
|
||||
if (pri->resetting && pri_is_up(pri)) {
|
||||
if (pri->resetpos < 0)
|
||||
pri_check_restart(pri);
|
||||
|
||||
Reference in New Issue
Block a user