freetdm: handle ZT_EVENT_NONE

This commit is contained in:
Moises Silva 2011-01-06 14:33:28 -05:00
parent a3499c5343
commit 81f01f0ee7
1 changed files with 6 additions and 0 deletions

View File

@ -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);