From f5ee4e99faf56898c59ff89b5b539771df10e3f3 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Fri, 23 Jan 2009 17:03:41 +0000 Subject: [PATCH] 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 --- channels/chan_dahdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);