]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: ignore unknown wanpipe alarms
authorMoises Silva <moy@sangoma.com>
Wed, 11 Aug 2010 16:51:04 +0000 (12:51 -0400)
committerMoises Silva <moy@sangoma.com>
Wed, 11 Aug 2010 16:51:41 +0000 (12:51 -0400)
libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c

index 9a8cab411285d0e0b2b633b698e1873ae9c070da..d8b3c7d40d7e734e6d53c6e1725de64cfabd9563 100644 (file)
@@ -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;