Issue : GSR | External SRGS Grammar file | Error : Unsupported Grammar Format
We have integrated CVP with UniMRCP. We are using GSR for speech transcription and GSS for Synthesized speech. We have developed IVR application which works as expected when we use builtin grammar for voice and DTMF.
However when we try to use external srgs grammar (grxml), we are observing UniMRCP server is throwing Unsupported Grammar Format error.
Findings from UniMRCP log:
In DEFINE-GRAMMAR method, Content-Type is set to text/uri-list instead of application/srgs+xml. From IVR application we are sending grammar type as application/srgs+xml.
UniMRCP Log:
MRCP/2.0 358 DEFINE-GRAMMAR 100
Channel-Identifier: a94b600c55e84066@speechrecog
Fetch-Timeout:10000
Cache-Control:max-stale=0,max-age=300
Content-Type:text/uri-list
Speech-Language:en-US
Content-Id:fie...@field.grammar
Content-Length: 56
IVR application assigning proper grammar type:
<field name="foundation_fld" modal="false">
<property name="inputmodes" value="voice" />
<property name="com.cisco.secureLogging" value="false" />
<prompt bargein="true">
</prompt>
<catch event="nomatch">
I have attached UniMRCP log and grammar file for your reference.