Azure SR Plugin: "No Such Session Grammar" Error in Cisco VVB Integration

45 views
Skip to first unread message

Sarah Kaplan

unread,
Mar 4, 2025, 8:19:08 AM3/4/25
to UniMRCP

Hi everyone,

I'm experiencing an issue with the Azure SR plugin when used with Cisco VVB. The issue seems to be related to how session grammar references are handled when the grammar is retrieved from a URI.

Issue Description
  • DEFINE-GRAMMAR requests complete successfully.
  • However, subsequent RECOGNIZE requests fail with the error: "No Such Session Grammar".
DEFINE-GRAMMAR Request (Successful):
MRCP/2.0 356 DEFINE-GRAMMAR 101
Channel-Identifier: c4c1381c5a6c4fe8@speechrecog
Fetch-Timeout:10000
Cache-Control:max-stale=0,max-age=300
Content-Base:http://10.80.60.24:7000/CVP/Server
Content-Type:text/uri-list
Speech-Language:en-US
Content-Id:fie...@field.grammar
Content-Length: 54

Response (Success):  
Completion-Cause: 000 success

However, there are some warnings in the logs:

[WARN] Cannot read the first field in start-line
[WARN] Failed to Parse MRCPv2 Data  

Despite these warnings, the grammar seems to be downloaded successfully:
 Process DEFINE-GRAMMAR Response <c4c1381c5a6c4fe8@speechrecog> [101]
Written [156 bytes] to meta file [/opt/unimrcp/var/umshttp4ce2d8cebb9745dc-101-1.meta]
  

RECOGNIZE Request (Fails):

MRCP/2.0 553 RECOGNIZE 102
Channel-Identifier: c4c1381c5a6c4fe8@speechrecog
Cancel-If-Queue: false
N-Best-List-Length: 3
Speech-Incomplete-Timeout: 1000
Fetch-Timeout: 10000
DTMF-Term-Timeout: 0
Speech-Complete-Timeout: 700
Confidence-Threshold: 0.01
DTMF-Term-Char: # Logging-Tag: 140FCE800001000000000030643C500A
DTMF-Interdigit-Timeout: 3000
Speed-Vs-Accuracy: 0.5
No-Input-Timeout: 15000
Recognition-Timeout: 20000
Sensitivity-Level: 0.5
Content-Type: text/uri-list
Start-Input-Timers: false
Content-Length: 28

session:fie...@field.grammar

Failure Response:  
Completion-Cause: 004 grammar-load-failure
[WARN] No Such Session Grammar [fie...@field.grammar]    

Environment Details:  
UniMRCP Server [1.7.0]
AZURESR Plugin Version [1.30.0]
Cisco VVB UCCE with Call Studio: [12.6]  


Questions

  1. Is there a specific configuration setting needed for session grammar references to work when using a URI with Cisco VVB?
  2. Are there any parameters that control how Content-Id is processed and linked to session references?
  3. Are the warnings in the logs related to the issue, or can they be ignored?
  4. Has anyone encountered a similar issue or found a workaround?


I would appreciate any insights!  

Thanks in advance.

Best regards,
Sarah


Reply all
Reply to author
Forward
0 new messages