提交 a4f1cbe5 authored 作者: Moises Silva's avatar Moises Silva

openzap: ignore fax dtmf event coming from wanpipe

上级 c64f0b80
......@@ -1120,6 +1120,10 @@ ZIO_SPAN_NEXT_EVENT_FUNCTION(wanpipe_next_event)
//zap_log(ZAP_LOG_WARNING, "%d:%d queue hardware dtmf %s %s\n", zchan->span_id, zchan->chan_id, tmp_dtmf,
//tdm_api.wp_tdm_cmd.event.wp_tdm_api_event_dtmf_type == WAN_EC_TONE_PRESENT ? "on" : "off");
if (tmp_dtmf[0] == 'f') {
zap_log(ZAP_LOG_DEBUG, "Ignoring fax DTMF event\n");
break;
}
if (tdm_api.wp_tdm_cmd.event.wp_tdm_api_event_dtmf_type == WAN_EC_TONE_PRESENT) {
zap_set_flag_locked(zchan, ZAP_CHANNEL_MUTE);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论