hi Arsen,
just found this new function of RECOG_INSTANCE() ,and i have some problem with that..hope you can see see,thanks.
when i use RECOG_INSTANCE(0/0), there is no result....and it may be "你好“ if it works.
I'am confused with that these days...may be you can easily help me...thanks again.
below is my dialplan:
exten => s,1,Answer
exten => s,n,SynthAndRecog(Hello,Please say something,builtin:grammar/number,t=5000&b=1&ct=0.2&sl=0.8&spl=zh-CN&rm=hotword&uer=1)
exten => s,n,Verbose(1,The recognized extension was ${RECOG_INSTANCE(0/0)})
and here is the log in short:
app_synthandrecog.c:1292 synthandrecog_exit: SynthAndRecog() exiting status: OK on SIP/8001-0000e7e2
-- Executing [s@synthandrecog-app1:5] Verbose("SIP/8001-0000e7e2", "1,The recognized extension was ") in new stack
The recognized extension was
-- Executing [s@synthandrecog-app1:6] Verbose("SIP/8001-0000e7e2", "1, OK, 000, <?xml version="1.0" encoding="utf-8" ?>
-- <result>
-- <instance confidence="100">你好</instance>
-- <ext>
-- <logid>00953718d8c911ea_1_1</logid>
-- </ext>
-- </result>