While using mod_unimrcp in freeswitch (with license) in lua script, speech is detected but not matched correctly with grammar. It shows 001-no match,but actually it matches with grammar. While trying in javascript, grammar does not load and speech does not detect. How can I solve this? Exception: SyntaxError: missing ) after the argument list "
session.execute("play_and_detect_speech") data=(/thilip/welcome.wavdetect:unimrcp:uni2 {start-input-timers=false,no-input-timeout=5000,recognition-timeout=5000} file:// /usr/local/freeswitch/grammar/sr.gram language=en-US;y=1;n=2 "
this is the line