Hey,
I'm trying to use the GoogleSpeechRecognition plugin on the UniMRCP server with my Cisco VXML/VVB set up.
I get a grammar load failure when I send a DEFINE-GRAMMAR request
Here are the relevant logs and vxml code:
VXML Code:
<?xml version="1.0"?>
<vxml version="1.0">
<form>
<prompt bargein="false"> Hello, please say something</prompt>
<help>Say books or music.</help>
<field name="something">
<grammar src="builtin:speech/transcribe" />
<filled>
<prompt> I believe I heard you say <value expr="something"/> . </prompt>
</filled>
</field>
<disconnect/>
</form>
</vxml>
Server logs:
o=UniMRCPServer 0 0 IN IP4 10.64.82.104^M
s=-^M
c=IN IP4 10.64.82.104^M
t=0 0^M
m=audio 5000 RTP/AVP 0 101^M
a=rtpmap:0 PCMU/8000^M
a=rtpmap:101 telephone-event/8000^M
a=fmtp:101 0-15^M
a=recvonly^M
a=mid:1^M
m=application 1544 TCP/MRCPv2 1^M
a=setup:passive^M
a=connection:new^M
a=channel:c01d11a320ae4a2e@speechrecog^M
a=cmid:1^M
2018-03-27 19:10:07:280722 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:281576 [INFO] Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]
2018-03-27 19:10:07:281664 [NOTICE] SIP Call State 0x7efea4001a48 [completed]
2018-03-27 19:10:07:283935 [INFO] Receive SIP Event [nua_i_ack] Status 200 OK [SIP-Agent-1]
2018-03-27 19:10:07:283974 [INFO] Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]
2018-03-27 19:10:07:283983 [NOTICE] SIP Call State 0x7efea4001a48 [ready]
2018-03-27 19:10:07:283987 [INFO] Receive SIP Event [nua_i_active] Status 200 Call active [SIP-Agent-1]
2018-03-27 19:10:07:285291 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]
2018-03-27 19:10:07:285352 [NOTICE] Accepted TCP/MRCPv2 Connection
10.64.82.104:1544 <->
10.78.26.83:36372
2018-03-27 19:10:07:285370 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:285716 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]
2018-03-27 19:10:07:285752 [INFO] Receive MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [82 bytes]
MRCP/2.0 80 GET-PARAMS 100^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
^M
^M
2018-03-27 19:10:07:285771 [INFO] Assign Control Channel <c01d11a320ae4a2e@speechrecog> to Connection
10.64.82.104:1544 <->
10.78.26.83:36372 [0] -> [1]
2018-03-27 19:10:07:285776 [DEBUG] Signal Message to [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:285805 [WARN] Cannot read the first field in start-line
2018-03-27 19:10:07:285812 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:285812 [DEBUG] Process Message [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:285852 [DEBUG] Dispatch Signaling Message [1]
2018-03-27 19:10:07:285857 [INFO] Process GET-PARAMS Request <c01d11a320ae4a2e@speechrecog> [100]
2018-03-27 19:10:07:285884 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:285892 [DEBUG] Signal Message to [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:285884 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:285892 [DEBUG] Signal Message to [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:285948 [DEBUG] Process Message [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:285955 [INFO] Process GET-PARAMS Response <c01d11a320ae4a2e@speechrecog> [100]
2018-03-27 19:10:07:285960 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:285986 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:285992 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]
2018-03-27 19:10:07:286000 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:286009 [INFO] Send MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [82 bytes]
MRCP/2.0 82 100 200 COMPLETE^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
^M
2018-03-27 19:10:07:286043 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:287026 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]
2018-03-27 19:10:07:287067 [INFO] Receive MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [331 bytes]
MRCP/2.0 329 DEFINE-GRAMMAR 101^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Fetch-Timeout:10000^M
Cache-Control:max-stale=0,max-age=300^M
Content-Base:
http://10.78.26.90:7000/CVP/input.vxml^M
Content-Type:text/uri-list^M
Speech-Language:en-US^M
Content-Id:fie...@field.grammar^M
Content-Length: 29^M
^M
builtin:speech/transcribe^M
^M
2018-03-27 19:10:07:287089 [DEBUG] Signal Message to [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:287119 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:287130 [DEBUG] Process Message [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:287139 [DEBUG] Dispatch Signaling Message [1]
2018-03-27 19:10:07:287142 [INFO] Process DEFINE-GRAMMAR Request <c01d11a320ae4a2e@speechrecog> [101]
2018-03-27 19:10:07:287166 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:287182 [DEBUG] Add Speech Context [fie...@field.grammar] <c01d11a320ae4a2e@gsr>
2018-03-27 19:10:07:287196 [WARN] Unsupported Grammar Format [^M
] <c01d11a320ae4a2e@gsr>
2018-03-27 19:10:07:287203 [DEBUG] Signal Message to [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:287245 [DEBUG] Process Message [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:287252 [INFO] Process DEFINE-GRAMMAR Response <c01d11a320ae4a2e@speechrecog> [101]
2018-03-27 19:10:07:287256 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:287280 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:287256 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:287280 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:287289 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]
2018-03-27 19:10:07:287296 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:287303 [INFO] Send MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [127 bytes]
MRCP/2.0 127 101 409 COMPLETE^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Completion-Cause: 004 grammar-load-failure^M
^M
2018-03-27 19:10:07:287334 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:287855 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]
2018-03-27 19:10:07:287896 [INFO] Receive MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [552 bytes]
MRCP/2.0 550 RECOGNIZE 102^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Cancel-If-Queue: false^M
N-Best-List-Length:1^M
Sensitivity-Level:0.5^M
Speech-Complete-Timeout:700^M
Speech-Incomplete-Timeout:1000^M
Confidence-Threshold:0.5^M
Speed-Vs-Accuracy:0.5^M
Recognition-Timeout:20000^M
No-Input-Timeout:5000^M
DTMF-Interdigit-Timeout:3000^M
DTMF-Term-Timeout:0^M
Fetch-Timeout:10000^M
Logging-Tag:35000000004^M
DTMF-Term-Char:#^M
Content-Type:text/uri-list^M
Speech-Language:en-US^M
Start-Input-Timers:true^M
Content-Length: 32^M
^M
session:fie...@field.grammar^M
^M
2018-03-27 19:10:07:287921 [DEBUG] Signal Message to [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:287947 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:287961 [DEBUG] Process Message [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:287997 [DEBUG] Dispatch Signaling Message [1]
2018-03-27 19:10:07:288001 [INFO] Process RECOGNIZE Request <c01d11a320ae4a2e@speechrecog> [102]
2018-03-27 19:10:07:288032 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:288001 [INFO] Process RECOGNIZE Request <c01d11a320ae4a2e@speechrecog> [102]
2018-03-27 19:10:07:288032 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:288048 [WARN] Unsupported Grammar Format [^M
] <c01d11a320ae4a2e@gsr>
2018-03-27 19:10:07:288059 [DEBUG] Signal Message to [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:288095 [DEBUG] Process Message [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:288103 [INFO] Process RECOGNIZE Response <c01d11a320ae4a2e@speechrecog> [102]
2018-03-27 19:10:07:288107 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:288134 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:288174 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]
2018-03-27 19:10:07:288208 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:288217 [INFO] Send MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [127 bytes]
MRCP/2.0 127 102 409 COMPLETE^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Completion-Cause: 004 grammar-load-failure^M
^M
2018-03-27 19:10:07:288246 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:295151 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]
2018-03-27 19:10:07:295189 [INFO] Receive MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [331 bytes]
MRCP/2.0 329 DEFINE-GRAMMAR 103^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Fetch-Timeout:10000^M
Cache-Control:max-stale=0,max-age=300^M
Content-Base:
http://10.78.26.90:7000/CVP/input.vxml^M
Content-Type:text/uri-list^M
Speech-Language:en-US^M
Content-Id:fie...@field.grammar^M
Content-Length: 29^M
^M
builtin:speech/transcribe^M
^M
2018-03-27 19:10:07:295210 [DEBUG] Signal Message to [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:295236 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:295260 [DEBUG] Process Message [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:295273 [DEBUG] Dispatch Signaling Message [1]
2018-03-27 19:10:07:295277 [INFO] Process DEFINE-GRAMMAR Request <c01d11a320ae4a2e@speechrecog> [103]
2018-03-27 19:10:07:295302 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:295326 [DEBUG] Add Speech Context [fie...@field.grammar] <c01d11a320ae4a2e@gsr>
2018-03-27 19:10:07:295360 [WARN] Unsupported Grammar Format [^M
] <c01d11a320ae4a2e@gsr>
2018-03-27 19:10:07:295369 [DEBUG] Signal Message to [MRCP Server] [0x7efebc00b3d0;3;4]
] <c01d11a320ae4a2e@gsr>
2018-03-27 19:10:07:295369 [DEBUG] Signal Message to [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:295407 [DEBUG] Process Message [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:295416 [INFO] Process DEFINE-GRAMMAR Response <c01d11a320ae4a2e@speechrecog> [103]
2018-03-27 19:10:07:295421 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:295446 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:295464 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]
2018-03-27 19:10:07:295493 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:295502 [INFO] Send MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [127 bytes]
MRCP/2.0 127 103 409 COMPLETE^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Completion-Cause: 004 grammar-load-failure^M
^M
2018-03-27 19:10:07:295528 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:296058 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]
2018-03-27 19:10:07:296097 [INFO] Receive MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [552 bytes]
MRCP/2.0 550 RECOGNIZE 104^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Cancel-If-Queue: false^M
N-Best-List-Length:1^M
Sensitivity-Level:0.5^M
Speech-Complete-Timeout:700^M
Speech-Incomplete-Timeout:1000^M
Confidence-Threshold:0.5^M
Speed-Vs-Accuracy:0.5^M
Recognition-Timeout:20000^M
No-Input-Timeout:5000^M
DTMF-Interdigit-Timeout:3000^M
DTMF-Term-Timeout:0^M
Fetch-Timeout:10000^M
Logging-Tag:35000000004^M
DTMF-Term-Char:#^M
Content-Type:text/uri-list^M
Speech-Language:en-US^M
Start-Input-Timers:true^M
Content-Length: 32^M
^M
session:fie...@field.grammar^M
^M
2018-03-27 19:10:07:296117 [DEBUG] Signal Message to [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:296155 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:296117 [DEBUG] Signal Message to [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:296155 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2018-03-27 19:10:07:296167 [DEBUG] Process Message [MRCP Server] [0x7efe940008c0;2;3]
2018-03-27 19:10:07:296176 [DEBUG] Dispatch Signaling Message [1]
2018-03-27 19:10:07:296179 [INFO] Process RECOGNIZE Request <c01d11a320ae4a2e@speechrecog> [104]
2018-03-27 19:10:07:296203 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:296237 [WARN] Unsupported Grammar Format [^M
] <c01d11a320ae4a2e@gsr>
2018-03-27 19:10:07:296252 [DEBUG] Signal Message to [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:296291 [DEBUG] Process Message [MRCP Server] [0x7efebc00b3d0;3;4]
2018-03-27 19:10:07:296299 [INFO] Process RECOGNIZE Response <c01d11a320ae4a2e@speechrecog> [104]
2018-03-27 19:10:07:296304 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:296327 [DEBUG] Wait for Messages [MRCP Server]
2018-03-27 19:10:07:296344 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]
2018-03-27 19:10:07:296374 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7efec400c2d0;1;0]
2018-03-27 19:10:07:296382 [INFO] Send MRCPv2 Data
10.64.82.104:1544 <->
10.78.26.83:36372 [127 bytes]
MRCP/2.0 127 104 409 COMPLETE^M
Channel-Identifier: c01d11a320ae4a2e@speechrecog^M
Completion-Cause: 004 grammar-load-failure^M
^M
What could be the cause? It works with umc, so I'm relatively certain the set-up is correct
Thanks,
Vishwas S