mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-17 08:44:13 +00:00
FS-6535 mod_rayo: allow unimrcp recognizer w/ profile specified
This commit is contained in:
1 parent
950de7fc5c
commit
4c54f45f4a
1 file changed
+1
-1
@@ -574,7 +574,7 @@ static iks *start_call_voice_input(struct input_component *component, switch_cor
|
||||
|
||||
if (!strcmp(component->recognizer, "pocketsphinx")) {
|
||||
grammar = setup_grammars_pocketsphinx(component, session, input, &stanza_error, &error_detail);
|
||||
} else if (!strcmp(component->recognizer, "unimrcp")) {
|
||||
} else if (!strncmp(component->recognizer, "unimrcp", strlen("unimrcp")) {
|
||||
grammar = setup_grammars_unimrcp(component, session, input, &stanza_error, &error_detail);
|
||||
} else {
|
||||
grammar = setup_grammars_unknown(component, session, input, &stanza_error, &error_detail);
|
||||
|
||||
Reference in new issue
Block a user