I am looking for a working configuration of the GSR plugin. I have setup the license and everything. However, I keep on getting "Grammar Load" and "Unable to recognize Speech Errors".
I have followed the instructions on a few posts here but no luck.
Any help would be appreciated.
- Executing [*7@from-internal:1] Answer("SIP/100-00000008", "") in new stack
> 0x7f4b18013710 -- Probation passed - setting RTP source address to
10.8.2.2:62936 -- Executing [*7@from-internal:2] MRCPRecog("SIP/100-00000008", "builtin:speech/number,p=default&t=5000&b=1&ct=0.7&spl=en-US&f=hello-world") in new stack
[2017-07-02 05:31:21] NOTICE[29349][C-00000008]: app_mrcprecog.c:1067 app_recog_exec: MRCPRecog() grammar: builtin:speech/number
[2017-07-02 05:31:21] NOTICE[29349][C-00000008]: app_mrcprecog.c:1087 app_recog_exec: MRCPRecog() options: p=default&t=5000&b=1&ct=0.7&spl=en-US&f=hello-world
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:968 mrcprecog_options_parse: Apply option p: default
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:968 mrcprecog_options_parse: Apply option t: 5000
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:968 mrcprecog_options_parse: Apply option b: 1
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:968 mrcprecog_options_parse: Apply option ct: 0.7
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:968 mrcprecog_options_parse: Apply option spl: en-US
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:968 mrcprecog_options_parse: Apply option f: hello-world
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: audio_queue.c:253 audio_queue_create: (ASR-8) Audio queue created
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: speech_channel.c:257 speech_channel_create: Created speech channel: Name=ASR-8, Type=RECOGNIZER, Codec=PCMU, Rate=8000 on SIP/100-00000008
[2017-07-02 05:31:21] NOTICE[29349][C-00000008]: src/mrcp_application.c:117 : Create MRCP Handle 0x7f4b1401f598 [vcloud-ventures]
[2017-07-02 05:31:21] NOTICE[29349][C-00000008]: src/mrcp_client_session.c:131 : Create Channel ASR-8 <new>
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b140089c0;4;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b140089c0;4;0]
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:385 : Receive App Request ASR-8 <new> [2]
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client.c:696 : Add MRCP Handle ASR-8 <new>
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:1277 : Dispatch App Request ASR-8 <new> [2]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:263 : Signal Message to [MRCPv2ConnectionAgent] [0x7f4b14008a50;1;0]
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:717 : Add Control Channel ASR-8 <new@speechrecog>
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:743 : Add Media Termination ASR-8 <new@media-tm>
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:772 : Add Media Termination ASR-8 <new@rtp-tm>
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:263 : Signal Message to [MediaEngine] [0x7f4b1400f8c0;1;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:259 : Process Poller Wakeup [MRCPv2ConnectionAgent]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_task.c:335 : Process Message [MRCPv2ConnectionAgent] [0x7f4b14008a50;1;0]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b10003400;2;0]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:249 : Wait for Messages [MRCPv2ConnectionAgent]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b10003400;2;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:292 : Control Channel Added ASR-8 <new@speechrecog>
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] DEBUG[2564]: src/apt_task.c:335 : Process Message [MediaEngine] [0x7f4b1400f8c0;1;0]
[2017-07-02 05:31:21] DEBUG[2564]: src/mpf_context.c:180 : Add Media Context ASR-8
[2017-07-02 05:31:21] DEBUG[2564]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b28412d50;3;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b28412d50;3;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:939 : Media Termination Added ASR-8 <new@media-tm>
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:939 : Media Termination Added ASR-8 <new@rtp-tm>
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:409 : Send Offer ASR-8 <new> [c:1 a:1 v:0] to
10.128.0.2:8060[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_sofiasip_client_agent.c:301 : Local SDP ASR-8 <new>
v=0
o=VCLOUD 0 0 IN IP4 10.128.0.2
s=-
c=IN IP4 10.128.0.2
t=0 0
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechrecog
a=cmid:1
m=audio 4016 RTP/AVP 0 8 96 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 L16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly
a=ptime:20
a=mid:1
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] NOTICE[2566]: src/mrcp_sofiasip_client_agent.c:556 : Receive SIP Event [nua_i_state] Status 0 INVITE sent [vcloud-ventures]
[2017-07-02 05:31:21] NOTICE[2566]: src/mrcp_sofiasip_client_agent.c:494 : SIP Call State ASR-8 [calling]
[2017-07-02 05:31:21] NOTICE[2566]: src/mrcp_sofiasip_client_agent.c:556 : Receive SIP Event [nua_r_invite] Status 200 OK [vcloud-ventures]
[2017-07-02 05:31:21] NOTICE[2566]: src/mrcp_sofiasip_client_agent.c:556 : Receive SIP Event [nua_i_state] Status 200 OK [vcloud-ventures]
[2017-07-02 05:31:21] NOTICE[2566]: src/mrcp_sofiasip_client_agent.c:494 : SIP Call State ASR-8 [ready]
[2017-07-02 05:31:21] NOTICE[2566]: src/mrcp_sofiasip_client_agent.c:380 : Remote SDP ASR-8 <new>
v=0
o=UniMRCPServer 7601958913655605839 2782730077431845358 IN IP4 10.128.0.2
s=-
c=IN IP4 10.128.0.2
t=0 0
m=application 1544 TCP/MRCPv2 1
a=setup:passive
a=connection:new
a=channel:57d3cca4b8fb4ac6@speechrecog
a=cmid:1
m=audio 5008 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=recvonly
a=ptime:20
a=mid:1
[2017-07-02 05:31:21] DEBUG[2566]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b18004510;1;0]
[2017-07-02 05:31:21] NOTICE[2566]: src/mrcp_sofiasip_client_agent.c:556 : Receive SIP Event [nua_i_active] Status 200 Call active [vcloud-ventures]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b18004510;1;0]
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:149 : Receive Answer ASR-8 <new> [c:1 a:1 v:0] Status 200
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:1136 : Modify Control Channel ASR-8 <57d3cca4b8fb4ac6>
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:263 : Signal Message to [MRCPv2ConnectionAgent] [0x7f4b14006610;1;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:1174 : Modify Media Termination ASR-8 <57d3cca4b8fb4ac6@rtp-tm>
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:263 : Signal Message to [MediaEngine] [0x7f4b1400f8c0;1;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:259 : Process Poller Wakeup [MRCPv2ConnectionAgent]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_task.c:335 : Process Message [MRCPv2ConnectionAgent] [0x7f4b14006610;1;0]
[2017-07-02 05:31:21] NOTICE[2563]: src/mrcp_client_connection.c:433 : Add Control Channel <57d3cca4b8fb4ac6@speechrecog>
10.128.0.2:56444 <->
10.128.0.2:1544 [1]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b10000dd0;2;1]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:249 : Wait for Messages [MRCPv2ConnectionAgent]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b10000dd0;2;1]
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:309 : Control Channel Modified ASR-8 <57d3cca4b8fb4ac6@speechrecog>
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] DEBUG[2564]: src/apt_task.c:335 : Process Message [MediaEngine] [0x7f4b1400f8c0;1;0]
[2017-07-02 05:31:21] NOTICE[2564]: src/mpf_rtp_stream.c:328 : Enable RTP Session
10.128.0.2:4016[2017-07-02 05:31:21] DEBUG[2564]: src/mpf_bridge.c:153 : Create Null Audio Bridge ASR-8
[2017-07-02 05:31:21] NOTICE[2564]: src/mpf_bridge.c:91 : Media Path ASR-8 Source->[PCMU/8000/1]->Bridge->[PCMU/8000/1]->Sink
[2017-07-02 05:31:21] DEBUG[2564]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b28412d50;3;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b28412d50;3;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/mrcp_client_session.c:980 : Media Termination Modified ASR-8 <57d3cca4b8fb4ac6@rtp-tm>
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:453 : Raise App Response ASR-8 <57d3cca4b8fb4ac6> [2] SUCCESS [0]
[2017-07-02 05:31:21] DEBUG[2562]: app_mrcprecog.c:252 speech_on_channel_add: (ASR-8) speech_on_channel_add
[2017-07-02 05:31:21] DEBUG[2562]: app_mrcprecog.c:267 speech_on_channel_add: (ASR-8) DTMF generator created
[2017-07-02 05:31:21] NOTICE[2562]: app_mrcprecog.c:279 speech_on_channel_add: (ASR-8) Channel ready codec=PCMU, sample rate=8000
[2017-07-02 05:31:21] DEBUG[2562]: speech_channel.c:108 speech_channel_set_state_unlocked: (ASR-8) CLOSED ==> READY
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: speech_channel.c:509 speech_channel_open: (ASR-8) channel is ready
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:1177 app_recog_exec: (ASR-8) Determine grammar type: builtin:speech/number
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:631 recog_channel_load_grammar: (ASR-8) Loading grammar name=grammar-0, type=text/uri-list, data=builtin:speech/number
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: app_mrcprecog.c:1217 app_recog_exec: (ASR-8) Add prompt: hello-world
[2017-07-02 05:31:21] NOTICE[29349][C-00000008]: app_mrcprecog.c:1295 app_recog_exec: (ASR-8) Recognizing, enable DTMFs: 2, start input timers: 0
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: speech_channel.c:627 speech_channel_set_params: (ASR-8) Recognition-Timeout: 5000
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: speech_channel.c:627 speech_channel_set_params: (ASR-8) Confidence-Threshold: 0.7
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: speech_channel.c:627 speech_channel_set_params: (ASR-8) Speech-Language: en-US
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b1400f690;4;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b1400f690;4;0]
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:390 : Receive App MRCP Request ASR-8 <57d3cca4b8fb4ac6>
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:620 : Send MRCP Request ASR-8 <57d3cca4b8fb4ac6@speechrecog> [1]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:263 : Signal Message to [MRCPv2ConnectionAgent] [0x7f4b14008b80;1;0]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:259 : Process Poller Wakeup [MRCPv2ConnectionAgent]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_task.c:335 : Process Message [MRCPv2ConnectionAgent] [0x7f4b14008b80;1;0]
MRCP/2.0 277 RECOGNIZE 1
Channel-Identifier: 57d3cca4b8fb4ac6@speechrecog
Content-Type: text/uri-list
Cancel-If-Queue: false
Start-Input-Timers: false
Recognition-Timeout: 5000
Confidence-Threshold: 0.7
Speech-Language: en-US
Content-Length: 21
builtin:speech/number
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:249 : Wait for Messages [MRCPv2ConnectionAgent]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:267 : Process Signalled Descriptor [MRCPv2ConnectionAgent]
MRCP/2.0 125 1 409 COMPLETE
Channel-Identifier: 57d3cca4b8fb4ac6@speechrecog
Completion-Cause: 004 grammar-load-failure
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b10000e30;2;3]
[2017-07-02 05:31:21] DEBUG[2563]: src/apt_poller_task.c:249 : Wait for Messages [MRCPv2ConnectionAgent]
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_task.c:335 : Process Message [MRCP Client] [0x7f4b10000e30;2;3]
[2017-07-02 05:31:21] NOTICE[2562]: src/mrcp_client_session.c:498 : Raise App MRCP Response ASR-8 <57d3cca4b8fb4ac6>
[2017-07-02 05:31:21] DEBUG[2562]: app_mrcprecog.c:734 recog_on_message_receive: (ASR-8) RECOGNIZE failed: status = 409, completion-cause = 004
[2017-07-02 05:31:21] DEBUG[2562]: speech_channel.c:108 speech_channel_set_state_unlocked: (ASR-8) READY ==> ERROR
[2017-07-02 05:31:21] DEBUG[2562]: src/apt_consumer_task.c:135 : Wait for Messages [MRCP Client]
[2017-07-02 05:31:21] ERROR[29349][C-00000008]: app_mrcprecog.c:1299 app_recog_exec: (ASR-8) Unable to start recognition
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: speech_channel.c:353 speech_channel_destroy: Destroy speech channel: Name=ASR-8, Type=RECOGNIZER, Codec=PCMU, Rate=8000
[2017-07-02 05:31:21] DEBUG[29349][C-00000008]: src/apt_task.c:263 : Signal Message to [MRCP Client] [0x7f4b14006300;4;0]