diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-23 17:03:41 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-23 17:03:41 +0000 |
commit | 60f064a0f29935350b53b993197d32f07dc43a25 (patch) | |
tree | ba3c84177be60d5f6989f0d7c3310a2fbe862218 /channels/chan_dahdi.c | |
parent | 65f580763412fa700a0db93724883136b06fb8e7 (diff) |
We should not do restart messages if we're in PTMP mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170463 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 2 |
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); |