summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2009-01-23 17:03:41 +0000
committerMatthew Fredrickson <creslin@digium.com>2009-01-23 17:03:41 +0000
commitf5ee4e99faf56898c59ff89b5b539771df10e3f3 (patch)
treeba3c84177be60d5f6989f0d7c3310a2fbe862218 /channels
parenta992164529806da98027adb9710dabd86e68520e (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 257baff38..0d7012675 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);