[asterisk-commits] mattf: trunk r170463 - /trunk/channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 23 11:03:41 CST 2009
Author: mattf
Date: Fri Jan 23 11:03:41 2009
New Revision: 170463
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170463
Log:
We should not do restart messages if we're in PTMP mode
Modified:
trunk/channels/chan_dahdi.c
Modified: trunk/channels/chan_dahdi.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=170463&r1=170462&r2=170463
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Fri Jan 23 11:03:41 2009
@@ -10766,7 +10766,7 @@
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);
More information about the asterisk-commits
mailing list