From 60f064a0f29935350b53b993197d32f07dc43a25 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 23 Jan 2009 17:03:41 +0000 Subject: 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 --- channels/chan_dahdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_dahdi.c') 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); -- cgit v1.2.3