Cisco CVP -- Dialogflow interoperability

1,535 views
Skip to first unread message

Sukumar Ramu

unread,
Jul 6, 2018, 8:41:45 AM7/6/18
to UniMRCP
Hello Arsen,

As part of a Proof of concept, we have been testing the interoperability of the Google Dialogflow plugin with Cisco CVP solution. Our set-up comprises of the Cisco CUCM, Cisco Virtualized Voice Browser (VXML gateway) and Cisco CVP Vxml Server. We checked the interoperability with both MRCP V1 and MRCP v2 and Cisco is able to establish communication with  UniMRCP in both versions.

We have the VXML page hosted on the built-in tomcat of the Cisco VXML server. We have updated version of the sample VXML application that was provided by you as we don’t have TTS. We have disabled the default grammars in Cisco by setting the property universals = none. 

However when we place a call, the call fails every time with a “Gram Load Failure” from UniMRCP.  While we have specified <grammar src=”builtin:speech/transcribe”/> in our VXML application, we noticed that Cisco treats this as a SRGS grammar and appends the URL of the VXML application to ”builtin:speech/transcribe” and for every call, the grammar sent by Cisco to UniMRCP is “http://<VXML app url>/ builtin:speech/transcribe which is not recognized by UniMRCP and sent back a Gram load error. See snippet below.

################################
2018-07-06 17:55:27:412807 [INFO]   Receive RTSP Data 192.168.1.4:1554 <-> 192.168.1.29:34583 [476 bytes]
ANNOUNCE rtsp://192.168.1.4:1554/recognizer RTSP/1.0
CSeq: 1994
Session: be5c12bc38414488
Content-Type: application/mrcp
Content-Length: 328

DEFINE-GRAMMAR 2092 MRCP/1.0
Fetch-Timeout:10000
Cache-Control:max-stale=0,max-age=300
Content-Type:text/uri-list
Speech-Language:en-US
Content-Id:fiel...@field.grammar
Content-Length: 66



2018-07-06 17:55:27:413172 [INFO]   Process DEFINE-GRAMMAR Request <be5c12bc38414488@speechrecog> [2092]
2018-07-06 17:55:27:413296 [WARN]   Unsupported Grammar Format [http://192.168.1.30:7000/CVP/tsrtest/builtin:speech/transcribe
##########################################

We kindly request your help on this since it from your post it looks like the GDF plugin should work with VXML platforms from Cisco, Avaya, Genesys.

We have attached the following logs for reference. Your assistance will be greatly appreciated to take this Proof of Concept to conclusion. This would lead us to position this solution for some of our clients.

1)    Unimrcp server logs .
2)    Cisco VVB logs.
3)    VXML file.
4)    UnimrcpServer.cfg

Regards,

Sukumar
Cisco001MIVR005.log
tsrtest.vxml
unimrcpserver.xml
unimrcpserver-00.log

Arsen Chaloyan

unread,
Jul 11, 2018, 11:34:02 PM7/11/18
to UniMRCP
This message is intended for everyone trying to use CVP with UniMRCP server having either GSR or GDF plugins loaded.

While some of you seem to have addressed the problem with the built-in grammar, I would provide a general solution, which should work with other IVR/VoiceXML platforms having no ability to reference an arbitrary built-in grammar.

The idea is to accept any SRGS XML speech grammar without implementing the actual processing. While this approach is not semantically correct, it will allow to easily resolve the problem without any noticeable drawbacks.

Interested parties may install a development version of the GDF plugin. The binary package is built for Red Hat/ CentOS 7 and can be installed as follows:


Note this is a temporarily location and the package might be deleted in a week or so without a notice.

The new version accepts a speech grammar with the content type "application/srgs+xml" or "application/grammar+xml", specified either in DEFINE-GRAMMAR or RECOGNIZE requests. HTTP URI reference is not supported.

No configuration or any other changes are required on UniMRCP server side.

Please give it a try and let me know the results.

The same will be available for GSR plugin...


--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

bharath kumar

unread,
Jul 12, 2018, 12:08:31 AM7/12/18
to UniMRCP
Thank you so much, Arsen. I'll give it a try and let you know. Just wondering, whether this is currently available for GSR as well?
Content-Id:field997@field.grammar
Content-Length: 66



2018-07-06 17:55:27:413172 [INFO]   Process DEFINE-GRAMMAR Request <be5c12bc38414488@speechrecog> [2092]
2018-07-06 17:55:27:413296 [WARN]   Unsupported Grammar Format [http://192.168.1.30:7000/CVP/tsrtest/builtin:speech/transcribe
##########################################

We kindly request your help on this since it from your post it looks like the GDF plugin should work with VXML platforms from Cisco, Avaya, Genesys.

We have attached the following logs for reference. Your assistance will be greatly appreciated to take this Proof of Concept to conclusion. This would lead us to position this solution for some of our clients.

1)    Unimrcp server logs .
2)    Cisco VVB logs.
3)    VXML file.
4)    UnimrcpServer.cfg

Regards,

Sukumar

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Sukumar Ramu

unread,
Jul 12, 2018, 12:38:22 AM7/12/18
to uni...@googlegroups.com
Thank  you very much arsen, we will test it out in our lab and let you know the results.

Mohan Karki

unread,
Jul 12, 2018, 8:17:27 AM7/12/18
to uni...@googlegroups.com
Could you send a link for the dev version gsr plugin?

Mohan Karki

unread,
Jul 12, 2018, 11:31:04 AM7/12/18
to uni...@googlegroups.com
I'm getting this error with audio/basic, does anyone know how to change that on CVP/ Cisco IOS GW?

2018-07-12 08:27:45:813119 [DEBUG]  Wait for Messages [MRCP Server]

2018-07-12 08:27:45:813176 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-07-12 08:27:45:813217 [WARN]   Not Supported Media-Type [audio/basic] <5a8b1eaeeb3446e3@gdf>

2018-07-12 08:27:45:813230 [DEBUG]  Signal Message to [MRCP Server] [0x7f66f0007ea0;3;4]

2018-07-12 08:27:45:813247 [DEBUG]  Process Message [MRCP Server] [0x7f66f0007ea0;3;4]

2018-07-12 08:27:45:813256 [INFO]   Process RECOGNIZE Response <5a8b1eaeeb3446e3@speechrecog> [2]

2018-07-12 08:27:45:813261 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f66f8004550;1;0]

2018-07-12 08:27:45:813272 [DEBUG]  Wait for Messages [MRCP Server]

2018-07-12 08:27:45:813281 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-07-12 08:27:45:813288 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f66f8004550;1;0]

2018-07-12 08:27:45:813294 [INFO]   Send MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:63107 [121 bytes]

MRCP/2.0 121 2 409 COMPLETE

Channel-Identifier: 5a8b1eaeeb3446e3@speechrecog

Completion-Cause: 006 recognizer-error


Arsen Chaloyan

unread,
Jul 12, 2018, 12:07:16 PM7/12/18
to UniMRCP
Not sure about CVP defaults, but the MRCP header field Media-Type is normally controlled by the VoiceXML property recordutterancetype. You may set that property to "audio/x-wav" from your VoiceXML application.

Mohan Karki

unread,
Jul 12, 2018, 12:14:27 PM7/12/18
to uni...@googlegroups.com
Yes I saw that. I am trying to do this on recognize context, rather than record. Does google not support, "audio/basic"?

Arsen Chaloyan

unread,
Jul 12, 2018, 12:19:30 PM7/12/18
to UniMRCP
That property applies to recording user utterances while attempting recognition.

Check Section 7.1 in particular.

Arsen Chaloyan

unread,
Jul 12, 2018, 12:49:09 PM7/12/18
to UniMRCP
OK, here is also a development version of GSR plugin for the same.

Mohan Karki

unread,
Jul 12, 2018, 2:15:56 PM7/12/18
to uni...@googlegroups.com

2018-07-12 11:13:12:886836 [INFO]   Process RECOGNIZE Request <84f9a0a2f98243d6@speechrecog> [2]

2018-07-12 11:13:12:886863 [DEBUG]  Wait for Messages [MRCP Server]

2018-07-12 11:13:12:886937 [INFO]   Init Speech Detector: frame-size=160, max-frame-count=160, output-frame-count=20, vad-mode=2, start-timeout=300 ms, complete-timeout=1000 ms, incomplete-timeout=3000 ms, leading-silence=300 ms, trailing-silence=300 ms, interim-results=1, start-of-input=external <84f9a0a2f98243d6>

2018-07-12 11:13:12:887009 [DEBUG]  Init Streaming Config: encoding=1, sampling-rate=8000, language=en-US, max-alternatives=1, interim-results=1, single-utterance=1 <84f9a0a2f98243d6@gsr>

2018-07-12 11:13:12:887021 [INFO]   Create gRPC Stream <84f9a0a2f98243d6@gsr>

2018-07-12 11:13:12:887111 [DEBUG]  Signal Message to [MRCP Server] [0x7fddb8007cc0;3;4]

2018-07-12 11:13:12:887455 [DEBUG]  Process Message [MRCP Server] [0x7fddb8007cc0;3;4]

2018-07-12 11:13:12:887482 [INFO]   Process RECOGNIZE Response <84f9a0a2f98243d6@speechrecog> [2]

2018-07-12 11:13:12:887486 [INFO]   State Transition IDLE -> RECOGNIZING <84f9a0a2f98243d6@speechrecog>

2018-07-12 11:13:12:887491 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7fddc0003420;1;0]

2018-07-12 11:13:12:887503 [DEBUG]  Wait for Messages [MRCP Server]

2018-07-12 11:13:12:887526 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-07-12 11:13:12:887531 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7fddc0003420;1;0]

2018-07-12 11:13:12:887543 [INFO]   Send MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:46632 [83 bytes]

MRCP/2.0 83 2 200 IN-PROGRESS

Channel-Identifier: 84f9a0a2f98243d6@speechrecog



2018-07-12 11:13:12:887577 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-07-12 11:13:13:379922 [DEBUG]  Process gRPC Event: name [create stream] status [0] <84f9a0a2f98243d6@gsr>

2018-07-12 11:13:13:379948 [WARN]   Failed to Create gRPC Stream <84f9a0a2f98243d6@gsr>

2018-07-12 11:13:13:379952 [DEBUG]  Stop Input <84f9a0a2f98243d6@gsr>

2018-07-12 11:13:13:384921 [INFO]   Input Complete [stopped] size=0 bytes, dur=0 ms <84f9a0a2f98243d6@gsr>

2018-07-12 11:13:13:384975 [DEBUG]  Signal Message to [MRCP Server] [0x7fddb80090b0;3;4]

2018-07-12 11:13:13:385001 [DEBUG]  Process Message [MRCP Server] [0x7fddb80090b0;3;4]

2018-07-12 11:13:13:385015 [INFO]   Process RECOGNITION-COMPLETE Event <84f9a0a2f98243d6@speechrecog> [2]

2018-07-12 11:13:13:385018 [INFO]   State Transition RECOGNIZING -> RECOGNIZED <84f9a0a2f98243d6@speechrecog>

2018-07-12 11:13:13:385023 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7fddc0003420;1;0]

2018-07-12 11:13:13:385035 [DEBUG]  Wait for Messages [MRCP Server]

2018-07-12 11:13:13:385047 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-07-12 11:13:13:385050 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7fddc0003420;1;0]

2018-07-12 11:13:13:385058 [INFO]   Send MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:46632 [138 bytes]

MRCP/2.0 138 RECOGNITION-COMPLETE 2 COMPLETE

Channel-Identifier: 84f9a0a2f98243d6@speechrecog

Completion-Cause: 006 recognizer-error



2018-07-12 11:13:13:385090 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [599503


bharath kumar

unread,
Jul 12, 2018, 8:02:16 PM7/12/18
to UniMRCP
Thanks, Arsen for the development version of GSR
Content-Id:field997@field.grammar
Content-Length: 66



2018-07-06 17:55:27:413172 [INFO]   Process DEFINE-GRAMMAR Request <be5c12bc38414488@speechrecog> [2092]
2018-07-06 17:55:27:413296 [WARN]   Unsupported Grammar Format [http://192.168.1.30:7000/CVP/tsrtest/builtin:speech/transcribe
##########################################

We kindly request your help on this since it from your post it looks like the GDF plugin should work with VXML platforms from Cisco, Avaya, Genesys.

We have attached the following logs for reference. Your assistance will be greatly appreciated to take this Proof of Concept to conclusion. This would lead us to position this solution for some of our clients.

1)    Unimrcp server logs .
2)    Cisco VVB logs.
3)    VXML file.
4)    UnimrcpServer.cfg

Regards,

Sukumar

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

bharath kumar

unread,
Jul 12, 2018, 10:05:06 PM7/12/18
to UniMRCP
Hi Arsen, I have tested the development version of GSR with the grammar content-type = application/srgs+xml which works perfectly and it fails when I tried passing the grammar(grxml) as a source in the vxml. I have posted the snippets of the grammar below for your reference.

Working Grammar

<?xml version="1.0" encoding="UTF-8"?> 
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml
  xsi:schemaLocation="http://www.w3.org/2001/vxml 
<form id="get_card_info">
 <block>We now need your credit card type, number,
    and expiration date.</block>
 <field name="card_type">
  <prompt count="1">What kind of credit card
    do you have?</prompt>
  <prompt count="2">Type of card?</prompt>
  <!-- This is an inline grammar. -->
  <grammar type="application/srgs+xml" root="r2" version="1.0">
    <rule id="r2" scope="public">
       <one-of>
       <item>visa</item>
       <item>master <item repeat="0-1">card</item></item>
       <item>amex</item>
       <item>american express</item>
       </one-of>
    </rule>
  </grammar>
  <help> Please say Visa, MasterCard, or American Express.</help>
 </field>
</form>
</vxml>

Failed Grammar

<?xml version="1.0" encoding="UTF-8"?> 
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml
  xsi:schemaLocation="http://www.w3.org/2001/vxml 
<form id="weather_info">
 <block>Welcome to the weather information service.</block>
 <field name="state">
  <prompt>What state?</prompt>
  <grammar src="yes_no.grxml"  type="application/srgs+xml"/>
  <catch event="help">
     Please speak the state for which you want the weather.
  </catch>
 </field>
</form>
</vxml>

Yes_no.grxml

<?xml version="1.0" encoding="ISO-8859-1"?>

<grammar xml:lang="en-AU" version="1.0" root="Ask_ask2_answer" tag-format="semantics/1.0.2006" xmlns="http://www.w3.org/2001/06/grammar">

<rule id="Ask_ask2_answer" scope="public">
<item> 
<ruleref uri="#Yes_no"/>
<tag>out.x1=rules.Yes_no</tag>
<tag>if(typeof(out.x1.yes_no) != &quot;undefined&quot;) {out.answer=out.x1.yes_no;};delete out.x1</tag>
</item>
</rule>

<rule id="Yes_no">
<one-of>
<item> 
yes
<tag>out.yes_no="yes"</tag>
</item>
<item> 
no
<tag>out.yes_no="no"</tag>
</item>
</one-of>
</rule>
</grammar>

Mohan Karki

unread,
Jul 12, 2018, 10:17:52 PM7/12/18
to uni...@googlegroups.com
Hi Bharath,
Could you send me the log for a working call?
-Mohan

Content-Id:fiel...@field.grammar

bharath kumar

unread,
Jul 13, 2018, 12:10:38 AM7/13/18
to UniMRCP

Hi Mohan,

I have attached the log file for working call. Let me know if you have any queries. Thanks 
Content-Id:field997@field.grammar
unimrcpserver-00.log

Mohan Karki

unread,
Jul 13, 2018, 11:32:03 AM7/13/18
to uni...@googlegroups.com
Anyone have any idea why this would faile?


[WARN]   Failed to Create gRPC Stream 


Content-Id:fiel...@field.grammar
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+unsubscribe@googlegroups.com.

Arsen Chaloyan

unread,
Jul 13, 2018, 1:15:05 PM7/13/18
to UniMRCP
Thank you, Bharath, for your quick feedback.

I guess the only difference between your working and non-working examples are in the number of SRGS grammars referenced per RECOGNIZE request.

Please note that only one speech and/or one DTMF grammar can be activated.

Not sure if I was clear enough, but SRGS grammars are not actually processed. The change that I have made simply accepts an SRGS grammar to be able to employ recognition via the MRCP framework. The rules specified in the grammar will not be honored, as Google Speech-to-Text API does not require or accept grammars.

Content-Id:fiel...@field.grammar
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Arsen Chaloyan

unread,
Jul 13, 2018, 1:17:59 PM7/13/18
to UniMRCP

2018-07-12 11:13:13:379922 [DEBUG]  Process gRPC Event: name [create stream] status [0] <84f9a0a2f98243d6@gsr>

2018-07-12 11:13:13:379948 [WARN]   Failed to Create gRPC Stream <84f9a0a2f98243d6@gsr>


The above error most likely has nothing to do with CPV integration. You may need to verify your Google account credentials to make sure the corresponding API is properly enabled. Also, check the time on your server. If the time is not properly synchronized then TLS connection to the Google service may fail.

Sukumar Ramu

unread,
Jul 14, 2018, 1:08:22 PM7/14/18
to uni...@googlegroups.com
Hello Arsen,

We wanted to give an update post our testing with CVP/ IP IVR on the updated plug in package you have provided for both gsr and gss.

As pointed by you, we are sending only one inline grammar within the VXML app. Infact we have used the same app that Bharath had informed as working.

While the "DEFINE GRAMMAR" request is completed sucessfully, in RECOGNIZE, UniMRCP server sends back unsupported grammar format. There is no other description for failure. No new grammars are sent as part of RECOGNIZE and Cisco is referring to the content id of the grammar "sent as part of DEFINE GRAMMAR in the RECOGNIZE request.  Please see the snippet below  and the UniMRCP server logs and unimrcpserver.xml for reference.

Could you kindly check why there is an issue here? 

Do you think it could possibly be the nomenclature of Cisco's conent-id which ends in a .grammar  (session:fie...@field.grammar)?

********************************************
RECOGNIZE 104 MRCP/1.0
N-Best-List-Length:1
Sensitivity-Level:50
Speech-Complete-Timeout:700
Speech-Incomplete-Timeout:1000
Confidence-Threshold:50
Speed-Vs-Accuracy:50
Recognition-Timeout:20000
No-Input-Timeout:5000
DTMF-Interdigit-Timeout:3000
DTMF-Term-Timeout:4000
Fetch-Timeout:300000
DTMF-Term-Char:#
Content-Type:text/uri-list
Speech-Language:en-US
Recognizer-Start-Timers:false
Content-Length: 32

session:fie...@field.grammar

2018-07-14 22:08:03:249765 [INFO]   Process RECOGNIZE Request <2f3e6fc56ff647ed@speechrecog> [104]
2018-07-14 22:08:03:250334 [WARN]   Unsupported Grammar Format [
] <2f3e6fc56ff647ed@gsr>
2018-07-14 22:08:03:250406 [INFO]   Process RECOGNIZE Response <2f3e6fc56ff647ed@speechrecog> [104]
2018-07-14 22:08:03:250463 [INFO]   Send RTSP Data 192.168.1.4:1554 <-> 192.168.1.25:33966 [177 bytes]
RTSP/1.0 200 OK

****************************************

Thanks,

Sukumar


unimrcp.log
unimrcpserver.xml

Arsen Chaloyan

unread,
Jul 15, 2018, 11:59:13 PM7/15/18
to UniMRCP
Hello Sukumar,

Content-id may contain an arbitrary string and should not cause any issues.

I took a quick look at the provided logs. The problem is most likely in the content of RECOGNIZE requests.

Content-Length: 32

session:fie...@field.grammar

While the supplied actual content contains 28 visible characters, the Content-Length is set to 32. This means there are some trailing hidden characters, which are interpreted as an additional grammar reference and cause the problem.

Of course, the plugins can be further enhanced to be able to skip any trailing whitespaces. However, for the time being, you may need to figure out how to properly compose such a content from CVP, as others did.

bharath kumar

unread,
Jul 16, 2018, 12:17:28 AM7/16/18
to UniMRCP
Thanks,  Arsen, for your explanation. I really appreciate the change that you made on the GSR, GDF plugin side to allow SRGS grammar.
Content-Id:field997@field.grammar

bharath kumar

unread,
Jul 16, 2018, 1:50:36 AM7/16/18
to UniMRCP
Hi Arsen,

Is there any possibility to convert the srgs grammar to speech context form so that it could be passed as built-in grammar to GSR to get better interpretation? 

For example:
 SRGS grammar:
<grammar type="application/srgs+xml" root="r2" version="1.0">
               <rule id="r2" scope="public">
                  <one-of>
                  <item>visa</item>
                  <item>master <item repeat="0-1">card</item></item>
                  <item>amex</item>
                  <item>american express</item>
                  </one-of>
               </rule>
  </grammar>

Speech Context:

 <speech-context id="r2">

         <phrase>visa</phrase>

         <phrase>master card</phrase>

         <phrase>amex</phrase>

         <phrase>american express</phrase>

      </speech-context>


Builtin form
   builtin:speech/r2

Arsen Chaloyan

unread,
Jul 18, 2018, 12:18:11 AM7/18/18
to UniMRCP
Hi Bharath,

That is a good idea. I thought before about such an option to implicitly compose a speech context based on the provided SRGS grammar, but did not have the chance to take a closer look.

I believe you are aware of, but in case others are not: a user speech context can be dynamically specified via the DEFINE-GRAMMAR request as demonstrated in Section 6.3 of the Usage Guide. This option may not be applicable to CVP, though.

   builtin:speech/r2
Content-Id:fiel...@field.grammar
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

bharath kumar

unread,
Jul 18, 2018, 1:02:50 AM7/18/18
to UniMRCP
Hi Arsen,

It's good to know that you have thought about this idea before. It would be really great to have such an option so that most of the IVR related applications could make a way with Unimrcp SR plugins. 

Cheers,
Bharath
   builtin:speech/r2
Content-Id:field997@field.grammar
Message has been deleted
Message has been deleted

Kristian Martell

unread,
Jul 21, 2018, 11:40:48 PM7/21/18
to UniMRCP
Sukumar, Did you ever get your issue resolved? I am running into the same thing and Arsen's response doesn't really help as I don't think we have control over that message. 

Mohan Karki

unread,
Jul 21, 2018, 11:44:32 PM7/21/18
to uni...@googlegroups.com
I think you have to make sure the grammar attributes need to be added. Namesapce language etc.

-Mohan

On Sat, Jul 21, 2018, 11:40 PM Kristian Martell <kristia...@gmail.com> wrote:
Sukumar, Did you ever get your issue resolved? I am running into the same thing and Arsen's response doesn't really help as I don't think we have control over that message. 

On Friday, July 6, 2018 at 8:41:45 AM UTC-4, Sukumar Ramu wrote:
Hello Arsen,

As part of a Proof of concept, we have been testing the interoperability of the Google Dialogflow plugin with Cisco CVP solution. Our set-up comprises of the Cisco CUCM, Cisco Virtualized Voice Browser (VXML gateway) and Cisco CVP Vxml Server. We checked the interoperability with both MRCP V1 and MRCP v2 and Cisco is able to establish communication with  UniMRCP in both versions.

We have the VXML page hosted on the built-in tomcat of the Cisco VXML server. We have updated version of the sample VXML application that was provided by you as we don’t have TTS. We have disabled the default grammars in Cisco by setting the property universals = none. 

However when we place a call, the call fails every time with a “Gram Load Failure” from UniMRCP.  While we have specified <grammar src=”builtin:speech/transcribe”/> in our VXML application, we noticed that Cisco treats this as a SRGS grammar and appends the URL of the VXML application to ”builtin:speech/transcribe” and for every call, the grammar sent by Cisco to UniMRCP is “http://<VXML app url>/ builtin:speech/transcribe which is not recognized by UniMRCP and sent back a Gram load error. See snippet below.

################################
2018-07-06 17:55:27:412807 [INFO]   Receive RTSP Data 192.168.1.4:1554 <-> 192.168.1.29:34583 [476 bytes]
ANNOUNCE rtsp://192.168.1.4:1554/recognizer RTSP/1.0
CSeq: 1994
Session: be5c12bc38414488
Content-Type: application/mrcp
Content-Length: 328

DEFINE-GRAMMAR 2092 MRCP/1.0
Fetch-Timeout:10000
Cache-Control:max-stale=0,max-age=300
Content-Type:text/uri-list
Speech-Language:en-US
Content-Id:fiel...@field.grammar
Content-Length: 66



2018-07-06 17:55:27:413172 [INFO]   Process DEFINE-GRAMMAR Request <be5c12bc38414488@speechrecog> [2092]
2018-07-06 17:55:27:413296 [WARN]   Unsupported Grammar Format [http://192.168.1.30:7000/CVP/tsrtest/builtin:speech/transcribe
##########################################

We kindly request your help on this since it from your post it looks like the GDF plugin should work with VXML platforms from Cisco, Avaya, Genesys.

We have attached the following logs for reference. Your assistance will be greatly appreciated to take this Proof of Concept to conclusion. This would lead us to position this solution for some of our clients.

1)    Unimrcp server logs .
2)    Cisco VVB logs.
3)    VXML file.
4)    UnimrcpServer.cfg

Regards,

Sukumar

--

Kristian Martell

unread,
Jul 22, 2018, 8:28:31 PM7/22/18
to UniMRCP
Mohan, can you provide a bit more detail? I am trying to use a common Form element and I am setting the Voice Grammar to "builtin:speech/transcribe" as per all of the documentation I have read. 


On Saturday, July 21, 2018 at 11:44:32 PM UTC-4, Mohan Karki wrote:
I think you have to make sure the grammar attributes need to be added. Namesapce language etc.

-Mohan

On Sat, Jul 21, 2018, 11:40 PM Kristian Martell <kristia...@gmail.com> wrote:
Sukumar, Did you ever get your issue resolved? I am running into the same thing and Arsen's response doesn't really help as I don't think we have control over that message. 

On Friday, July 6, 2018 at 8:41:45 AM UTC-4, Sukumar Ramu wrote:
Hello Arsen,

As part of a Proof of concept, we have been testing the interoperability of the Google Dialogflow plugin with Cisco CVP solution. Our set-up comprises of the Cisco CUCM, Cisco Virtualized Voice Browser (VXML gateway) and Cisco CVP Vxml Server. We checked the interoperability with both MRCP V1 and MRCP v2 and Cisco is able to establish communication with  UniMRCP in both versions.

We have the VXML page hosted on the built-in tomcat of the Cisco VXML server. We have updated version of the sample VXML application that was provided by you as we don’t have TTS. We have disabled the default grammars in Cisco by setting the property universals = none. 

However when we place a call, the call fails every time with a “Gram Load Failure” from UniMRCP.  While we have specified <grammar src=”builtin:speech/transcribe”/> in our VXML application, we noticed that Cisco treats this as a SRGS grammar and appends the URL of the VXML application to ”builtin:speech/transcribe” and for every call, the grammar sent by Cisco to UniMRCP is “http://<VXML app url>/ builtin:speech/transcribe which is not recognized by UniMRCP and sent back a Gram load error. See snippet below.

################################
2018-07-06 17:55:27:412807 [INFO]   Receive RTSP Data 192.168.1.4:1554 <-> 192.168.1.29:34583 [476 bytes]
ANNOUNCE rtsp://192.168.1.4:1554/recognizer RTSP/1.0
CSeq: 1994
Session: be5c12bc38414488
Content-Type: application/mrcp
Content-Length: 328

DEFINE-GRAMMAR 2092 MRCP/1.0
Fetch-Timeout:10000
Cache-Control:max-stale=0,max-age=300
Content-Type:text/uri-list
Speech-Language:en-US
Content-Id:field997@field.grammar
Content-Length: 66



2018-07-06 17:55:27:413172 [INFO]   Process DEFINE-GRAMMAR Request <be5c12bc38414488@speechrecog> [2092]
2018-07-06 17:55:27:413296 [WARN]   Unsupported Grammar Format [http://192.168.1.30:7000/CVP/tsrtest/builtin:speech/transcribe
##########################################

We kindly request your help on this since it from your post it looks like the GDF plugin should work with VXML platforms from Cisco, Avaya, Genesys.

We have attached the following logs for reference. Your assistance will be greatly appreciated to take this Proof of Concept to conclusion. This would lead us to position this solution for some of our clients.

1)    Unimrcp server logs .
2)    Cisco VVB logs.
3)    VXML file.
4)    UnimrcpServer.cfg

Regards,

Sukumar

Arsen Chaloyan

unread,
Jul 25, 2018, 9:27:01 PM7/25/18
to UniMRCP
Kristian,

This and other fixes are available in GSR 1.8.0 release published today. Also note that the corresponding version of RPM and deb packages is 1.5.7.

I understand that the version numbers might be confusing, but there is a logic behind.

There are separate version numbers maintained for each component the server and individual plugins. However, the binary RPM and deb packages of plugins are made for a specific version of the UniMRCP server.

For instance, the package version 1.5.7 indicates the 7-th release of GSR plugin made for UniMRCP server 1.5.



has this fix been applied to the 1.7 GSR plugin currently available for general download?

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Arsen Chaloyan

unread,
Jul 25, 2018, 9:27:56 PM7/25/18
to UniMRCP
Everyone who installed the development versions of the GSR and GDF plugins, please consider removing the development RPM package first and then proceed with the regular installation/upgrade.

rpm -e unimrcp-gsr-1.5.7-1.el7.x86_64
yum install unimrcp-gsr

or

rpm -eunimrcp-gdf-1.5.5-1.el7.x86_64
yum install unimrcp-gdf

This is required since the dev and the released packages have the same version numbers.

Please re-evaluate the released version with CVP and provide feedback.

Thanks.

Content-Id:fiel...@field.grammar
Content-Length: 66



2018-07-06 17:55:27:413172 [INFO]   Process DEFINE-GRAMMAR Request <be5c12bc38414488@speechrecog> [2092]
2018-07-06 17:55:27:413296 [WARN]   Unsupported Grammar Format [http://192.168.1.30:7000/CVP/tsrtest/builtin:speech/transcribe
##########################################

We kindly request your help on this since it from your post it looks like the GDF plugin should work with VXML platforms from Cisco, Avaya, Genesys.

We have attached the following logs for reference. Your assistance will be greatly appreciated to take this Proof of Concept to conclusion. This would lead us to position this solution for some of our clients.

1)    Unimrcp server logs .
2)    Cisco VVB logs.
3)    VXML file.
4)    UnimrcpServer.cfg

Regards,

Sukumar

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Mohan Karki

unread,
Aug 5, 2018, 5:01:18 PM8/5/18
to uni...@googlegroups.com
Has anyone gotten it to work with a CVP app?
I don't get the VXML Gateway to capture the response.

2018-08-05 13:55:43:234551 [NOTICE] SIP Call State  [received]

2018-08-05 13:55:43:234574 [INFO]   Create Session 0x7f529c001b88 <new> [uni2]

2018-08-05 13:55:43:234583 [INFO]   Remote SDP 0x7f529c001b88 <new>

v=0

o=CiscoSystemsSIP-GW-UserAgent 2777 3651 IN IP4 10.184.120.139

s=SIP Call

c=IN IP4 10.184.120.139

t=0 0

m=audio 27666 RTP/AVP 0 101

c=IN IP4 10.184.120.139

a=rtpmap:0 PCMU/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=sendonly

a=ptime:20

a=mid:1

m=application 9 TCP/MRCPv2 19

a=setup:active

a=connection:new

a=resource:speechrecog

a=cmid:1


2018-08-05 13:55:43:234615 [DEBUG]  Signal Message to [MRCP Server] [0x7f529c0044a0;1;0]

2018-08-05 13:55:43:234635 [DEBUG]  Process Message [MRCP Server] [0x7f529c0044a0;1;0]

2018-08-05 13:55:43:234642 [DEBUG]  Dispatch Signaling Message [0]

2018-08-05 13:55:43:234722 [NOTICE] Add Session <978ce4713e614eff>

2018-08-05 13:55:43:234729 [INFO]   Receive Offer 0x7f529c001b88 <978ce4713e614eff> [c:1 a:1 v:0]

2018-08-05 13:55:43:234783 [DEBUG]  Add Control Channel 0x7f529c001b88 <978ce4713e614eff@speechrecog> [0]

2018-08-05 13:55:43:234791 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:43:234814 [DEBUG]  Add Media Termination 0x7f529c001b88 <978ce4713e614eff@rtp-tm> [0]

2018-08-05 13:55:43:234821 [DEBUG]  Signal Message to [Media-Engine-1] [0x7f52a80038e0;1;0]

2018-08-05 13:55:43:234825 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:234826 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-08-05 13:55:43:234840 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:43:234853 [INFO]   Add Pending Control Channel <978ce4713e614eff@speechrecog> [1]

2018-08-05 13:55:43:234859 [DEBUG]  Signal Message to [MRCP Server] [0x7f5298000910;2;0]

2018-08-05 13:55:43:234870 [DEBUG]  Wait for Messages [MRCPv2-Agent-1]

2018-08-05 13:55:43:234892 [DEBUG]  Process Message [MRCP Server] [0x7f5298000910;2;0]

2018-08-05 13:55:43:234901 [DEBUG]  Control Channel Modified 0x7f529c001b88 <978ce4713e614eff@speechrecog>

2018-08-05 13:55:43:234905 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:243323 [DEBUG]  Process Message [Media-Engine-1] [0x7f52a80038e0;1;0]

2018-08-05 13:55:43:243407 [INFO]   Enable RTP Session 10.190.66.196:5000

2018-08-05 13:55:43:243478 [INFO]   Open RTP Receiver 10.190.66.196:5000 <- 10.184.120.139:27666 playout [50 ms] bounds [0 - 600 ms] adaptive [1] skew detection [1]

2018-08-05 13:55:43:243490 [INFO]   Media Path 0x7f529c001b88 Source->[PCMU/8000/1]->Decoder->[LPCM/8000/1]->Bridge->[LPCM/8000/1]->Sink

2018-08-05 13:55:43:243493 [DEBUG]  Signal Message to [MRCP Server] [0x7f527c0008c0;4;0]

2018-08-05 13:55:43:243513 [DEBUG]  Process Message [MRCP Server] [0x7f527c0008c0;4;0]

2018-08-05 13:55:43:243519 [DEBUG]  Media Termination Modified 0x7f529c001b88 <978ce4713e614eff@media-tm>

2018-08-05 13:55:43:243522 [DEBUG]  Media Termination Modified 0x7f529c001b88 <978ce4713e614eff@rtp-tm>

2018-08-05 13:55:43:243540 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:243580 [INFO]   Open <978ce4713e614eff@gsr>

2018-08-05 13:55:43:243778 [NOTICE] GSR Usage: 1/2

2018-08-05 13:55:43:243791 [DEBUG]  Signal Message to [MRCP Server] [0x7f52a0007310;3;2]

2018-08-05 13:55:43:243809 [DEBUG]  Process Message [MRCP Server] [0x7f52a0007310;3;2]

2018-08-05 13:55:43:243818 [DEBUG]  Engine Channel Opened 0x7f529c001b88 <978ce4713e614eff@speechrecog> [OK]

2018-08-05 13:55:43:243821 [INFO]   Send Answer 0x7f529c001b88 <978ce4713e614eff> [c:1 a:1 v:0] Status OK

2018-08-05 13:55:43:243839 [INFO]   Local SDP 0x7f529c001b88 <978ce4713e614eff>

v=0

o=UniMRCPServer 0 0 IN IP4 10.190.66.196

s=-

c=IN IP4 10.190.66.196

t=0 0

m=audio 5000 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

m=application 1544 TCP/MRCPv2 1

a=setup:passive

a=connection:new

a=channel:978ce4713e614eff@speechrecog

a=cmid:1


2018-08-05 13:55:43:243881 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:244352 [INFO]   Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]

2018-08-05 13:55:43:244363 [NOTICE] SIP Call State 0x7f529c001b88 [completed]

2018-08-05 13:55:43:245142 [INFO]   Receive SIP Event [nua_i_ack] Status 200 OK [SIP-Agent-1]

2018-08-05 13:55:43:245166 [INFO]   Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]

2018-08-05 13:55:43:245171 [NOTICE] SIP Call State 0x7f529c001b88 [ready]

2018-08-05 13:55:43:245174 [INFO]   Receive SIP Event [nua_i_active] Status 200 Call active [SIP-Agent-1]

2018-08-05 13:55:43:245192 [DEBUG]  Process Signalled Descriptor [MRCPv2-Agent-1]

2018-08-05 13:55:43:245239 [NOTICE] Accepted TCP/MRCPv2 Connection 10.190.66.196:1544 <-> 10.184.120.139:32635

2018-08-05 13:55:43:245256 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:43:245320 [DEBUG]  Process Signalled Descriptor [MRCPv2-Agent-1]

2018-08-05 13:55:43:245331 [INFO]   Receive MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [87 bytes]

MRCP/2.0 268      DEFINE-GRAMMAR  1

Channel-Identifier: 978ce4713e614eff@speechrecog


2018-08-05 13:55:43:245367 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:43:245436 [DEBUG]  Process Signalled Descriptor [MRCPv2-Agent-1]

2018-08-05 13:55:43:245447 [INFO]   Receive MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [449 bytes]

Speech-Language: en-US

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

Content-Type: text/uri-list

Content-Id: fiel...@field.grammar

Content-Length: 25


builtin:speech/transcribeMRCP/2.0 554      RECOGNIZE  2

Channel-Identifier: 978ce4713e614eff@speechrecog

Speech-Language: en-US

Confidence-Threshold: 0.40

Sensitivity-Level: 0.50

Speed-Vs-Accuracy: 0.50

Cancel-If-Queue: false

Dtmf-Interdigit-Timeout: 10000

Dtmf-Term-Timeout: 0

Dtmf-T

2018-08-05 13:55:43:245471 [INFO]   Assign Control Channel <978ce4713e614eff@speechrecog> to Connection 10.190.66.196:1544 <-> 10.184.120.139:32635 [0] -> [1]

2018-08-05 13:55:43:245476 [DEBUG]  Signal Message to [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:43:245495 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:43:245496 [DEBUG]  Process Message [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:43:245524 [DEBUG]  Dispatch Signaling Message [1]

2018-08-05 13:55:43:245531 [INFO]   Process DEFINE-GRAMMAR Request <978ce4713e614eff@speechrecog> [1]

2018-08-05 13:55:43:245540 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:245553 [DEBUG]  Process Signalled Descriptor [MRCPv2-Agent-1]

2018-08-05 13:55:43:245561 [DEBUG]  Add Speech Grammar [transcribe] <978ce4713e614eff@gsr>

2018-08-05 13:55:43:245563 [INFO]   Receive MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [174 bytes]

erm-Char: #

No-Input-Timeout: 10000

N-Best-List-Length: 1

Logging-Tag: 7302307

Accept-Charset: utf-8

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

Media-Type: audio/x-wav

2018-08-05 13:55:43:245569 [DEBUG]  Signal Message to [MRCP Server] [0x7f52a0009980;3;4]

2018-08-05 13:55:43:245579 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:43:245579 [DEBUG]  Process Message [MRCP Server] [0x7f52a0009980;3;4]

2018-08-05 13:55:43:245597 [INFO]   Process DEFINE-GRAMMAR Response <978ce4713e614eff@speechrecog> [1]

2018-08-05 13:55:43:245606 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:43:245616 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:245625 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-08-05 13:55:43:245631 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:43:245680 [INFO]   Send MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [112 bytes]

MRCP/2.0 112 1 200 COMPLETE

Channel-Identifier: 978ce4713e614eff@speechrecog

Completion-Cause: 000 success



2018-08-05 13:55:43:245705 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:43:245724 [DEBUG]  Process Signalled Descriptor [MRCPv2-Agent-1]

2018-08-05 13:55:43:245730 [INFO]   Receive MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [112 bytes]


Start-Input-Timers: false

Content-Type: text/uri-list

Content-Length: 32


session:fiel...@field.grammar


2018-08-05 13:55:43:245776 [DEBUG]  Signal Message to [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:43:245791 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:43:245796 [DEBUG]  Process Message [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:43:245803 [DEBUG]  Dispatch Signaling Message [1]

2018-08-05 13:55:43:245806 [INFO]   Process RECOGNIZE Request <978ce4713e614eff@speechrecog> [2]

2018-08-05 13:55:43:245812 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:245830 [INFO]   Init Speech Detector: frame-size=160, max-frame-count=160, output-frame-count=20, vad-mode=2, start-timeout=300 ms, complete-timeout=1000 ms, incomplete-timeout=3000 ms, leading-silence=300 ms, trailing-silence=300 ms, interim-results=1, start-of-input=external <978ce4713e614eff>

2018-08-05 13:55:43:245862 [DEBUG]  Init Streaming Config: encoding=1, sampling-rate=8000, language=en-US, max-alternatives=1, interim-results=1, single-utterance=1 <978ce4713e614eff@gsr>

2018-08-05 13:55:43:245874 [INFO]   Create gRPC Stream <978ce4713e614eff@gsr>

2018-08-05 13:55:43:245925 [DEBUG]  Signal Message to [MRCP Server] [0x7f52a0008370;3;4]

2018-08-05 13:55:43:245937 [DEBUG]  Process Message [MRCP Server] [0x7f52a0008370;3;4]

2018-08-05 13:55:43:245939 [INFO]   Process RECOGNIZE Response <978ce4713e614eff@speechrecog> [2]

2018-08-05 13:55:43:245942 [INFO]   State Transition IDLE -> RECOGNIZING <978ce4713e614eff@speechrecog>

2018-08-05 13:55:43:245945 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:43:245952 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:43:246445 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-08-05 13:55:43:246456 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:43:246464 [INFO]   Send MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [83 bytes]

MRCP/2.0 83 2 200 IN-PROGRESS

Channel-Identifier: 978ce4713e614eff@speechrecog



2018-08-05 13:55:43:246474 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:43:476847 [DEBUG]  Process gRPC Event: name [create stream] status [1] <978ce4713e614eff@gsr>

2018-08-05 13:55:46:958549 [DEBUG]  Process Signalled Descriptor [MRCPv2-Agent-1]

2018-08-05 13:55:46:958600 [INFO]   Receive MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [93 bytes]

MRCP/2.0 93       START-INPUT-TIMERS  3

Channel-Identifier: 978ce4713e614eff@speechrecog



2018-08-05 13:55:46:958631 [DEBUG]  Signal Message to [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:46:958652 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:46:958678 [DEBUG]  Process Message [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:46:958701 [DEBUG]  Dispatch Signaling Message [1]

2018-08-05 13:55:46:958706 [INFO]   Process START-INPUT-TIMERS Request <978ce4713e614eff@speechrecog> [3]

2018-08-05 13:55:46:958724 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:46:958758 [INFO]   Start No-Input Timer [10000 ms] <978ce4713e614eff>

2018-08-05 13:55:46:958768 [DEBUG]  Signal Message to [MRCP Server] [0x7f52a0007900;3;4]

2018-08-05 13:55:46:958781 [DEBUG]  Process Message [MRCP Server] [0x7f52a0007900;3;4]

2018-08-05 13:55:46:958786 [INFO]   Process START-INPUT-TIMERS Response <978ce4713e614eff@speechrecog> [3]

2018-08-05 13:55:46:958791 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:46:958810 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:46:958825 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-08-05 13:55:46:958835 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:46:958849 [INFO]   Send MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [80 bytes]

MRCP/2.0 80 3 200 COMPLETE

Channel-Identifier: 978ce4713e614eff@speechrecog



2018-08-05 13:55:46:958919 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:54:535416 [DEBUG]  Process Signalled Descriptor [MRCPv2-Agent-1]

2018-08-05 13:55:54:535479 [INFO]   Receive MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [79 bytes]

MRCP/2.0 79       STOP  4

Channel-Identifier: 978ce4713e614eff@speechrecog



2018-08-05 13:55:54:535533 [DEBUG]  Signal Message to [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:54:535553 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]

2018-08-05 13:55:54:535590 [DEBUG]  Process Message [MRCP Server] [0x7f52980008c0;2;3]

2018-08-05 13:55:54:535612 [DEBUG]  Dispatch Signaling Message [1]

2018-08-05 13:55:54:535616 [INFO]   Process STOP Request <978ce4713e614eff@speechrecog> [4]

2018-08-05 13:55:54:535619 [DEBUG]  Found IN-PROGRESS RECOGNIZE Request <978ce4713e614eff@speechrecog> [4]

2018-08-05 13:55:54:535636 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:54:535674 [DEBUG]  Stop Input <978ce4713e614eff@gsr>

2018-08-05 13:55:54:536408 [INFO]   Receive SIP Event [nua_i_bye] Status 200 Session Terminated [SIP-Agent-1]

2018-08-05 13:55:54:536420 [INFO]   Receive SIP Event [nua_i_state] Status 200 Session Terminated [SIP-Agent-1]

2018-08-05 13:55:54:536425 [NOTICE] SIP Call State 0x7f529c001b88 [terminated]

2018-08-05 13:55:54:536429 [DEBUG]  Signal Message to [MRCP Server] [0x7f529c0044a0;1;2]

2018-08-05 13:55:54:536436 [INFO]   Receive SIP Event [nua_i_terminated] Status 200 Session Terminated [SIP-Agent-1]

2018-08-05 13:55:54:536443 [DEBUG]  Process Message [MRCP Server] [0x7f529c0044a0;1;2]

2018-08-05 13:55:54:536446 [DEBUG]  Push Request to Queue 0x7f529c001b88 <978ce4713e614eff>

2018-08-05 13:55:54:536452 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:54:543329 [INFO]   Input Complete [stopped] size=0 bytes, dur=0 ms <978ce4713e614eff@gsr>

2018-08-05 13:55:54:543513 [DEBUG]  Signal Message to [MRCP Server] [0x7f52a0007b50;3;4]

2018-08-05 13:55:54:543530 [DEBUG]  Process Message [MRCP Server] [0x7f52a0007b50;3;4]

2018-08-05 13:55:54:543538 [INFO]   Process STOP Response <978ce4713e614eff@speechrecog> [4]

2018-08-05 13:55:54:543546 [INFO]   State Transition RECOGNIZING -> IDLE <978ce4713e614eff@speechrecog>

2018-08-05 13:55:54:543550 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:54:543563 [DEBUG]  Dispatch Signaling Message [2]

2018-08-05 13:55:54:543566 [INFO]   Deactivate Session 0x7f529c001b88 <978ce4713e614eff>

2018-08-05 13:55:54:543569 [INFO]   Terminate Session 0x7f529c001b88 <978ce4713e614eff>

2018-08-05 13:55:54:543572 [DEBUG]  Remove Control Channel 0x7f529c001b88 <978ce4713e614eff@speechrecog> [0]

2018-08-05 13:55:54:543576 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f52a8003420;1;0]

2018-08-05 13:55:54:543580 [DEBUG]  Subtract Media Termination 0x7f529c001b88 <978ce4713e614eff@media-tm>

2018-08-05 13:55:54:543581 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-08-05 13:55:54:543585 [DEBUG]  Subtract Media Termination 0x7f529c001b88 <978ce4713e614eff@rtp-tm>

2018-08-05 13:55:54:543601 [DEBUG]  Signal Message to [Media-Engine-1] [0x7f52a80038e0;1;0]

2018-08-05 13:55:54:543604 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:54:543590 [INFO]   Close <978ce4713e614eff@gsr>

2018-08-05 13:55:54:543617 [DEBUG]  Send Close Response <978ce4713e614eff@gsr>

2018-08-05 13:55:54:543625 [NOTICE] GSR Usage: 0/2

2018-08-05 13:55:54:543632 [DEBUG]  Signal Message to [MRCP Server] [0x7f52a0007260;3;3]

2018-08-05 13:55:54:543639 [DEBUG]  Process Message [MRCP Server] [0x7f52a0007260;3;3]

2018-08-05 13:55:54:543643 [DEBUG]  Engine Channel Closed 0x7f529c001b88 <978ce4713e614eff@speechrecog>

2018-08-05 13:55:54:543646 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:54:543595 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f52a8004210;1;0]

2018-08-05 13:55:54:543675 [INFO]   Send MRCPv2 Data 10.190.66.196:1544 <-> 10.184.120.139:32635 [108 bytes]

MRCP/2.0 108 4 200 COMPLETE

Channel-Identifier: 978ce4713e614eff@speechrecog

Active-Request-Id-List: 2



2018-08-05 13:55:54:543729 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f52a8003420;1;0]

2018-08-05 13:55:54:543768 [INFO]   Remove Control Channel <978ce4713e614eff@speechrecog> [0]

2018-08-05 13:55:54:543773 [DEBUG]  Signal Message to [MRCP Server] [0x7f52980008c0;2;2]

2018-08-05 13:55:54:543784 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [599992]

2018-08-05 13:55:54:543792 [DEBUG]  Process Message [MRCP Server] [0x7f52980008c0;2;2]

2018-08-05 13:55:54:543811 [DEBUG]  Control Channel Removed 0x7f529c001b88 <978ce4713e614eff@speechrecog>

2018-08-05 13:55:54:543815 [DEBUG]  Wait for Messages [MRCP Server]

2018-08-05 13:55:54:543793 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]

2018-08-05 13:55:54:543825 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [599992]

2018-08-05 13:55:54:553321 [DEBUG]  Process Message [Media-Engine-1] [0x7f52a80038e0;1;0]

2018-08-05 13:55:54:553337 [INFO]   Close RTP Receiver 10.190.66.196:5000 <- 10.184.120.139:27666 [r:0 l:0 j:0 p:50 d:0 i:0]

2018-08-05 13:55:54:553346 [INFO]   Remove RTP Session 10.190.66.196:5000

2018-08-05 13:55:54:553375 [DEBUG]  Signal Message to [MRCP Server] [0x7f527c0029f0;4;0]

2018-08-05 13:55:54:553386 [DEBUG]  Process Message [MRCP Server] [0x7f527c0029f0;4;0]

2018-08-05 13:55:54:553390 [DEBUG]  Media Termination Subtracted 0x7f529c001b88 <978ce4713e614eff@media-tm>

2018-08-05 13:55:54:553393 [DEBUG]  Media Termination Subtracted 0x7f529c001b88 <978ce4713e614eff@rtp-tm>

2018-08-05 13:55:54:554490 [NOTICE] Remove Session <978ce4713e614eff>

2018-08-05 13:55:54:554502 [INFO]   Session Terminated 0x7f529c001b88 <978ce4713e614eff>

2018-08-05 13:55:54:554522 [NOTICE] Destroy Session <978ce4713e614eff>

2018-08-05 13:55:54:554536 [DEBUG]  Wait for Messages [MRCP Server]



GW log.
1273293: *Aug  5 20:11:01.115: //-1//MRCP:/MRCPV2_ADD_REQUEST_LINE:
   IsFinal=FALSE;TotalLength=169
1273294: *Aug  5 20:11:01.115: //-1//MRCP:/MRCPV2_ADD_HEADER_CR:
   TotalLength=93
1273295: *Aug  5 20:11:01.115: //-1//MRCP:/MRCPV2_ADD_REQUEST_LINE:
   IsFinal=TRUE;TotalLength=93:
MRCP/2.0 93       START-INPUT-TIMERS  3
Channel-Identifier: 0096446952db4402@speechrecog


:
MRCP/2.0 80 3 200 COMPLETE
Channel-Identifier: 0096446952db4402@speechrecog


1273296: *Aug  5 20:11:10.418: //-1//MRCP:/MRCPV2_ADD_REQUEST_LINE:
   IsFinal=FALSE;TotalLength=155
1273297: *Aug  5 20:11:10.418: //-1//MRCP:/MRCPV2_ADD_HEADER_CR:
   TotalLength=79
1273298: *Aug  5 20:11:10.418: //-1//MRCP:/MRCPV2_ADD_REQUEST_LINE:
   IsFinal=TRUE;TotalLength=79:
MRCP/2.0 79       STOP  4
Channel-Identifier: 0096446952db4402@speechrecog


1273299: *Aug  5 20:11:10.418: //7302395//MRCP:/act_media_call_connected_disconnected:
   ERROR: Media leg is disconnected by remote server which may affect subsequent mrcp services
1273300: *Aug  5 20:11:10.418: //7302395//MRCP:/act_media_call_connected_disconnected:
   ERROR: Media leg is disconnected by remote server which may affect subsequent mrcp services
1273301: *Aug  5 20:11:10.418: //-1//MRCP:/mrcp_destroy_session:
   scb already deleted; sess_id=19030
1273302: *Aug  5 20:11:10.418: //-1//MRCP:/mrcp_destroy_session:
   scb already deleted; sess_id=19030:
MRCP/2.0 108 4 200 COMPLETE
Channel-Identifier: 0096446952db4402@speechrecog
Active-Request-Id-List: 2


1273303: *Aug  5 20:11:10.424: //-1//MRCP:/mrcpv2_pmh_process_response:
   Not Found MRCPv2 Session for Channel-Identifier=0096446952db4402@speechrecog

Seems like gateway is timing out. Which timeout should i increase. I have tried a few and did not work.

Arsen Chaloyan

unread,
Aug 6, 2018, 9:23:39 PM8/6/18
to UniMRCP
> Has anyone gotten it to work with a CVP app?

Based on communication with several parties, I believe, yes.

Following the provided logs, SIP and MRCPv2 message exchange seems correct. However, I doubt that any RTP packets reached UniMRCP server. Here is the log statement indicating a start of RTP session

2018-08-05 13:55:43:243478 [INFO]   Open RTP Receiver 10.190.66.196:5000 <- 10.184.120.139:27666 playout [50 ms] bounds [0 - 600 ms] adaptive [1] skew detection [1]

There is a similar statement for closing RTP session "Close RTP Receiver". This log statement contains the number of RTP packets/octets received and is printed at the end of MRCP session. Check it out.

Make sure the local RTP port range is properly mapped. Your client and server are on different networks.

<p class="m_-565728825758410860gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-s

Vamsi Daggubati

unread,
Oct 8, 2018, 7:11:46 PM10/8/18
to UniMRCP
Hello All,

Has anybody gotten it work with Cisco CVP?

I am testing GDF (latest version) with Arsen's TestDialogFlow.vxml file. When I call in, I can hear the welcome audio i.e., "Welcome to DialogFlow. How can I help you?". After this part, GDF is capturing my input and responding back. But the response is not getting played. Instead, it just disconnects.

Below is the one that plays Welcome prompt

builtin:speech/transcribe
2018-10-08 16:38:17:984841 [INFO]   Assign Control Channel <b4359f496c154ad3@speechrecog> to Connection 10.3.74.80:1544 <-> 10.3.74.99:35855 [1] -> [1]
2018-10-08 16:38:17:984905 [INFO]   Process DEFINE-GRAMMAR Request <b4359f496c154ad3@speechrecog> [1]
2018-10-08 16:38:17:984950 [DEBUG]  Add Context [fiel...@field.grammar] <b4359f496c154ad3@gdf>
2018-10-08 16:38:17:984972 [INFO]   Process DEFINE-GRAMMAR Response <b4359f496c154ad3@speechrecog> [1]
2018-10-08 16:38:17:985031 [INFO]   Send MRCPv2 Data 10.3.74.80:1544 <-> 10.3.74.99:35855 [112 bytes]
MRCP/2.0 112 1 200 COMPLETE
Channel-Identifier: b4359f496c154ad3@speechrecog
Completion-Cause: 000 success


2018-10-08 16:38:17:991005 [INFO]   Receive MRCPv2 Data 10.3.74.80:1544 <-> 10.3.74.99:35855 [78 bytes]
MRCP/2.0 392      SPEAK  1
Channel-Identifier: 9441f9298bb84f45@speechsynth

2018-10-08 16:38:18:030077 [INFO]   Receive MRCPv2 Data 10.3.74.80:1544 <-> 10.3.74.99:35855 [874 bytes]
Kill-On-Barge-In: true
Speech-Language: en-US
Logging-Tag: 220220
Content-Type: application/ssml+xml
Content-Length: 132

<?xml version="1.0"?><speak version="1.0" xml:lang="en-US"> Welcome to Dialogflow. <break time="300ms"/> How can I help you?</speak>MRCP/2.0 560      RECOGNIZE  2
Channel-Identifier: b4359f496c154ad3@speechrecog
Speech-Language: en-US
Confidence-Threshold: 0.50
Sensitivity-Level: 0.50
Speed-Vs-Accuracy: 0.50
Cancel-If-Queue: false
Dtmf-Interdigit-Timeout: 10000
Dtmf-Term-Timeout: 0
Dtmf-Term-Char: #
No-Input-Timeout: 15000
N-Best-List-Length: 1
Logging-Tag: 220220
Save-Waveform: true
Media-Type: audio/x-wav
Start-Input-Timers: false
Content-Type: text/uri-list
Content-Length: 32

Then when I spoke "This is a test call".


2018-10-08 16:38:26:197873 [INFO]   Receive MRCPv2 Data 10.3.74.80:1544 <-> 10.3.74.99:35855 [320 bytes]
Kill-On-Barge-In: true
Speech-Language: en-US
Logging-Tag: 220220
Content-Type: application/ssml+xml
Content-Length: 138

<?xml version="1.0"?><speak version="1.0" xml:lang="en-US"> You said <break time="300ms"/>this is a test call<break time="300ms"/></speak>
2018-10-08 16:38:26:197981 [INFO]   Process SPEAK Request <9441f9298bb84f45@speechsynth> [2]
2018-10-08 16:38:26:198030 [DEBUG]  Set voice name [en-US-Standard-C] <9441f9298bb84f45@gss>
2018-10-08 16:38:26:198039 [DEBUG]  Set voice gender [2] <9441f9298bb84f45@gss>
2018-10-08 16:38:26:198042 [INFO]   Start Async Synth: encoding=1, sampling-rate=8000, language=en-US <9441f9298bb84f45@gss>
2018-10-08 16:38:26:461607 [DEBUG]  Process gRPC Event: name [finishing] status [1] <9441f9298bb84f45@gss>
2018-10-08 16:38:26:461725 [INFO]   Process SPEAK Response <9441f9298bb84f45@speechsynth> [2]
2018-10-08 16:38:26:461744 [NOTICE] State Transition IDLE -> SPEAKING <9441f9298bb84f45@speechsynth>
2018-10-08 16:38:26:461863 [INFO]   Send MRCPv2 Data 10.3.74.80:1544 <-> 10.3.74.99:35855 [83 bytes]
MRCP/2.0 83 2 200 IN-PROGRESS
Channel-Identifier: 9441f9298bb84f45@speechsynth


2018-10-08 16:38:28:605206 [NOTICE] Speech Complete <9441f9298bb84f45@gss>
2018-10-08 16:38:28:605297 [INFO]   Process SPEAK-COMPLETE Event <9441f9298bb84f45@speechsynth> [2]
2018-10-08 16:38:28:605307 [NOTICE] State Transition SPEAKING -> IDLE <9441f9298bb84f45@speechsynth>
2018-10-08 16:38:28:605422 [INFO]   Send MRCPv2 Data 10.3.74.80:1544 <-> 10.3.74.99:35855 [122 bytes]
MRCP/2.0 122 SPEAK-COMPLETE 2 COMPLETE
Channel-Identifier: 9441f9298bb84f45@speechsynth
Completion-Cause: 000 normal


Even though, the response ("You said, This is a test call.") is not playing on the caller end. Attached complete log file.
<p class="m_-3256001131345215897m_-565728825758410860gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font
<p class="m_-3256001131345215897m_-565728825758410860gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font
unimrcp.txt

Mohan Karki

unread,
Oct 8, 2018, 7:40:48 PM10/8/18
to uni...@googlegroups.com
May be look ath the gw logs.

-Mohan

--

Vamsi Daggubati

unread,
Oct 8, 2018, 8:08:14 PM10/8/18
to UniMRCP
Thanks for the reply, Mohan.

I have enabled MRCP logs in GW. Heres what I found. I am running UniMRCP in Ubuntu 16.04. I checked in the server, there is no folder with the name "utterances". What could be the problem?


MRCP/2.0 1077 RECOGNITION-COMPLETE 2 COMPLETE
Channel-Identifier: f56292e330004d77@speechrecog
Completion-Cause: 000 success
Waveform-Uri: <http://localhost/utterances/umsgdf-f56292e330004d77-2.wav>;size=32000;duration=2060
Content-Type: application/x-nlsml
Content-Length: 791

<?xml version="1.0"?><result><interpretation grammar="session:fiel...@field.grammar" confidence="1"><instance><query_text>this is a test call</query_text><action>input.unknown</action><parameters></parameters><all_required_params_present>true</all_required_params_present><fulfillment_text>Sorry, can you say that :
h">this is a test call</input></interpretation></result>
Oct  8 23:48:00.713: %HTTPC-6-CONNECT_FAILED: The connection to server 0.0.0.0 failed
Oct  8 23:48:00.713: %HTTPC-6-REQUEST_FAILED: request URI http://localhost/utterances/umsgdf-f56292e330004d77-2.wav failed

Oct  8 17:48:00.729: //-1//MRCP:/MRCPV2_ADD_REQUEST_LINE:
   IsFinal=FALSE;TotalLength=156
Oct  8 17:48:00.729: //-1//MRCP:/MRCPV2_ADD_HEADER:
   TotalLength=78
Oct  8 17:48:00.729: //-1//MRCP:/MRCPV2_ADD_REQUEST_LINE:
   IsFinal=TRUE;TotalLength=397:
MRCP/2.0 397      SPEAK  2
Channel-Identifier: 6c74f00502784c9b@speechsynth
:
Kill-On-Barge-In: true
Speech-Language: en-US
Logging-Tag: 220366

Content-Base: http://10.3.74.120//en-us/app/unimrcp/
:
Content-Type: application/ssml+xml
Content-Length: 137

:
<?xml version="1.0"?><speak version="1.0" xml:lang="en-US"> You said <break time="300ms"/>this is a test call<break time="300ms"/></speak>:

MRCP/2.0 83 2 200 IN-PROGRESS
Channel-Identifier: 6c74f00502784c9b@speechsynth

<spa

Arsen Chaloyan

unread,
Oct 8, 2018, 11:09:59 PM10/8/18
to UniMRCP
Hi Vamsi,

Oct  8 23:48:00.713: %HTTPC-6-CONNECT_FAILED: The connection to server 0.0.0.0 failed
Oct  8 23:48:00.713: %HTTPC-6-REQUEST_FAILED: request URI http://localhost/utterances/umsgdf-f56292e330004d77-2.wav failed


You would need to disable recording of utterances from the VoiceXML app

   <property name="recordutterance" value="false"/>

or install and configure an HTTP server on your Ubuntu 16.04 to allow CVP to fetch the recorded prompts.

Otherwise, the MRCP message flow is correct and I do not see any issues.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages