mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
openzap: ignore fax dtmf event coming from wanpipe
This commit is contained in:
parent
c64f0b80ef
commit
a4f1cbe5f4
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user