freetdm: remove warning when checking sig status

This commit is contained in:
Moises Silva 2010-04-21 18:25:15 -04:00 committed by Moises Silva
parent de2a4ea100
commit 1f895fe6ed
1 changed files with 0 additions and 2 deletions

View File

@ -2344,11 +2344,9 @@ static FIO_CHANNEL_GET_SIG_STATUS_FUNCTION(sangoma_boost_get_channel_sig_status)
{ {
ftdm_sangoma_boost_data_t *sangoma_boost_data = ftdmchan->span->signal_data; ftdm_sangoma_boost_data_t *sangoma_boost_data = ftdmchan->span->signal_data;
if (!sangoma_boost_data->sigmod) { if (!sangoma_boost_data->sigmod) {
ftdm_log(FTDM_LOG_ERROR, "Cannot get signaling status in boost channel with no signaling module configured\n");
return FTDM_FAIL; return FTDM_FAIL;
} }
if (!sangoma_boost_data->sigmod->get_channel_sig_status) { if (!sangoma_boost_data->sigmod->get_channel_sig_status) {
ftdm_log(FTDM_LOG_ERROR, "Cannot get signaling status in boost channel: method not implemented\n");
return FTDM_NOTIMPL; return FTDM_NOTIMPL;
} }
return sangoma_boost_data->sigmod->get_channel_sig_status(ftdmchan, status); return sangoma_boost_data->sigmod->get_channel_sig_status(ftdmchan, status);