cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1622
Views
0
Helpful
1
Replies

connect with unimrcp asr problem

xiaosen weng
Level 1
Level 1

My environment is Voice gateway3945E, CVP 11.5, and unimrcp asr,  i configure the voicegateway to connect with unimrcp use mrcpv1.and use call studio to make a voicexml application, and when i test this application, the unimrcp's log has warning, and the cvp log shows "no asr resource",   the unimrcp log shows  as follows, I ask unimrcp engineer, he says this words "In your VoiceXML application, specify builtin:speech/transcribe as a grammar."   I don't know how to set this param in my call studio ,any one can help me?

2018-04-27 23:23:02:659947 [DEBUG]  Process Signalled Descriptor [RTSP-Agent-1]

2018-04-27 23:23:02:660098 [NOTICE] Accepted RTSP Connection 192.168.0.109:1554 <-> 192.168.0.151:42335

2018-04-27 23:23:02:660124 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:02:660132 [DEBUG]  Process Signalled Descriptor [RTSP-Agent-1]

2018-04-27 23:23:02:660139 [INFO]   Receive RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [135 bytes]

SETUP rtsp://192.168.0.109:1554/media/speechrecognizer RTSP/1.0

CSeq:  0

Transport: rtp/avp;unicast;client_port=23386;mode=record

2018-04-27 23:23:02:660263 [NOTICE] Create RTSP Session <7739c0031d544111>

2018-04-27 23:23:02:660280 [INFO]   Create Session 0x7ff0dc004c88 <new> [uni1]

2018-04-27 23:23:02:660296 [INFO]   Add RTSP Session <7739c0031d544111>

2018-04-27 23:23:02:660307 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0dc006de0;1;0]

2018-04-27 23:23:02:660321 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:02:660341 [DEBUG]  Process Message [MRCP Server] [0x7ff0dc006de0;1;0]

2018-04-27 23:23:02:660364 [DEBUG]  Dispatch Signaling Message [0]

2018-04-27 23:23:02:660449 [NOTICE] Add Session <7739c0031d544111>

2018-04-27 23:23:02:660506 [INFO]   Receive Offer 0x7ff0dc004c88 <7739c0031d544111> [c:0 a:1 v:0]

2018-04-27 23:23:02:660580 [DEBUG]  Add Control Channel 0x7ff0dc004c88 <7739c0031d544111@speechrecog> [0]

2018-04-27 23:23:02:660612 [DEBUG]  Add Media Termination 0x7ff0dc004c88 <7739c0031d544111@rtp-tm> [0]

2018-04-27 23:23:02:660669 [DEBUG]  Signal Message to [Media-Engine-1] [0x7ff0ec0014c0;1;0]

2018-04-27 23:23:02:660711 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:668791 [DEBUG]  Process Message [Media-Engine-1] [0x7ff0ec0014c0;1;0]

2018-04-27 23:23:02:668832 [DEBUG]  Add Media Context 0x7ff0dc004c88

2018-04-27 23:23:02:669073 [INFO]   Enable RTP Session 192.168.0.109:5000

2018-04-27 23:23:02:669095 [DEBUG]  Create Linear Audio Bridge 0x7ff0dc004c88

2018-04-27 23:23:02:669105 [INFO]   Open RTP Receiver 192.168.0.109:5000 <- 192.168.0.151:23386 playout [50 ms] bounds [0 - 600 ms] adaptive [0] skew detection [1]

2018-04-27 23:23:02:669112 [INFO]   Media Path 0x7ff0dc004c88 Source->[PCMU/8000/1]->Decoder->[LPCM/8000/1]->Bridge->[LPCM/8000/1]->Sink

2018-04-27 23:23:02:669118 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0d40008c0;4;0]

2018-04-27 23:23:02:669151 [DEBUG]  Process Message [MRCP Server] [0x7ff0d40008c0;4;0]

2018-04-27 23:23:02:669160 [DEBUG]  Media Termination Modified 0x7ff0dc004c88 <7739c0031d544111@media-tm>

2018-04-27 23:23:02:669163 [DEBUG]  Media Termination Modified 0x7ff0dc004c88 <7739c0031d544111@rtp-tm>

2018-04-27 23:23:02:669179 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:669196 [INFO]   Open <7739c0031d544111@bingsr>

2018-04-27 23:23:02:669233 [NOTICE] BingSR Usage: 1/2

2018-04-27 23:23:02:669239 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0e4009510;3;2]

2018-04-27 23:23:02:669255 [DEBUG]  Process Message [MRCP Server] [0x7ff0e4009510;3;2]

2018-04-27 23:23:02:669270 [DEBUG]  Engine Channel Opened 0x7ff0dc004c88 <7739c0031d544111@speechrecog> [OK]

2018-04-27 23:23:02:669308 [INFO]   Send Answer 0x7ff0dc004c88 <7739c0031d544111> [c:0 a:1 v:0] Status OK

2018-04-27 23:23:02:669357 [DEBUG]  Signal Message to [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:669394 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:669418 [DEBUG]  Process Poller Wakeup [RTSP-Agent-1]

2018-04-27 23:23:02:669424 [DEBUG]  Process Message [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:669439 [INFO]   Send RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [386 bytes]

RTSP/1.0 200 OK

CSeq: 0

Transport: RTP/AVP;unicast;client_port=23386;server_port=5000-5001;mode=record

Session: 7739c0031d544111

Content-Type: application/sdp

Content-Length: 199

v=0

o=UniMRCPServer 0 0 IN IP4 192.168.0.109

s=-

c=IN IP4 192.168.0.109

t=0 0

m=audio 5000 RTP/AVP 97 102

a=rtpmap:97 PCMU/8000

a=rtpmap:102 telephone-event/8000

a=fmtp:102 0-15

a=recvonly

2018-04-27 23:23:02:669474 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [599991]

2018-04-27 23:23:02:669679 [DEBUG]  Process Signalled Descriptor [RTSP-Agent-1]

2018-04-27 23:23:02:669703 [INFO]   Receive RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [161 bytes]

ANNOUNCE rtsp://192.168.0.109:1554/media/speechrecognizer RTSP/1.0

CSeq:  1

Session: 7739c0031d544111

Content-Type: application/mrcp

Content-Length:  229

2018-04-27 23:23:02:669730 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [599991]

2018-04-27 23:23:02:708858 [DEBUG]  Process Signalled Descriptor [RTSP-Agent-1]

2018-04-27 23:23:02:708877 [INFO]   Receive RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [1023 bytes]

DEFINE-GRAMMAR  3 MRCP/1.0

Speech-Language: en-US

Content-Base: http://192.168.0.199:7000/CVP/

Content-Type: text/uri-list

Content-Id: field40@field.grammar

Content-Length: 45

http://192.168.0.199:7000/CVP/en/guests.grxmlANNOUNCE rtsp://192.168.0.109:1554/media/speechrecognizer RTSP/1.0

CSeq:  2

Session: 7739c0031d544111

Content-Type: application/mrcp

Content-Length:  370

DEFINE-GRAMMAR  4 MRCP/1.0

Speech-Language: en-US

Content-Base: http://192.168.0.199:7000/CVP/

Content-Type: application/grammar+xml

Content-Id: help@grammar

Content-Length: 184

<?xml version="1.0" encoding="UTF-8"?><grammar version="1.0" xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" root="root"><rule id="root" scope="public">help</rule></grammar>ANNOUNCE rtsp://192.168.0.109:1554/media/speechrecognizer RTSP/1.0

CSeq:  3

Session: 7739c0031d544111

Content-Type: application/mrcp

Content-Length:  473

RECOGNIZE  5 MRCP/1.0

Speech-Language: en-US

Confidence-Threshold: 40

Sensitivity-Level: 50

Speed-

2018-04-27 23:23:02:708913 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0dc008df0;1;1]

2018-04-27 23:23:02:708925 [DEBUG]  Push RTSP Request to Queue <7739c0031d544111>

2018-04-27 23:23:02:708931 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:02:708936 [DEBUG]  Process Signalled Descriptor [RTSP-Agent-1]

2018-04-27 23:23:02:708940 [INFO]   Receive RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [371 bytes]

Vs-Accuracy: 50

Dtmf-Interdigit-Timeout: 10000

Dtmf-Term-Timeout: 0

Dtmf-Term-Char: #

No-Input-Timeout: 5000

N-Best-List-Length: 1

Logging-Tag: 19690

Accept-Charset: charset: utf-8

Content-Base: http://192.168.0.199:7000/CVP/

Recognizer-Start-Timers: false

Content-Type: text/uri-list

Content-Length: 53

session:field40@field.grammar

session:help@grammar

2018-04-27 23:23:02:708944 [DEBUG]  Push RTSP Request to Queue <7739c0031d544111>

2018-04-27 23:23:02:708946 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:02:709002 [DEBUG]  Process Message [MRCP Server] [0x7ff0dc008df0;1;1]

2018-04-27 23:23:02:709008 [DEBUG]  Dispatch Signaling Message [1]

2018-04-27 23:23:02:709012 [INFO]   Process DEFINE-GRAMMAR Request <7739c0031d544111@speechrecog> [3]

2018-04-27 23:23:02:709018 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:709039 [WARN]   Unsupported Grammar Format [http://192.168.0.199:7000/CVP/en/guests.grxml] <7739c0031d544111@bingsr>

2018-04-27 23:23:02:709047 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0e4009510;3;4]

2018-04-27 23:23:02:709084 [DEBUG]  Process Message [MRCP Server] [0x7ff0e4009510;3;4]

2018-04-27 23:23:02:709090 [INFO]   Process DEFINE-GRAMMAR Response <7739c0031d544111@speechrecog> [3]

2018-04-27 23:23:02:709098 [DEBUG]  Signal Message to [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:709107 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:709127 [DEBUG]  Process Poller Wakeup [RTSP-Agent-1]

2018-04-27 23:23:02:709132 [DEBUG]  Process Message [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:709136 [INFO]   Send RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [175 bytes]

RTSP/1.0 200 OK

CSeq: 1

Session: 7739c0031d544111

Content-Type: application/mrcp

Content-Length: 68

MRCP/1.0 3 409 COMPLETE

Completion-Cause: 004 gram-load-failure

2018-04-27 23:23:02:709176 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0dc008df0;1;1]

2018-04-27 23:23:02:709185 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:02:709202 [DEBUG]  Process Message [MRCP Server] [0x7ff0dc008df0;1;1]

2018-04-27 23:23:02:709216 [DEBUG]  Dispatch Signaling Message [1]

2018-04-27 23:23:02:709220 [INFO]   Process DEFINE-GRAMMAR Request <7739c0031d544111@speechrecog> [4]

2018-04-27 23:23:02:709229 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:709240 [WARN]   Unsupported Content Type [application/grammar+xml] <7739c0031d544111@bingsr>

2018-04-27 23:23:02:709288 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0e4009510;3;4]

2018-04-27 23:23:02:709321 [DEBUG]  Process Message [MRCP Server] [0x7ff0e4009510;3;4]

2018-04-27 23:23:02:709325 [INFO]   Process DEFINE-GRAMMAR Response <7739c0031d544111@speechrecog> [4]

2018-04-27 23:23:02:709331 [DEBUG]  Signal Message to [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:709336 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:709356 [DEBUG]  Process Poller Wakeup [RTSP-Agent-1]

2018-04-27 23:23:02:709360 [DEBUG]  Process Message [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:709369 [INFO]   Send RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [175 bytes]

RTSP/1.0 200 OK

CSeq: 2

Session: 7739c0031d544111

Content-Type: application/mrcp

Content-Length: 68

MRCP/1.0 4 409 COMPLETE

Completion-Cause: 004 gram-load-failure

2018-04-27 23:23:02:709408 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0dc00ae00;1;1]

2018-04-27 23:23:02:709418 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:02:709424 [DEBUG]  Process Message [MRCP Server] [0x7ff0dc00ae00;1;1]

2018-04-27 23:23:02:709434 [DEBUG]  Dispatch Signaling Message [1]

2018-04-27 23:23:02:709437 [INFO]   Process RECOGNIZE Request <7739c0031d544111@speechrecog> [5]

2018-04-27 23:23:02:709446 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:709460 [WARN]   Non-Existent Session Grammar Name [field40@field.grammar] <7739c0031d544111@bingsr>

2018-04-27 23:23:02:709468 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0e4009510;3;4]

2018-04-27 23:23:02:709501 [DEBUG]  Process Message [MRCP Server] [0x7ff0e4009510;3;4]

2018-04-27 23:23:02:709511 [INFO]   Process RECOGNIZE Response <7739c0031d544111@speechrecog> [5]

2018-04-27 23:23:02:709520 [DEBUG]  Signal Message to [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:709527 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:02:709534 [DEBUG]  Process Poller Wakeup [RTSP-Agent-1]

2018-04-27 23:23:02:709537 [DEBUG]  Process Message [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:02:709543 [INFO]   Send RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [175 bytes]

RTSP/1.0 200 OK

CSeq: 3

Session: 7739c0031d544111

Content-Type: application/mrcp

Content-Length: 68

MRCP/1.0 5 404 COMPLETE

Completion-Cause: 004 gram-load-failure

2018-04-27 23:23:02:709558 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:10:594686 [DEBUG]  Process Signalled Descriptor [RTSP-Agent-1]

2018-04-27 23:23:10:594750 [INFO]   Receive RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [107 bytes]

TEARDOWN rtsp://192.168.0.109:1554/media/speechrecognizer RTSP/1.0

CSeq:  4

Session: 7739c0031d544111

2018-04-27 23:23:10:594785 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0dc00ce10;1;2]

2018-04-27 23:23:10:594797 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [600000]

2018-04-27 23:23:10:594866 [DEBUG]  Process Message [MRCP Server] [0x7ff0dc00ce10;1;2]

2018-04-27 23:23:10:594882 [DEBUG]  Dispatch Signaling Message [2]

2018-04-27 23:23:10:594885 [INFO]   Deactivate Session 0x7ff0dc004c88 <7739c0031d544111>

2018-04-27 23:23:10:594889 [INFO]   Terminate Session 0x7ff0dc004c88 <7739c0031d544111>

2018-04-27 23:23:10:594893 [DEBUG]  Remove Control Channel 0x7ff0dc004c88 <7739c0031d544111@speechrecog> [0]

2018-04-27 23:23:10:594896 [DEBUG]  Subtract Media Termination 0x7ff0dc004c88 <7739c0031d544111@media-tm>

2018-04-27 23:23:10:594906 [DEBUG]  Subtract Media Termination 0x7ff0dc004c88 <7739c0031d544111@rtp-tm>

2018-04-27 23:23:10:594910 [DEBUG]  Signal Message to [Media-Engine-1] [0x7ff0ec0014c0;1;0]

2018-04-27 23:23:10:594914 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:10:594925 [INFO]   Close <7739c0031d544111@bingsr>

2018-04-27 23:23:10:594943 [NOTICE] BingSR Usage: 0/2

2018-04-27 23:23:10:594947 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0e4009510;3;3]

2018-04-27 23:23:10:594992 [DEBUG]  Process Message [MRCP Server] [0x7ff0e4009510;3;3]

2018-04-27 23:23:10:595000 [DEBUG]  Engine Channel Closed 0x7ff0dc004c88 <7739c0031d544111@speechrecog>

2018-04-27 23:23:10:595003 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:10:598784 [DEBUG]  Process Message [Media-Engine-1] [0x7ff0ec0014c0;1;0]

2018-04-27 23:23:10:598803 [DEBUG]  Destroy Audio Bridge 0x7ff0dc004c88

2018-04-27 23:23:10:598808 [INFO]   Close RTP Receiver 192.168.0.109:5000 <- 192.168.0.151:23386 [r:145 l:0 j:0 p:50 d:0 i:145]

2018-04-27 23:23:10:598824 [DEBUG]  Remove Media Context 0x7ff0dc004c88

2018-04-27 23:23:10:598842 [INFO]   Remove RTP Session 192.168.0.109:5000

2018-04-27 23:23:10:598867 [DEBUG]  Signal Message to [MRCP Server] [0x7ff0d40008c0;4;0]

2018-04-27 23:23:10:598904 [DEBUG]  Process Message [MRCP Server] [0x7ff0d40008c0;4;0]

2018-04-27 23:23:10:598910 [DEBUG]  Media Termination Subtracted 0x7ff0dc004c88 <7739c0031d544111@media-tm>

2018-04-27 23:23:10:598913 [DEBUG]  Media Termination Subtracted 0x7ff0dc004c88 <7739c0031d544111@rtp-tm>

2018-04-27 23:23:10:598919 [NOTICE] Remove Session <7739c0031d544111>

2018-04-27 23:23:10:598922 [INFO]   Session Terminated 0x7ff0dc004c88 <7739c0031d544111>

2018-04-27 23:23:10:598938 [NOTICE] Destroy Session <7739c0031d544111>

2018-04-27 23:23:10:598950 [DEBUG]  Signal Message to [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:10:598971 [DEBUG]  Process Poller Wakeup [RTSP-Agent-1]

2018-04-27 23:23:10:598980 [DEBUG]  Process Message [RTSP-Agent-1] [0x7ff0ec0018b0;1;0]

2018-04-27 23:23:10:598987 [DEBUG]  Wait for Messages [MRCP Server]

2018-04-27 23:23:10:598993 [INFO]   Send RTSP Data 192.168.0.109:1554 <-> 192.168.0.151:42335 [55 bytes]

RTSP/1.0 200 OK

CSeq: 4

Session: 7739c0031d544111

2018-04-27 23:23:10:599006 [INFO]   Remove RTSP Session <7739c0031d544111>

2018-04-27 23:23:10:599010 [NOTICE] Destroy RTSP Session <7739c0031d544111>

2018-04-27 23:23:10:599014 [DEBUG]  Wait for Messages [RTSP-Agent-1] timeout [599996]

2018-04-27 23:23:10:599141 [DEBUG]  Process Signalled Descriptor [RTSP-Agent-1]

2018-04-27 23:23:10:599158 [INFO]   RTSP Peer Disconnected 192.168.0.109:1554 <-> 192.168.0.151:42335

2018-04-27 23:23:10:599166 [INFO]   Close RTSP Connection 192.168.0.109:1554 <-> 192.168.0.151:42335

2018-04-27 23:23:10:599194 [NOTICE] Destroy RTSP Connection 192.168.0.109:1554 <-> 192.168.0.151:42335

2018-04-27 23:23:10:599202 [DEBUG]  Wait for Messages [RTSP-Agent-1]

2018-04-27 23:29:36:328804 [INFO]   Revalidate access token for HTTP auth <BingSR>

1 Reply 1

goujain
Cisco Employee
Cisco Employee

You can create a form element and then in the "Voice Grammar" property you can set "builtin:speech/transcribe".