From: Matthew Fredrickson Date: Fri, 23 Jan 2009 17:03:41 +0000 (+0000) Subject: We should not do restart messages if we're in PTMP mode X-Git-Tag: 1.6.2.0-beta1~379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ee4e99faf56898c59ff89b5b539771df10e3f3;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 257baff38d..0d70126755 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -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);