From: Moises Silva Date: Wed, 11 Aug 2010 16:51:04 +0000 (-0400) Subject: freetdm: ignore unknown wanpipe alarms X-Git-Tag: v1.2-rc1~526^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2042fcb6078b0270dd8b3d6709c2f36eeffc02;p=thirdparty%2Ffreeswitch.git freetdm: ignore unknown wanpipe alarms --- 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;