Am i missing a configuration step? is it because of asterisk, unimrcp,
pocketsphinx or an silly mistake that i made the reason of this error?. Please
need some guidelines. Really need and want to get this working togheter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Open the file ../data/default.dic and add the word 'two' there. Get the
transcription from the file
pocketsphinx/model/lm/en_US/cmu07a.dic
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-26
I checked that, and i remember to look for the word "two" and was in there.
Actually, the default grammar.jsgf had the word "three" too, and the error
said:
ERROR: "fsg_search.c", line 332: The word 'three' is missing in the dictionary
exactly the same, i tried with tidigits model and "tidigits.dic" too and
nothing, the same mistake; also tried with pockesphinx0.6.1 and
sphinxbase0.6.1 and had the same problem. At this moment i'm formatting my pc
and i'll try again with a fresh new install because i really don't understand
what has happened.
Thank's for you reply.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I checked that, and i remember to look for the word "two" and was in there.
Actually, the default grammar.jsgf had the word "three" too, and the error
said:
Most likely you edited wrong dictionary. The dictionary is located in data
folder and it's name is default.dic. You can share this file if you don't see
yourself what is wrong there.
At this moment i'm formatting my pc and i'll try again with a fresh new
install because i really don't understand what has happened.
That's not the right thing to do. It's like you will buy a new one if previous
doens't work
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-27
Hi again nsh. The file i edited was in the data folder, but, after i
downloaded all the files again, i installed unimrcp 1.0.0 again with
pocketsphinx and sphinxbase both 0.7 version, the rare thing was that neither
the default.dic and the wsj1 default model were on the data/ folder. So i ran
copied the dictionary that you suggested and create a test dictionary.
These are my configuration files:
unimrpclient-config-snapshot
<properties><!-- By default, network interface (IP address) to bind to will be implicitly identified. Alternatively, it can be explicitly set. --><iptype="auto"/><!-- <ip>10.10.0.1</ip> --><!-- <ext-ip>a.b.c.d</ext-ip> --><!-- <server-ip>a.b.c.d</server-ip> --></properties>
pocketsphinx.xml
<?xml version="1.0" encoding="UTF-8"?><!-- PocketSphinx Document --><pocketsphinx><sensitivitylevel="50"timeout="300"/><timersnoinput-timeout="10000"recognition-timeout="15000"/><modeldir=""narrowband="Communicator_40.cd_cont_4000"wideband="Communicator_40.cd_cont_4000"dictionary="default.dic"preferred="narrowband"/><save-waveformdir=""enable="0"/></pocketsphinx>
res-speech-unimrcp is default.
and this is the Dialplan:
[example-pocketsphinx]exten=> 5551,1,Answer()exten=> 5551,2,SpeechCreate()exten=> 5551,3,SpeechLoadGrammar(digit,/usr/local/unimrcp/data/grammar.jsgf)exten=> 5551,4,SpeechActivateGrammar(digit)exten=> 5551,5,SpeechBackground(beep,20)exten=> 5551,6,Verbose(1,Fernando es ${SPEECH(results)} y ${SPEECH_TEXT(0)})exten=> 5551,7,GotoIf($[${SPEECH(results)} = 0]?8:10)exten=> 5551,8,Playback(vm-nonumber)exten=> 5551,9,Goto(5)exten=> 5551,10,Verbose(1,The recognized input is ${SPEECH_TEXT(0)})exten=> 5551,11,Verbose(1,The score is ${SPEECH_SCORE(0)})exten=> 5551,12,Verbose(1,The matched grammar is ${SPEECH_GRAMMAR(0)})exten=> 5551,13,SpeechDeactivateGrammar(digit)exten=> 5551,14,SpeechUnloadGrammar(digit)exten=> 5551,15,SpeechDestroy()exten=> 5551,16,Hangup()
Now the "SpeechLoadGrammar(digit,/usr/local/unimrcp/data/grammar.jsgf)"
instruction it's being passed.
[Sep2711:15:57]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:1]Answer("SIP/4001-00000006","")innewstack[Sep2711:15:58]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:2]SpeechCreate("SIP/4001-00000006","")innewstack[Sep2711:15:58]NOTICE[3379]app_unimrcp.c:CreateMRCPHandle0xa5236d0[uni2][Sep2711:15:58]DEBUG[3379]app_unimrcp.c:CreateChannel0xa5236d0<new>[Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:Sendsessionrequesttype:2[Sep2711:15:58]DEBUG[3379]app_unimrcp.c:SignalMessageto[MRCPClient][4;0][Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:Waitforsessionresponse[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][4;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ReceiveAppRequest0xa5236d0<new>[2][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:AddMRCPHandle0xa5236d0<new>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:DispatchAppRequest0xa5236d0<new>[2][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SignalMessageto[MRCPv2-Agent-1][1;0][Sep2711:15:58]NOTICE[3199]app_unimrcp.c:AddControlChannel0xa5236d0<new@speechrecog>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:AddMediaTermination0xa5236d0<new@media-tm>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:AddMediaTermination0xa5236d0<new@rtp-tm>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SignalMessageto[Media-Engine-1][1;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessPollerWakeup[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessMessage[MRCPv2-Agent-1][1;0][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;0][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ControlChannelAdded0xa5236d0<new@speechrecog>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3203]app_unimrcp.c:ProcessMessage[Media-Engine-1][1;0][Sep2711:15:58]DEBUG[3203]app_unimrcp.c:AddMediaContext0xa5236d0[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][3;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:MediaTerminationAdded0xa5236d0<new@media-tm>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:MediaTerminationAdded0xa5236d0<new@rtp-tm>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SendOffer0xa5236d0<new>[c:1a:1v:0]to127.0.0.1:8060[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:LocalSDP0xa5236d0<new>v=0^Mo=UniMRCPClient00INIP4127.0.0.1^Ms=-^Mc=INIP4127.0.0.1^Mt=00^Mm=application9TCP/MRCPv21^Ma=setup:active^Ma=connection:new^Ma=resource:speechrecog^Ma=cmid:1^Mm=audio4004RTP/AVP0896101^Ma=rtpmap:0PCMU/8000^Ma=rtpmap:8PCMA/8000^Ma=rtpmap:96L16/8000^Ma=rtpmap:101telephone-event/8000^Ma=fmtp:1010-15^Ma=sendonly^Ma=ptime:20^Ma=mid:1^M[Sep2711:15:58]DEBUG[3200]app_unimrcp.c:ReceiveSIPEvent[nua_i_state]Status0INVITEsent[Sep2711:15:58]NOTICE[3200]app_unimrcp.c:SIPCallState0xa5236d0[calling][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3200]app_unimrcp.c:ReceiveSIPEvent[nua_r_invite]Status200OK[Sep2711:15:58]DEBUG[3200]app_unimrcp.c:ReceiveSIPEvent[nua_i_state]Status200OK[Sep2711:15:58]NOTICE[3200]app_unimrcp.c:SIPCallState0xa5236d0[ready][Sep2711:15:58]DEBUG[3200]app_unimrcp.c:RemoteSDP0xa5236d0<new>v=0^Mo=UniMRCPServer9324353412520179866236807942614359170INIP410.4.10.171^Ms=-^Mc=INIP4127.0.0.1^Mt=00^Mm=application1544TCP/MRCPv21^Ma=setup:passive^Ma=connection:new^Ma=channel:a02f9a94980c4c02@speechrecog^Ma=cmid:1^Mm=audio5000RTP/AVP0101^Ma=rtpmap:0PCMU/8000^Ma=rtpmap:101telephone-event/8000^Ma=fmtp:1010-15^Ma=recvonly^Ma=ptime:20^Ma=mid:1^M[Sep2711:15:58]DEBUG[3200]app_unimrcp.c:ReceiveSIPEvent[nua_i_active]Status200Callactive[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][1;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ReceiveAnswer0xa5236d0<new>[c:1a:1v:0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ModifyControlChannel0xa5236d0<a02f9a94980c4c02>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SignalMessageto[MRCPv2-Agent-1][1;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ModifyMediaTermination0xa5236d0<a02f9a94980c4c02@rtp-tm>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SignalMessageto[Media-Engine-1][1;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessPollerWakeup[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessMessage[MRCPv2-Agent-1][1;0][Sep2711:15:58]NOTICE[3202]app_unimrcp.c:EstablishedTCP/MRCPv2Connection127.0.0.1:41900<->127.0.0.1:1544[Sep2711:15:58]DEBUG[3202]app_unimrcp.c:AddControlChannel<a02f9a94980c4c02@speechrecog>127.0.0.1:41900<->127.0.0.1:1544[1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;1][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ControlChannelModified0xa5236d0<a02f9a94980c4c02@speechrecog>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3203]app_unimrcp.c:ProcessMessage[Media-Engine-1][1;0][Sep2711:15:58]DEBUG[3203]app_unimrcp.c:EnableRTPSession127.0.0.1:4004[Sep2711:15:58]DEBUG[3203]app_unimrcp.c:CreateLinearAudioBridge0xa5236d0[Sep2711:15:58]DEBUG[3203]app_unimrcp.c:OpenRTPTransmitter127.0.0.1:4004->127.0.0.1:5000[Sep2711:15:58]DEBUG[3203]app_unimrcp.c:MediaPath0xa5236d0Source->[LPCM/8000/1]->Bridge->[LPCM/8000/1]->Encoder->[PCMU/8000/1]->Sink[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][3;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:MediaTerminationModified0xa5236d0<a02f9a94980c4c02@rtp-tm>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:RaiseAppResponse0xa5236d0<a02f9a94980c4c02>[2]SUCCESS[0][Sep2711:15:58]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:15:58]DEBUG[3199]res_speech_unimrcp.c:Onchanneladd[Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:Wakedup,statuscode:0[Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:Createmediabufferframe_size:160[Sep2711:15:58]NOTICE[3379]res_speech_unimrcp.c:Createdspeechinstance'a02f9a94980c4c02'[Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:Setproperties'a02f9a94980c4c02'[Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:SendMRCPrequest[Sep2711:15:58]DEBUG[3379]app_unimrcp.c:SignalMessageto[MRCPClient][4;0][Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:WaitforMRCPresponse[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][4;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ReceiveAppMRCPRequest0xa5236d0<a02f9a94980c4c02>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SendMRCPRequest0xa5236d0<a02f9a94980c4c02@speechrecog>[1][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SignalMessageto[MRCPv2-Agent-1][1;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessPollerWakeup[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessMessage[MRCPv2-Agent-1][1;0][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:SendMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[132bytes]MRCP/2.0132SET-PARAMS1^MChannel-Identifier:a02f9a94980c4c02@speechrecog^MRecognition-Timeout:20000^MNo-Input-Timeout:15000^M[Sep2711:15:58]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessSignalledDescriptor[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ReceiveMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[80bytes]MRCP/2.0801200COMPLETE^MChannel-Identifier:a02f9a94980c4c02@speechrecog^M^M[Sep2711:15:58]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;3][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;3][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:RaiseAppMRCPResponse0xa5236d0<a02f9a94980c4c02>[Sep2711:15:58]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:15:58]DEBUG[3199]res_speech_unimrcp.c:Onmessagereceive[Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:Wakedup[Sep2711:15:58]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:3]SpeechLoadGrammar("SIP/4001-00000006","digit,/usr/local/unimrcp/data/grammar.jsgf")innewstack[Sep2711:15:58]NOTICE[3379]res_speech_unimrcp.c:Loadgrammarname:digittype:application/x-jsgfpath:/usr/local/unimrcp/data/grammar.jsgf'a02f9a94980c4c02'[Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:SendMRCPrequest[Sep2711:15:58]DEBUG[3379]app_unimrcp.c:SignalMessageto[MRCPClient][4;0][Sep2711:15:58]DEBUG[3379]res_speech_unimrcp.c:WaitforMRCPresponse[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][4;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:ReceiveAppMRCPRequest0xa5236d0<a02f9a94980c4c02>[Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SendMRCPRequest0xa5236d0<a02f9a94980c4c02@speechrecog>[2][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:SignalMessageto[MRCPv2-Agent-1][1;0][Sep2711:15:58]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessPollerWakeup[MRCPv2-Agent-1][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:ProcessMessage[MRCPv2-Agent-1][1;0][Sep2711:15:58]DEBUG[3202]app_unimrcp.c:SendMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[227bytes]MRCP/2.0227DEFINE-GRAMMAR2^MChannel-Identifier:a02f9a94980c4c02@speechrecog^MContent-Type:application/x-jsgf^MContent-Id:digit^MContent-Length:71^M^M#JSGF V1.0;^Mgrammardigits;^Mpublic<numbers>=(one|two|three);^M[Sep2711:15:58]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:ProcessSignalledDescriptor[MRCPv2-Agent-1][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:ReceiveMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[112bytes]MRCP/2.01122200COMPLETE^MChannel-Identifier:a02f9a94980c4c02@speechrecog^MCompletion-Cause:000success^M^M[Sep2711:16:06]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;3][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;3][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:RaiseAppMRCPResponse0xa5236d0<a02f9a94980c4c02>[Sep2711:16:06]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:16:06]DEBUG[3199]res_speech_unimrcp.c:Onmessagereceive[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Wakedup[Sep2711:16:06]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:4]SpeechActivateGrammar("SIP/4001-00000006","digit")innewstack[Sep2711:16:06]NOTICE[3379]res_speech_unimrcp.c:Activategrammarname:digit'a02f9a94980c4c02'[Sep2711:16:06]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:5]SpeechBackground("SIP/4001-00000006","beep,20")innewstack[Sep2711:16:06]NOTICE[3379]res_speech_unimrcp.c:Startaudio'a02f9a94980c4c02'[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:SendMRCPrequest[Sep2711:16:06]DEBUG[3379]app_unimrcp.c:SignalMessageto[MRCPClient][4;0][Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:WaitforMRCPresponse[Sep2711:16:06]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][4;0][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:ReceiveAppMRCPRequest0xa5236d0<a02f9a94980c4c02>[Sep2711:16:06]DEBUG[3199]app_unimrcp.c:SendMRCPRequest0xa5236d0<a02f9a94980c4c02@speechrecog>[3][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:SignalMessageto[MRCPv2-Agent-1][1;0][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:ProcessPollerWakeup[MRCPv2-Agent-1][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:ProcessMessage[MRCPv2-Agent-1][1;0][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:SendMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[190bytes]MRCP/2.0190RECOGNIZE3^MChannel-Identifier:a02f9a94980c4c02@speechrecog^MContent-Type:text/uri-list^MCancel-If-Queue:false^MStart-Input-Timers:true^MContent-Length:13^M^Msession:digit[Sep2711:16:06]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:ProcessSignalledDescriptor[MRCPv2-Agent-1][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:ReceiveMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[83bytes]MRCP/2.0833200IN-PROGRESS^MChannel-Identifier:a02f9a94980c4c02@speechrecog^M^M[Sep2711:16:06]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;3][Sep2711:16:06]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;3][Sep2711:16:06]DEBUG[3199]app_unimrcp.c:RaiseAppMRCPResponse0xa5236d0<a02f9a94980c4c02>[Sep2711:16:06]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:16:06]DEBUG[3199]res_speech_unimrcp.c:Onmessagereceive[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Wakedup[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:06]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:07]DEBUG[3379]res_speech_unimrcp.c:Failedtowriteaudiolen:320[Sep2711:16:07]DEBUG[3202]app_unimrcp.c:ProcessSignalledDescriptor[MRCPv2-Agent-1][Sep2711:16:07]DEBUG[3202]app_unimrcp.c:ReceiveMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[94bytes]MRCP/2.094START-OF-INPUT3IN-PROGRESS^MChannel-Identifier:a02f9a94980c4c02@speechrecog^M^M[Sep2711:16:07]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;3][Sep2711:16:07]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:07]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;3][Sep2711:16:07]DEBUG[3199]app_unimrcp.c:RaiseAppMRCPEvent0xa5236d0<a02f9a94980c4c02>[Sep2711:16:07]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:16:07]DEBUG[3199]res_speech_unimrcp.c:Onmessagereceive[Sep2711:16:07]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:26]DEBUG[3202]app_unimrcp.c:ProcessSignalledDescriptor[MRCPv2-Agent-1][Sep2711:16:26]DEBUG[3202]app_unimrcp.c:ReceiveMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[137bytes]MRCP/2.0137RECOGNITION-COMPLETE3COMPLETE^MChannel-Identifier:a02f9a94980c4c02@speechrecog^MCompletion-Cause:003hotword-maxtime^M^M[Sep2711:16:26]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;3][Sep2711:16:26]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:26]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;3][Sep2711:16:26]DEBUG[3199]app_unimrcp.c:RaiseAppMRCPEvent0xa5236d0<a02f9a94980c4c02>[Sep2711:16:26]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:16:26]DEBUG[3199]res_speech_unimrcp.c:Onmessagereceive[Sep2711:16:26]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:26]NOTICE[3379]res_speech_unimrcp.c:Getresult'a02f9a94980c4c02'[Sep2711:16:26]WARNING[3379]res_speech_unimrcp.c:Unsuccessfulcompletioncause:3reason:none[Sep2711:16:26]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:6]Verbose("SIP/4001-00000006","1,Fernando es 0 y ")innewstack[Sep2711:16:26]VERBOSE[3379]app_verbose.c:Fernandoes0y[Sep2711:16:26]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:7]GotoIf("SIP/4001-00000006","1?8:10")innewstack[Sep2711:16:26]VERBOSE[3379]pbx.c:--Goto(from-internal,5551,8)[Sep2711:16:26]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:8]Playback("SIP/4001-00000006","vm-nonumber")innewstack[Sep2711:16:26]VERBOSE[3379]file.c:--<SIP/4001-00000006>Playing'vm-nonumber.gsm'(language'en')[Sep2711:16:29]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:9]Goto("SIP/4001-00000006","5")innewstack[Sep2711:16:29]VERBOSE[3379]pbx.c:--Goto(from-internal,5551,5)[Sep2711:16:29]VERBOSE[3379]pbx.c:--Executing[5551@from-internal:5]SpeechBackground("SIP/4001-00000006","beep,20")innewstack[Sep2711:16:29]NOTICE[3379]res_speech_unimrcp.c:Startaudio'a02f9a94980c4c02'[Sep2711:16:29]DEBUG[3379]res_speech_unimrcp.c:SendMRCPrequest[Sep2711:16:29]DEBUG[3379]app_unimrcp.c:SignalMessageto[MRCPClient][4;0][Sep2711:16:29]DEBUG[3379]res_speech_unimrcp.c:WaitforMRCPresponse[Sep2711:16:29]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][4;0][Sep2711:16:29]DEBUG[3199]app_unimrcp.c:ReceiveAppMRCPRequest0xa5236d0<a02f9a94980c4c02>[Sep2711:16:29]DEBUG[3199]app_unimrcp.c:SendMRCPRequest0xa5236d0<a02f9a94980c4c02@speechrecog>[4][Sep2711:16:29]DEBUG[3199]app_unimrcp.c:SignalMessageto[MRCPv2-Agent-1][1;0][Sep2711:16:29]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:ProcessPollerWakeup[MRCPv2-Agent-1][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:ProcessMessage[MRCPv2-Agent-1][1;0][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:SendMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[190bytes]MRCP/2.0190RECOGNIZE4^MChannel-Identifier:a02f9a94980c4c02@speechrecog^MContent-Type:text/uri-list^MCancel-If-Queue:false^MStart-Input-Timers:true^MContent-Length:13^M^Msession:digit[Sep2711:16:29]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:ProcessSignalledDescriptor[MRCPv2-Agent-1][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:ReceiveMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[83bytes]MRCP/2.0834200IN-PROGRESS^MChannel-Identifier:a02f9a94980c4c02@speechrecog^M^M[Sep2711:16:29]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;3][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:29]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;3][Sep2711:16:29]DEBUG[3199]app_unimrcp.c:RaiseAppMRCPResponse0xa5236d0<a02f9a94980c4c02>[Sep2711:16:29]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:16:29]DEBUG[3199]res_speech_unimrcp.c:Onmessagereceive[Sep2711:16:29]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:29]DEBUG[3379]res_speech_unimrcp.c:Wakedup[Sep2711:16:29]DEBUG[3202]app_unimrcp.c:ProcessSignalledDescriptor[MRCPv2-Agent-1][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:ReceiveMRCPv2Stream127.0.0.1:41900<->127.0.0.1:1544[94bytes]MRCP/2.094START-OF-INPUT4IN-PROGRESS^MChannel-Identifier:a02f9a94980c4c02@speechrecog^M^M[Sep2711:16:29]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;3][Sep2711:16:29]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:29]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;3][Sep2711:16:29]DEBUG[3199]app_unimrcp.c:RaiseAppMRCPEvent0xa5236d0<a02f9a94980c4c02>[Sep2711:16:29]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:16:29]DEBUG[3199]res_speech_unimrcp.c:Onmessagereceive[Sep2711:16:29]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:33]NOTICE[3379]res_speech_unimrcp.c:Destroyspeechinstance'a02f9a94980c4c02'[Sep2711:16:33]DEBUG[3379]res_speech_unimrcp.c:Sendsessionrequesttype:1[Sep2711:16:33]DEBUG[3379]app_unimrcp.c:SignalMessageto[MRCPClient][4;0][Sep2711:16:33]DEBUG[3379]res_speech_unimrcp.c:Waitforsessionresponse[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][4;0][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:ReceiveAppRequest0xa5236d0<a02f9a94980c4c02>[1][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:DispatchAppRequest0xa5236d0<a02f9a94980c4c02>[1][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:TerminateSession0xa5236d0<a02f9a94980c4c02>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:RemoveControlChannel0xa5236d0<a02f9a94980c4c02>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:SignalMessageto[MRCPv2-Agent-1][1;0][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:SubtractMediaTermination0xa5236d0<a02f9a94980c4c02@media-tm>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:SubtractMediaTermination0xa5236d0<a02f9a94980c4c02@rtp-tm>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:SignalMessageto[Media-Engine-1][1;0][Sep2711:16:33]DEBUG[3200]app_unimrcp.c:ReceiveSIPEvent[nua_r_bye]Status200OK[Sep2711:16:33]DEBUG[3200]app_unimrcp.c:ReceiveSIPEvent[nua_i_state]Status200toBYE[Sep2711:16:33]NOTICE[3200]app_unimrcp.c:SIPCallState0xa5236d0[terminated][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][1;1][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:SessionTerminated0xa5236d0<a02f9a94980c4c02>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:33]DEBUG[3202]app_unimrcp.c:ProcessPollerWakeup[MRCPv2-Agent-1][Sep2711:16:33]DEBUG[3202]app_unimrcp.c:ProcessMessage[MRCPv2-Agent-1][1;0][Sep2711:16:33]DEBUG[3202]app_unimrcp.c:RemoveControlChannel<a02f9a94980c4c02@speechrecog>[0][Sep2711:16:33]DEBUG[3202]app_unimrcp.c:CloseTCP/MRCPv2Connection127.0.0.1:41900<->127.0.0.1:1544[Sep2711:16:33]DEBUG[3202]app_unimrcp.c:SignalMessageto[MRCPClient][2;2][Sep2711:16:33]DEBUG[3202]app_unimrcp.c:WaitforMessages[MRCPv2-Agent-1][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][2;2][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:ControlChannelRemoved0xa5236d0<a02f9a94980c4c02@speechrecog>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient][Sep2711:16:33]DEBUG[3203]app_unimrcp.c:ProcessMessage[Media-Engine-1][1;0][Sep2711:16:33]DEBUG[3203]app_unimrcp.c:DestroyAudioBridge0xa5236d0[Sep2711:16:33]DEBUG[3203]app_unimrcp.c:CloseRTPTransmitter127.0.0.1:4004->127.0.0.1:5000[s:1192o:190720][Sep2711:16:33]DEBUG[3203]app_unimrcp.c:RemoveMediaContext0xa5236d0[Sep2711:16:33]DEBUG[3203]app_unimrcp.c:RemoveRTPSession127.0.0.1:4004[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:ProcessMessage[MRCPClient][3;0][Sep2711:16:33]DEBUG[3199]app_unimrcp.c:MediaTerminationSubtracted0xa5236d0<a02f9a94980c4c02@media-tm>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:MediaTerminationSubtracted0xa5236d0<a02f9a94980c4c02@rtp-tm>[Sep2711:16:33]NOTICE[3199]app_unimrcp.c:DestroyTCP/MRCPv2Connection127.0.0.1:41900<->127.0.0.1:1544[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:RemoveMRCPHandle0xa5236d0<a02f9a94980c4c02>[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:RaiseAppResponse0xa5236d0<a02f9a94980c4c02>[1]SUCCESS[0][Sep2711:16:33]DEBUG[3199]res_speech_unimrcp.c:Receivedmessagefromclientstack[Sep2711:16:33]DEBUG[3199]res_speech_unimrcp.c:Onsessionterminate[Sep2711:16:33]DEBUG[3379]res_speech_unimrcp.c:Wakedup,statuscode:0[Sep2711:16:33]NOTICE[3379]app_unimrcp.c:DestroyMRCPHandle0xa5236d0[Sep2711:16:33]VERBOSE[3379]pbx.c:--Executing[h@from-internal:1]Macro("SIP/4001-00000006","hangupcall")innewstack[Sep2711:16:33]VERBOSE[3379]pbx.c:--Executing[s@macro-hangupcall:1]GotoIf("SIP/4001-00000006","1?skiprg")innewstack[Sep2711:16:33]VERBOSE[3379]pbx.c:--Goto(macro-hangupcall,s,4)[Sep2711:16:33]VERBOSE[3379]pbx.c:--Executing[s@macro-hangupcall:4]GotoIf("SIP/4001-00000006","1?skipblkvm")innewstack[Sep2711:16:33]VERBOSE[3379]pbx.c:--Goto(macro-hangupcall,s,7)[Sep2711:16:33]VERBOSE[3379]pbx.c:--Executing[s@macro-hangupcall:7]GotoIf("SIP/4001-00000006","1?theend")innewstack[Sep2711:16:33]VERBOSE[3379]pbx.c:--Goto(macro-hangupcall,s,9)[Sep2711:16:33]VERBOSE[3379]pbx.c:--Executing[s@macro-hangupcall:9]Hangup("SIP/4001-00000006","")innewstack[Sep2711:16:33]VERBOSE[3379]app_macro.c:==Spawnextension(macro-hangupcall,s,9)exitednon-zeroon'SIP/4001-00000006'inmacro'hangupcall'[Sep2711:16:33]VERBOSE[3379]pbx.c:==Spawnextension(from-internal,h,1)exitednon-zeroon'SIP/4001-00000006'[Sep2711:16:33]DEBUG[3199]app_unimrcp.c:WaitforMessages[MRCPClient]
When unimrcp waits for my input the partial result shows what i say, but it
doesn't return it. I noticed the warning message, and i've been looking for
that error, and nothing yet. Also, unimrcpserver stops sometimes when i hangup
the call. this is what it throws:
It says that unimrcp might be corrupted, if it is, what might be a solution
for it? could that be the reason of my problem?.
or it's a single configuration error?
Thank's for your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
if it is, what might be a solution for it? could that be the reason of my
problem?.
synthesis engine demo-synth is not initialized properly most likely because it
has no permission to read files like demo-8kHz.pcm in a data directory. Most
likely you didn't place them into proper location. It should be visible in the
log before pocketsphinx initialization.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-27
Sorry, don't understand what you said, and sorry for my ignorance, but what
does demo-synth got to do with recognizer?. I haven't move anything, and denie
permission to any files. That's why i don't understand, and why i'm not
getting the result. I read about lattience for a while, and i it can't find
the best path, it means that it doesn't load the graph or i'm not
specificating the location of that graph. Another thing, how does pocketsphinx
knows the lenguage model if i'm not giving any location to it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-27
I'll only leave enable pocketsphinx engine, I just want that unimrcp allow me
to comunicate me with asterisk. I'll try it and let you know
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
but what does demo-synth got to do with recognizer?. I haven't move
anything, and denie permission to any files. That's why i don't understand,
and why i'm not getting the result.
It's not related. You don't get the result because synthesis part is broken.
Recognizer works as expected.
Another thing, how does pocketsphinx knows the language model if i'm not
giving any location to it?
You are giving the paths to the acoustic model (Communicator) to the
dictionary (default.dic) and to the grammar (.jsgf file). It's enough to
specify the language.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-28
You don't get the result because synthesis part is broken
I tried disabling all the others engine, still no result. So should i download
again unimrcp1.0.0? try another version?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it contains the exact input that i gave. Really impressed with the accuracy,
but i think that that warning is the last problem, at least to get some result
input back to asterisk.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-09-28
Hi nsh! i finally got something back to asterisk, it's recognizing right now.
The issues that i had were bugs that were fixed in some revisions. Just had to
change some source files in unimrcp1.0.0 dir, run make and make install. The
crashing problem and the failed to load nlsml document error are no longer
problem. This is my asterisk log now (the rest still the same):
[Sep2810:40:44]NOTICE[17225]res_speech_unimrcp.c:Getresult'8cbe15f4a1a84d10'[Sep2810:40:44]NOTICE[17225]res_speech_unimrcp.c:Interpretedinstance:onescore:9900grammar:none[Sep2810:40:44]VERBOSE[17225]pbx.c:--Executing[5551@from-internal:6]Verbose("SIP/4001-00000000","1,Fernando es 1 y one y 9900 y ")innewstack[Sep2810:40:44]VERBOSE[17225]app_verbose.c:Fernandoes1yoney9900y[Sep2810:40:44]VERBOSE[17225]pbx.c:--Executing[5551@from-internal:7]GotoIf("SIP/4001-00000000","0?8:10")innewstack[Sep2810:40:44]VERBOSE[17225]pbx.c:--Goto(from-internal,5551,10)[Sep2810:40:44]VERBOSE[17225]pbx.c:--Executing[5551@from-internal:10]Verbose("SIP/4001-00000000","1,The recognized input is one")innewstack[Sep2810:40:44]VERBOSE[17225]app_verbose.c:Therecognizedinputisone[Sep2810:40:44]VERBOSE[17225]pbx.c:--Executing[5551@from-internal:11]Verbose("SIP/4001-00000000","1,The score is 9900")innewstack[Sep2810:40:44]VERBOSE[17225]app_verbose.c:Thescoreis9900[Sep2810:40:44]VERBOSE[17225]pbx.c:--Executing[5551@from-internal:12]Verbose("SIP/4001-00000000","1,The matched grammar is ")innewstack[Sep2810:40:44]VERBOSE[17225]app_verbose.c:Thematchedgrammaris[Sep2810:40:44]VERBOSE[17225]pbx.c:--Executing[5551@from-internal:13]SpeechDeactivateGrammar("SIP/4001-00000000","digit")innewstack[Sep2810:40:44]NOTICE[17225]res_speech_unimrcp.c:Deactivategrammarname:digit'8cbe15f4a1a84d10'[Sep2810:40:44]VERBOSE[17225]pbx.c:--Executing[5551@from-internal:14]SpeechUnloadGrammar("SIP/4001-00000000","digit")innewstack[Sep2810:40:44]NOTICE[17225]res_speech_unimrcp.c:Unloadgrammarname:digit'8cbe15f4a1a84d10'
Thank's so much for your help! couldn't make it work without your help.
Now nsh, It's there a way to get the same, but in spanish???, at least i need
that pocketsphinx recognize the natural numbers. Thank you so much!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i've been trying to integrate pocketsphinx with asterisk with no luck. I
followed the tutorial http://code.google.com/p/unimrcp/wiki/PocketSphinxPlugi
n. and
, managed to install pocketsphinx and sphinxbase 0.7 with asterisk 1.6.2.13,
unimrcp 1.0.0.
I have the default configuration and this is what i get:
- On Unimrcp server log:
and this is asterisk log:
I noticed de WARN message from unimrcp server log, looked up on the web i
found this:http://groups.google.com/group/unimrcp/browse_thread/thread/bb54ed
5ff1f2e9f , but that didin't solved my problem.
Am i missing a configuration step? is it because of asterisk, unimrcp,
pocketsphinx or an silly mistake that i made the reason of this error?. Please
need some guidelines. Really need and want to get this working togheter
Read the log
Open the file ../data/default.dic and add the word 'two' there. Get the
transcription from the file
I checked that, and i remember to look for the word "two" and was in there.
Actually, the default grammar.jsgf had the word "three" too, and the error
said:
exactly the same, i tried with tidigits model and "tidigits.dic" too and
nothing, the same mistake; also tried with pockesphinx0.6.1 and
sphinxbase0.6.1 and had the same problem. At this moment i'm formatting my pc
and i'll try again with a fresh new install because i really don't understand
what has happened.
Thank's for you reply.
Most likely you edited wrong dictionary. The dictionary is located in data
folder and it's name is default.dic. You can share this file if you don't see
yourself what is wrong there.
That's not the right thing to do. It's like you will buy a new one if previous
doens't work
Hi again nsh. The file i edited was in the data folder, but, after i
downloaded all the files again, i installed unimrcp 1.0.0 again with
pocketsphinx and sphinxbase both 0.7 version, the rare thing was that neither
the default.dic and the wsj1 default model were on the data/ folder. So i ran
copied the dictionary that you suggested and create a test dictionary.
These are my configuration files:
res-speech-unimrcp is default.
and this is the Dialplan:
Now the "SpeechLoadGrammar(digit,/usr/local/unimrcp/data/grammar.jsgf)"
instruction it's being passed.
This is unimrcpserver log:
This is asterisk log:
When unimrcp waits for my input the partial result shows what i say, but it
doesn't return it. I noticed the warning message, and i've been looking for
that error, and nothing yet. Also, unimrcpserver stops sometimes when i hangup
the call. this is what it throws:
It says that unimrcp might be corrupted, if it is, what might be a solution
for it? could that be the reason of my problem?.
or it's a single configuration error?
Thank's for your help!
synthesis engine demo-synth is not initialized properly most likely because it
has no permission to read files like demo-8kHz.pcm in a data directory. Most
likely you didn't place them into proper location. It should be visible in the
log before pocketsphinx initialization.
Sorry, don't understand what you said, and sorry for my ignorance, but what
does demo-synth got to do with recognizer?. I haven't move anything, and denie
permission to any files. That's why i don't understand, and why i'm not
getting the result. I read about lattience for a while, and i it can't find
the best path, it means that it doesn't load the graph or i'm not
specificating the location of that graph. Another thing, how does pocketsphinx
knows the lenguage model if i'm not giving any location to it?
I'll only leave enable pocketsphinx engine, I just want that unimrcp allow me
to comunicate me with asterisk. I'll try it and let you know
It's not related. You don't get the result because synthesis part is broken.
Recognizer works as expected.
You are giving the paths to the acoustic model (Communicator) to the
dictionary (default.dic) and to the grammar (.jsgf file). It's enough to
specify the language.
I tried disabling all the others engine, still no result. So should i download
again unimrcp1.0.0? try another version?
this seems to be the problem nsh:
unimrcp is returning this document:
it contains the exact input that i gave. Really impressed with the accuracy,
but i think that that warning is the last problem, at least to get some result
input back to asterisk.
Hi nsh! i finally got something back to asterisk, it's recognizing right now.
The issues that i had were bugs that were fixed in some revisions. Just had to
change some source files in unimrcp1.0.0 dir, run make and make install. The
crashing problem and the failed to load nlsml document error are no longer
problem. This is my asterisk log now (the rest still the same):
Thank's so much for your help! couldn't make it work without your help.
Now nsh, It's there a way to get the same, but in spanish???, at least i need
that pocketsphinx recognize the natural numbers. Thank you so much!
Spanish model is available in downloads. it includes the dictionary and you
need to update jsgf grammar accordingly.