Hi Roko,
Thanks!
I am running Prophecy 10 (tried Prophecy 9 before) on Windows XP, and
running FreeSwitch on Linux CentOS.
I tried some very small grammars of both JSGF and GrXML by calling the
Pizza demo. The GrXML grammar works on Nuance MRCP server.
But on Prophecy I notice some errors:
ERROR/UnknownModule/ToneDetectorOutputStream::CreateToneDetector -
Backbone.GetParam failed for Format Requested
ERROR/SRE::PR/ASRPortImpl::StartReco(): failed to add a grammar.
ERROR/MRCPServerAPP/Failed to start speech recognition. Port
failure.
I couldn't find how to attach files on this UniMRCP Google groups, so
I copy the JSGF grammar and the Prophecy LogViewer logs below.
Any suggestion would be appreciated!
Ken
=========== JSGF grammar ================
#JSGF V1.0;
/**
* JSGF Grammar for pizza_order
*/
grammar pizza_order;
public <delivery> = [ takeout | pickup | delivery ];
============ End of JSGF grammar ==============
========== Prophecy LogViewer ================
MRS/
iLab-1/2011.07.08.10.59.16.687/0:00000000000000000000000000000000:FFFFFFFF:
1/DEBUG/PortableMessageQueue/Allocated additional message queue object
(MRCPSessionMQ=0)
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCPServerAPP/Session 5478343-907da70-00000dac-00000004 has been
associated with the queue 3824
VCS/
iLab-1/2011.07.08.10.59.16.687/0:00000000000000000000000000000000:FFFFFFFF:
1/DEBUG/Threading/Starting thread MRCPSessionMQ with ID 3824(27)
MRS/
iLab-1/2011.07.08.10.59.16.687/0:00000000000000000000000000000000:FFFFFFFF:
1/USER/MRCPServerAPP/MRCP session is created, count=1
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
DEBUG/MRCP::TCP/TCPSession: Accept() successful
(client=
137.195.27.95:56941).
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP Message(i):\nSETUP rtsp:\s
\s137.195.27.134:9974\smedia\sspeechrecognizer RTSP\s1.0\nContent-
Length: 187\nContent-Type: application\ssdp\nCSeq: 1\nTransport: RTP
\sAVP;unicast;client_port=4000-4001\nv=0\no=FreeSWITCH 0 0 IN IP4
137.195.27.95\ns=-\nc=IN IP4 137.195.27.95\nt=0 0\nm=audio 4000 RTP
\sAVP 0 8 96\na=rtpmap:0 PCMU\s8000\na=rtpmap:8 PCMA\s8000\na=rtpmap:
96 L16\s8000\na=sendonly
VCS/
iLab-1/2011.07.08.10.59.16.687/0:00000000000000000000000000000000:FFFFFFFF:
1/USER/RTP5/Starting RTP timer for set 2c54f78
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
ERROR/UnknownModule/ToneDetectorOutputStream::CreateToneDetector -
Backbone.GetParam failed for Format Requested
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
ERROR/UnknownModule/ToneDetectorOutputStream::CreateToneDetector -
Backbone.GetParam failed for Format Requested
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/RTP5/RTP session (10000) on thread 3520 was modified successfully.
\nRTPSTAT:Duration=0000178;TX=000000|000;RX=000005|000|000005|
0000;BR=000000|000000|000000|0000;TM=00000|0000|000;CONF=0000000|
0000000|0000000|0000000;ERR=000|000|000|000|000|000|000|
000;
137.195.27.95:4002;\nJB:000000|000000|000005|000000|000000;000001|
000001|000005|000000|000000;drops=0000|0000|0000|00|00.00;disc=00000|
000|000|000;other=000|000|021;
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCPServerAPP/MRCP endpoints: local=
137.195.27.134:10000;
remote=
137.195.27.95:4000
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP message(o):\nRTSP\s1.0 200 OK\nSession:
5478343-907da70-00000dac-00000004\nTransport: RTP
\sAVP;unicast;client_port=4000-4001;server_port=10000-10001\nCSeq:
1\nContent-Type: application\ssdp\nContent-Length: 149\nv=0\no=- 0 0
IN IP4 137.195.27.134\ns=voxeo.10.1.50342.0\nc=IN IP4
137.195.27.134\nt=0 0\nm=audio 10000 RTP\sAVP 0\na=rtpmap:0 PCMU
\s8000\na=ptime:20
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP Message(i):\nANNOUNCE rtsp:\s
\s137.195.27.134:9974\smedia\sspeechrecognizer RTSP\s1.0\nContent-
Length: 239\nContent-Type: application\smrcp\nCSeq: 2\nSession:
5478343-907da70-00000dac-00000004\nDEFINE-GRAMMAR 1 MRCP\s1.0\nContent-
Type: application\sx-jsgf\nContent-Id: undefined\nContent-Length:
132\n#JSGF V1.0;\n\s**\n * JSGF Grammar for pizza_order\n *\s
\ngrammar pizza_order;\npublic <delivery> = [ takeout | pickup |
delivery ];
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP message(o):\nRTSP\s1.0 200 OK\nSession:
5478343-907da70-00000dac-00000004\nCSeq: 2\nContent-Type: application
\smrcp\nContent-Length: 27\nMRCP\s1.0 1 200 COMPLETE
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP Message(i):\nANNOUNCE rtsp:\s
\s137.195.27.134:9974\smedia\sspeechrecognizer RTSP\s1.0\nContent-
Length: 90\nContent-Type: application\smrcp\nCSeq: 3\nSession:
5478343-907da70-00000dac-00000004\nRECOGNIZE 2 MRCP\s1.0\nContent-
Type: text\suri-list\nContent-Length: 17\nsession:undefined
MRS/
iLab-1/2011.07.08.10.59.16.687/0:5478343-907da70-00000dac-00000004:00000000:1/
DEBUG/SRE::PR/ASRPortImpl::StartReco()
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
ERROR/SRE::PR/Compiling grammar #JSGF V1.0;\n\s**\n * JSGF Grammar
for pizza_order\n *\s\ngrammar pizza_order;\npublic <delivery> =
[ takeout | pickup | delivery ];\n has failed.
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
ERROR/SRE::PR/ASRPortImpl::StartReco(): failed to add a grammar.
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
ERROR/MRCPServerAPP/Failed to start speech recognition. Port failure.
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
DEBUG/SRE::PR/Restoring default endpointer parameters.
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP message(o):\nRTSP\s1.0 200 OK\nSession:
5478343-907da70-00000dac-00000004\nCSeq: 3\nContent-Type: application
\smrcp\nContent-Length: 27\nMRCP\s1.0 2 407 COMPLETE
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP Message(i):\nTEARDOWN rtsp:\s
\s137.195.27.134:9974\smedia\sspeechrecognizer RTSP\s1.0\nCSeq:
4\nSession: 5478343-907da70-00000dac-00000004
VCS/
iLab-1/2011.07.08.10.59.16.703/0:00000000000000000000000000000000:FFFFFFFF:
1/USER/RTP5/Stopping RTP for set 2c54f78
VCS/
iLab-1/2011.07.08.10.59.16.703/0:00000000000000000000000000000000:FFFFFFFF:
1/USER/RTPMessageQueue/RTPSTAT: RTP1: CPU=00000k|
00000u;Messages=00002t|00002h|00002m|00001q;Avg times=000|001;Max
times=0000t|0001m|00000q;Delays=0000|0000avg|0000max(0000)
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/RTP5/RTP session (10000) on thread 3520 was stopped.
\nRTPSTAT:Duration=0000009;TX=000000|000;RX=000000|000|000000|
0000;BR=000000|000000|000000|0000;TM=00000|0000|000;CONF=0000000|
0000000|0000000|0000000;ERR=000|000|000|000|000|000|000|
000;
137.195.27.95:4000;\nJB:000000|000000|000000|000000|000000;000000|
000000|000000|000000|000000;drops=0000|0000|0000|00|00.00;disc=00000|
000|000|000;other=000|000|000;
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
USER/MRCP::RTSP/RTSP message(o):\nRTSP\s1.0 200 OK\nSession:
5478343-907da70-00000dac-00000004\nCSeq: 4
MRS/
iLab-1/2011.07.08.10.59.16.703/0:5478343-907da70-00000dac-00000004:00000000:1/
DEBUG/MRCP::TCP/Dropping connection (client=
137.195.27.95:56941).
MRS/
iLab-1/2011.07.08.10.59.16.703/0:00000000000000000000000000000000:FFFFFFFF:
1/DEBUG/MRCP::TCP/TCPSession: connection (client=
137.195.27.95:56941)
is already dropped.
MRS/
iLab-1/2011.07.08.10.59.16.703/0:00000000000000000000000000000000:FFFFFFFF:
1/DEBUG/MRCP::TCP/TCPSession: connection (client=
137.195.27.95:56941)
is already dropped.
MRS/
iLab-1/2011.07.08.10.59.16.703/0:00000000000000000000000000000000:FFFFFFFF:
1/USER/MRCPServerAPP/MRCP session is released, count=0
MRS/
iLab-1/2011.07.08.10.59.19.703/0:00000000000000000000000000000000:FFFFFFFF:
1/DEBUG/MRCP::TCP/TCPSession: connection (client=
137.195.27.95:56941)
is already dropped.
VCS/
iLab-1/2011.07.08.10.59.19.703/0:00000000000000000000000000000000:FFFFFFFF:
1/DEBUG/Threading/Finished thread MRCPSessionMQ with ID 3824, exec
time is 3016ms (26)
VPhoneLib/iLab-1/2011.07.08.10.59.28.015/0:00000000:FFFFFFFF:1/USER/
RTPMessageQueue/RTPSTAT: RTP2: CPU=00000k|00000u;Messages=10561t|
00000h|00000m|00000q;Avg times=000|000;Max times=0000t|0000m|
00000q;Delays=2881|0002avg|0004max(0025)
VPhoneLib/iLab-1/2011.07.08.10.59.28.015/0:00000000:FFFFFFFF:1/USER/
RTPMessageQueue/RTPSTAT: RTP1: CPU=00000k|00000u;Messages=10561t|
00000h|00000m|00000q;Avg times=000|000;Max times=0000t|0000m|
00000q;Delays=2881|0002avg|0004max(0025)
========== End of LogViewer ==================