Currently we are implementing Genesys pure engage vxml which is integrated with Dialog flow CX and UniMRCP plugin with GSR as ASR engine. In this vxml, I’m using .grxml / URL[dynamically generate grammar] file for speech recognition. However, in UniMRCP log I’m receiving below error : Content-Type is not changing , I am getting as text/uri-list ,
2022-04-25 18:42:18:465314 [INFO] Receive SIP Event [nua_i_invite] Status 100 Trying [SIP-Agent-1]
2022-04-25 18:42:18:465347 [INFO] Receive SIP Event [nua_i_state] Status 100 Trying [SIP-Agent-1]
2022-04-25 18:42:18:465353 [NOTICE] SIP Call State [received]
2022-04-25 18:42:18:465368 [INFO] Create Session 0x7f4ff4001dd8 <new> [uni2]
2022-04-25 18:42:18:465375 [INFO] Remote SDP 0x7f4ff4001dd8 <new>
v=0
o=- 257 1 IN IP4 10.24.86.21
s=GVP MrcpV2 Client
c=IN IP4 10.24.86.21
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
a=resource:speechrecog
a=cmid:1
m=audio 45536 RTP/AVP 0 101
a=rtpmap:0 pcmu/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly
a=mid:1
2022-04-25 18:42:18:465558 [NOTICE] Add Session <ca214a3db7fd4307>
2022-04-25 18:42:18:465571 [INFO] Receive Offer 0x7f4ff4001dd8 <ca214a3db7fd4307> [c:1 a:1 v:0]
2022-04-25 18:42:18:465592 [INFO] Found MRCP Engine [GSR-1] for Resource [speechrecog] 0x7f4ff4001dd8 <ca214a3db7fd4307>
2022-04-25 18:42:18:465663 [INFO] Add Pending Control Channel <ca214a3db7fd4307@speechrecog> [1]
2022-04-25 18:42:18:474626 [INFO] Enable RTP Session
10.139.0.24:50022022-04-25 18:42:18:474668 [INFO] Open RTP Receiver
10.139.0.24:5002 <-
10.24.86.21:45536 playout [50 ms] bounds [0 - 600 ms] adaptive [1] skew detection [1]
2022-04-25 18:42:18:474680 [INFO] Media Path 0x7f4ff4001dd8 Source->[PCMU/8000/1]->Decoder->[LPCM/8000/1]->Bridge->[LPCM/8000/1]->Sink
2022-04-25 18:42:18:474748 [INFO] Open <ca214a3db7fd4307@gsr>
2022-04-25 18:42:18:474762 [NOTICE] GSR Usage: 1/1/5
2022-04-25 18:42:18:474798 [INFO] Send Answer 0x7f4ff4001dd8 <ca214a3db7fd4307> [c:1 a:1 v:0] Status OK
2022-04-25 18:42:18:474813 [INFO] Local SDP 0x7f4ff4001dd8 <ca214a3db7fd4307>
v=0
o=UniMRCPServer 0 0 IN IP4 10.139.0.24
s=-
c=IN IP4 10.139.0.24
t=0 0
m=application 1544 TCP/MRCPv2 1
a=setup:passive
a=connection:existing
a=channel:ca214a3db7fd4307@speechrecog
a=cmid:1
m=audio 5002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=recvonly
a=mid:1
2022-04-25 18:42:18:475103 [INFO] Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]
2022-04-25 18:42:18:475117 [NOTICE] SIP Call State 0x7f4ff4001dd8 [completed]
2022-04-25 18:42:18:482418 [INFO] Receive SIP Event [nua_i_ack] Status 200 OK [SIP-Agent-1]
2022-04-25 18:42:18:482440 [INFO] Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]
2022-04-25 18:42:18:482445 [NOTICE] SIP Call State 0x7f4ff4001dd8 [ready]
2022-04-25 18:42:18:482449 [INFO] Receive SIP Event [nua_i_active] Status 200 Call active [SIP-Agent-1]
2022-04-25 18:42:18:484127 [NOTICE] Accepted TCP/MRCPv2 Connection
10.139.0.24:1544 <->
10.24.86.21:120742022-04-25 18:42:18:506557 [INFO] Receive MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [334 bytes]
MRCP/2.0 334 SET-PARAMS 2
Channel-Identifier:ca214a3db7fd4307@speechrecog
Speech-Language: en-US
Confidence-Threshold: 0.500000
Sensitivity-Level: 0.500000
Speed-Vs-Accuracy: 0.500000
N-Best-List-Length: 1
No-Input-Timeout: 86400000
Recognition-Timeout: 60000
Speech-Complete-Timeout: 400
Speech-Incomplete-Timeout: 1000
2022-04-25 18:42:18:506595 [INFO] Assign Control Channel <ca214a3db7fd4307@speechrecog> to Connection
10.139.0.24:1544 <->
10.24.86.21:12074 [0] -> [1]
2022-04-25 18:42:18:506629 [INFO] Process SET-PARAMS Request <ca214a3db7fd4307@speechrecog> [2]
2022-04-25 18:42:18:506708 [INFO] Process SET-PARAMS Response <ca214a3db7fd4307@speechrecog> [2]
2022-04-25 18:42:18:506756 [INFO] Send MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [80 bytes]
MRCP/2.0 80 2 200 COMPLETE
Channel-Identifier: ca214a3db7fd4307@speechrecog
2022-04-25 18:42:18:507884 [INFO] Receive MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [323 bytes]
MRCP/2.0 323 DEFINE-GRAMMAR 4
Channel-Identifier:ca214a3db7fd4307@speechrecog
Content-Type: text/uri-list
Content-Id: 0x000001ea
Fetch-Timeout: 30000
Cache-Control: max-stale=0
Speech-Language: en-US
Content-Length: 94
http://lapca8lnwtn2.corp.suth.com:8080/MainFlow/Resources/Grammars/en-US/ExternalGrammar.grxml2022-04-25 18:42:18:507935 [INFO] Process DEFINE-GRAMMAR Request <ca214a3db7fd4307@speechrecog> [4]
2022-04-25 18:42:18:507984 [WARN] Unsupported Grammar Format [
http://lapca8lnwtn2.corp.suth.com:8080/MainFlow/Resources/Grammars/en-US/ExternalGrammar.grxml] <ca214a3db7fd4307@gsr>
2022-04-25 18:42:18:508011 [INFO] Process DEFINE-GRAMMAR Response <ca214a3db7fd4307@speechrecog> [4]
2022-04-25 18:42:18:508056 [INFO] Send MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [112 bytes]
MRCP/2.0 112 4 200 COMPLETE
Channel-Identifier: ca214a3db7fd4307@speechrecog
Completion-Cause: 000 success
2022-04-25 18:42:18:578402 [INFO] Receive MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [475 bytes]
MRCP/2.0 475 RECOGNIZE 5
Channel-Identifier:ca214a3db7fd4307@speechrecog
Content-Type: text/uri-list
Speech-Language: en-US
Confidence-Threshold: 0.500000
Sensitivity-Level: 0.500000
Speed-Vs-Accuracy: 0.500000
N-Best-List-Length: 1
Recognition-Timeout: 60000
Start-Input-Timers: false
Speech-Complete-Timeout: 400
Speech-Incomplete-Timeout: 1000
Recognition-Mode: normal
Cancel-If-Queue: true
Clear-Dtmf-Buffer: true
Content-Length: 20
session:0x000001ea
2022-04-25 18:42:18:578471 [INFO] Process RECOGNIZE Request <ca214a3db7fd4307@speechrecog> [5]
2022-04-25 18:42:18:578561 [WARN] No Such Session Grammar [0x000001ea] <ca214a3db7fd4307@gsr>
2022-04-25 18:42:18:578595 [INFO] Process RECOGNIZE Response <ca214a3db7fd4307@speechrecog> [5]
2022-04-25 18:42:18:578639 [INFO] Send MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [125 bytes]
MRCP/2.0 125 5 404 COMPLETE
Channel-Identifier: ca214a3db7fd4307@speechrecog
Completion-Cause: 004 grammar-load-failure2022-04-25 18:42:18:590243 [INFO] Receive MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [71 bytes]
MRCP/2.0 71 STOP 6
Channel-Identifier:ca214a3db7fd4307@speechrecog
2022-04-25 18:42:18:590303 [INFO] Process STOP Request <ca214a3db7fd4307@speechrecog> [6]
2022-04-25 18:42:18:590348 [INFO] Send MRCPv2 Data
10.139.0.24:1544 <->
10.24.86.21:12074 [80 bytes]
MRCP/2.0 80 6 200 COMPLETE
Channel-Identifier: ca214a3db7fd4307@speechrecog
2022-04-25 18:42:18:602452 [INFO] Receive SIP Event [nua_i_bye] Status 200 Session Terminated [SIP-Agent-1]
2022-04-25 18:42:18:602473 [INFO] Receive SIP Event [nua_i_state] Status 200 Session Terminated [SIP-Agent-1]
2022-04-25 18:42:18:602481 [NOTICE] SIP Call State 0x7f4ff4001dd8 [terminated]
2022-04-25 18:42:18:602494 [INFO] Receive SIP Event [nua_i_terminated] Status 200 Session Terminated [SIP-Agent-1]
2022-04-25 18:42:18:602499 [INFO] Deactivate Session 0x7f4ff4001dd8 <ca214a3db7fd4307>
2022-04-25 18:42:18:602510 [INFO] Terminate Session 0x7f4ff4001dd8 <ca214a3db7fd4307>
2022-04-25 18:42:18:602544 [INFO] Close <ca214a3db7fd4307@gsr>
2022-04-25 18:42:18:602552 [INFO] Remove Control Channel <ca214a3db7fd4307@speechrecog> [0]
2022-04-25 18:42:18:602554 [NOTICE] GSR Usage: 0/1/5
2022-04-25 18:42:18:604548 [INFO] Close RTP Receiver
10.139.0.24:5002 <-
10.24.86.21:45536 [r:0 l:0 j:0 p:50 d:0 i:0]
2022-04-25 18:42:18:604561 [INFO] Remove RTP Session
10.139.0.24:50022022-04-25 18:42:18:604612 [NOTICE] Remove Session <ca214a3db7fd4307>
2022-04-25 18:42:18:604619 [INFO] Session Terminated 0x7f4ff4001dd8 <ca214a3db7fd4307>
2022-04-25 18:42:18:604636 [NOTICE] Destroy Session <ca214a3db7fd4307>
2022-04-25 18:42:41:975692 [INFO] Receive SIP Event [nua_i_options] Status 100 Trying [SIP-Agent-1]
2022-04-25 18:42:41:975728 [INFO] Resource Discovery SDP
[v=0
o=UniMRCPServer 0 0 IN IP4 10.139.0.24
s=-
c=IN IP4 10.139.0.24
t=0 0
m=application 0 TCP/MRCPv2 1
a=resource:speechsynth
a=resource:speechrecog
m=audio 0 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
]
2022-04-25 18:42:45:972574 [INFO] Receive SIP Event [nua_i_options] Status 100 Trying [SIP-Agent-1]
2022-04-25 18:42:45:972609 [INFO] Resource Discovery SDP
[v=0
o=UniMRCPServer 0 0 IN IP4 10.139.0.24
s=-
c=IN IP4 10.139.0.24
t=0 0
m=application 0 TCP/MRCPv2 1
a=resource:speechsynth
a=resource:speechrecog
m=audio 0 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
]
Thanks