提交 2cb4e494 authored 作者: Seven Du's avatar Seven Du 提交者: Muteesa Fred

FS-11231 #resolve deprecate start_input_timers and add start-input-timers

上级 79ccf87a
......@@ -494,7 +494,10 @@ SWITCH_STANDARD_APP(detect_speech_function)
switch_ivr_stop_detect_speech(session);
} else if (!strcasecmp(argv[0], "param")) {
switch_ivr_set_param_detect_speech(session, argv[1], argv[2]);
} else if (!strcasecmp(argv[0], "start-input-timers")) {
switch_ivr_detect_speech_start_input_timers(session);
} else if (!strcasecmp(argv[0], "start_input_timers")) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "start_input_timers is deprecated, please use start-input-timers instead!\n");
switch_ivr_detect_speech_start_input_timers(session);
} else if (argc >= 3) {
switch_ivr_detect_speech(session, argv[0], argv[1], argv[2], argv[3], NULL);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论