" /> Solved :Genesys Nuance ASR - Genesys CTI User Forum

Author Topic: Solved :Genesys Nuance ASR  (Read 2269 times)

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Solved :Genesys Nuance ASR
« on: March 10, 2020, 12:22:51 PM »
Advertisement
Hi All,

I have Genesys nuance integration. TTS is working fine but I am struggling to test ASR.
As a part of testing I am using Composer User Input project available in Composer.
I get a call and when i speak my voice never reaches MCP, i believe that at least MCP should have speech captured in MCP logs. As voice is not captured i get in logs no_input received.

As a part of ASR config i have RAP (VP_MCP_MRCPv2_ASR_Nuance11_900) configured. I am using Mrcpv2 for integration. In logs I get ping responses from Nuance for ASR.

Is there any specific config i need to do on MCP so that it detects the Speech ?
« Last Edit: March 12, 2020, 05:58:48 AM by AK »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Genesys Nuance ASR
« Reply #1 on: March 10, 2020, 01:05:04 PM »
What type of grammar have you configured?
What do you expect ASR to recognize?


Enviado de meu SM-N9600 usando o Tapatalk


Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Genesys Nuance ASR
« Reply #2 on: March 10, 2020, 02:41:26 PM »
Hi Cav,

I am using Inbuild compose User input project and below is the grammar file used for same:

----
<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="city_state">

<rule id="city" scope="public">
<one-of>
<item>Los Angeles</item>
<item>San Jose</item>
<item>San Francisco</item>
<item>New York</item>
<item>Seatle</item>
<item>Chicago</item>
</one-of>
</rule>

<rule id="state" scope="public">
<one-of>
<item>California</item>
<item>New York</item>
<item>Washington</item>
<item>Illinois</item>
</one-of>
</rule>

<!-- Reference by URI to a local rule -->
<!-- Artificial example allows "San Jose, California"! -->
<rule id="city_state" scope="public">
<ruleref uri="#city" />
<ruleref uri="#state" />
</rule>


</grammar>
----

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Genesys Nuance ASR
« Reply #3 on: March 10, 2020, 02:42:20 PM »
I expect it to recognize the name of cities.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Genesys Nuance ASR
« Reply #4 on: March 11, 2020, 01:12:09 PM »
Have you added the connection from MCP to ASR RAP object?

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Genesys Nuance ASR
« Reply #5 on: March 12, 2020, 04:06:45 AM »
Thanks for the replies guys.
It was an RTP issue from MGW, it was not sending the RTP to MCP.
I figured out after wireshark traces on Nuance and MCP server.

I checked the issue with Media Gateway team and then issue was fixed.

Thanks for your replies :).
--------------------

Just wanted to share the issues I faced during this integration ,might help someone in future who does this integration.

The requirement was to use the ASR and TTS for german language. So while making composer project you need to select de-DE locale along with English or you can select only de-DE language.
For en-US language by default under workspace\<Project name>\Resources\Prompts" folder you will find en-US.js file which have locale information.

if you are using other language for example german you need to create your locale file manually with name of locale i.e. de-DE.js and place it under workspace\<Project name>\Resources\Prompts" folder.

Locale file de.DE.js will be applicable to entire callflow project including prompts in Menu block.
The workflow is part of ORS and via SIP Server -> URS, it just asks MCP to play the treatment and there are no prompts involved in it.
So locale file de.DE.js is not needed in a workflow.

Hope it helps.