From: Chris Rienzo Date: Fri, 13 Jun 2014 14:05:53 +0000 (-0400) Subject: FS-6535 mod_rayo: allow unimrcp recognizer w/ profile specified X-Git-Tag: v1.5.13~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c54f45f4ae68c18bb3e5fef56fcc1d98129e227;p=thirdparty%2Ffreeswitch.git FS-6535 mod_rayo: allow unimrcp recognizer w/ profile specified --- diff --git a/src/mod/event_handlers/mod_rayo/rayo_input_component.c b/src/mod/event_handlers/mod_rayo/rayo_input_component.c index cd9c092dbb..464f8bc70b 100644 --- a/src/mod/event_handlers/mod_rayo/rayo_input_component.c +++ b/src/mod/event_handlers/mod_rayo/rayo_input_component.c @@ -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);