From 5a2042fcb6078b0270dd8b3d6709c2f36eeffc02 Mon Sep 17 00:00:00 2001 From: Moises Silva Date: Wed, 11 Aug 2010 12:51:04 -0400 Subject: [PATCH] freetdm: ignore unknown wanpipe alarms --- libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c b/libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c index 9a8cab4112..d8b3c7d40d 100644 --- a/libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c +++ b/libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c @@ -991,10 +991,9 @@ static FIO_GET_ALARMS_FUNCTION(wanpipe_get_alarms) alarms &= ~WAN_TE_BIT_ALARM_RAI; } - /* if we still have alarms that we did not map, set the general alarm */ if (alarms) { + /* FIXME: investigate what else does the driver report */ ftdm_log(FTDM_LOG_DEBUG, "Unmapped wanpipe alarms: %d\n", alarms); - ftdmchan->alarm_flags |= FTDM_ALARM_GENERAL; } return FTDM_SUCCESS;