mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
add param setting function to asr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16600 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -114,6 +114,8 @@ SWITCH_STANDARD_APP(detect_speech_function)
|
||||
switch_ivr_resume_detect_speech(session);
|
||||
} else if (!strcasecmp(argv[0], "stop")) {
|
||||
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 (argc >= 3) {
|
||||
switch_ivr_detect_speech(session, argv[0], argv[1], argv[2], argv[3], NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user