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
1.6.2
Matthew Fredrickson 17 years ago
parent a992164529
commit f5ee4e99fa

@ -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);

Loading…
Cancel
Save