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:
Anthony Minessale committed 2010-02-10 15:38:32 +00:00
1 parent a40623e605
commit df9632f263
3 files changed
+13

No files matched your search

@@ -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);
}