]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
We should not do restart messages if we're in PTMP mode
authorMatthew Fredrickson <creslin@digium.com>
Fri, 23 Jan 2009 17:03:41 +0000 (17:03 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Fri, 23 Jan 2009 17:03:41 +0000 (17:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170463 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 257baff38d16fef83db5c4174972943932301279..0d701267559a4c283b73b71a77f070ed9af85187 100644 (file)
@@ -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);