andrenatal / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

Issue in token search in uni_recog_load_grammar #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. SpeechLoadGrammar(abonent,uri:cache://models/default)
2. MRCP client or connector reported: No such grammar file available.

What version of the product are you using? On what operating system?
uni-ast-package-0.3.2

Please provide any additional information below.
Looks like sizeof(uri_token) and sizeof(builtin_token) should be replaced with 
something like strlen(uri_token) and strlen(builtin_token)

Original issue reported on code.google.com by vladimir...@gmail.com on 19 Oct 2011 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
This issue has been fixed in r1807 the way it was supposed to be implemented.

http://code.google.com/p/unimrcp/source/detail?r=1807&path=/solutions/asterisk-u
nimrcp/res-speech-unimrcp/res_speech_unimrcp.c

Original comment by achalo...@gmail.com on 6 Mar 2013 at 2:50