From 81f01f0ee7ed5bef174ee5e47e3932192b74f805 Mon Sep 17 00:00:00 2001 From: Moises Silva Date: Thu, 6 Jan 2011 14:33:28 -0500 Subject: [PATCH] freetdm: handle ZT_EVENT_NONE --- libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c b/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c index 5b507bd0b9..6c6d6ddd15 100644 --- a/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c +++ b/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c @@ -1064,6 +1064,12 @@ static __inline__ ftdm_status_t zt_channel_process_event(ftdm_channel_t *fchan, fchan->rx_cas_bits = bits; } break; + case ZT_EVENT_NONE: + { + ftdm_log_chan_msg(fchan, FTDM_LOG_DEBUG, "No event\n"); + *event_id = FTDM_OOB_NOOP; + } + break; default: { ftdm_log_chan(fchan, FTDM_LOG_WARNING, "Unhandled event %d\n", zt_event_id);