mod_protovm: Add premitive tone playback before recording. Need to make this…

mod_protovm: Add premitive tone playback before recording.  Need to make this optional and configurable
上级 c06e8fdf
...@@ -222,6 +222,7 @@ switch_status_t captureMenuRecord(switch_core_session_t *session, dtmf_ss_t *loc ...@@ -222,6 +222,7 @@ switch_status_t captureMenuRecord(switch_core_session_t *session, dtmf_ss_t *loc
if (loc->audio_stopped == SWITCH_FALSE && loc->result == RES_WAITFORMORE) { if (loc->audio_stopped == SWITCH_FALSE && loc->result == RES_WAITFORMORE) {
loc->recorded_audio = SWITCH_TRUE; loc->recorded_audio = SWITCH_TRUE;
switch_ivr_gentones(session, "%(1000, 0, 640)", 0, NULL); /* TODO Make this optional and configurable */
status = switch_ivr_record_file(session, fh, file_path, &args, max_record_len); status = switch_ivr_record_file(session, fh, file_path, &args, max_record_len);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论