andrenatal / unimrcp

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

unimrcpserver (with PocketSphinx plugin) doesn't recognize srgs+xml grammar when using unimrcpcleint #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unimrcp server with PocketSphinx plugin
2. Run unimrcpserver
3. Run unimrcpclient; run recog uni2

Server log:

2010-05-11 00:55:28:968611 [INFO]   Receive SIP Event [nua_i_state] Status
200 OK
2010-05-11 00:55:28:968642 [NOTICE] SIP Call State [completed]^M
2010-05-11 00:55:28:968671 [INFO]   Receive SIP Event [nua_i_ack] Status 200 OK
2010-05-11 00:55:28:968701 [INFO]   Receive SIP Event [nua_i_state] Status
200 OK
2010-05-11 00:55:28:968728 [NOTICE] SIP Call State [ready]
2010-05-11 00:55:28:968755 [INFO]   Receive SIP Event [nua_i_active] Status
200 Call active
2010-05-11 00:55:28:969706 [NOTICE] Accepted TCP/MRCPv2 Connection
10.212.237.155:1544 <-> 10.212.237.155:57320
2010-05-11 00:55:28:973760 [INFO]   Receive MRCPv2 Stream
10.212.237.155:1544 <-> 10.212.237.155:57320 [457 bytes]
MRCP/2.0 457 DEFINE-GRAMMAR 1^M^M
Channel-Identifier: 00f8225fcd6c417c@speechrecog
Content-Type: application/srgs+xml
Content-Id: request1@form-level.store
Content-Length: 278

<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US"
version="1.0" mode="voice" root="digit">
  <rule id="digit">
    <one-of>
      <item>one</item>
      <item>two</item>
      <item>three</item>
    </one-of>
  </rule>
</grammar>
2010-05-11 00:55:28:973853 [INFO]   Move Control Channel
<00f8225fcd6c417c@speechrecog> to Connection 10.212.237.155:1544 <->
10.212.237.155:57320 [1]
2010-05-11 00:55:28:973894 [INFO]   Process DEFINE-GRAMMAR Request [1]
2010-05-11 00:55:28:973926 [INFO]   Dispatch Request DEFINE-GRAMMAR
<00f8225fcd6c417c@pocketsphinx>
2010-05-11 00:55:28:973954 [WARN]   Not Supported Content-Type
[application/srgs+xml] <00f8225fcd6c417c@pocketsphinx>

What version of the product are you using? On what operating system?
unimrcp 0.10

Please provide any additional information below.

Original issue reported on code.google.com by ibogusla...@gmail.com on 11 May 2010 at 7:54

GoogleCodeExporter commented 9 years ago
You're right PocketSphinx supports only JSGF grammar at the moment. Please 
submit
this request to PocketSphinx project originally, if you need SRGS+XML grammar 
to be
supported as well.
http://cmusphinx.sourceforge.net/

Original comment by achalo...@gmail.com on 12 May 2010 at 5:44