Avaya OD 8.1.2.1201 all prompt and collect steps fail

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • neman
    Hot Shot
    • Oct 2019
    • 10

    Avaya OD 8.1.2.1201 all prompt and collect steps fail

    I downloaded the 8.1.2.1201 ISO yesterday and I am attempting to use the prepackaged eclipse/tomcat from that ISO.
    Created C:\AOD8.1.2 directory
    Copied the apache-tomcat-9.0.8 and eclipse folders from the iso into that directory
    Created a shortcut to eclipse.exe on my desktop
    Launched eclipse
    Windows / Preferences / Tomcat, set the Tomcat home to C:\AOD-8.1.2\apache-tomcat-9.0.8 and
    Tomcat context to C:\AOD-8.1.2\apache-tomcat-9.0.8\conf\Catalina\localhost
    Went into my installed JRE's tried jdk8u392-b08, which I use with my 8.1 OD. Also tried jdk-11.0.21+9, jdk-11.0.26.4-hotspot and lastly jdk-12.0.2, changing those made no difference.
    Tomcat fires up perfectly.
    Importing a working simple speech flow from my 8.1 environment.
    This flow is very basic with 2 prompt and collect steps and an exit.
    Run through it in simulator, it will not accept any digits pressed, doesn't even register that I inputted anything in the console log.

    Decided to create a brand new speech app in this 8.1.2.1201 environment to eliminate the import process from the equation.
    AppRoot, Prompt and collect, Exit. Created a prompt, created a grammar, dtmf, static with 1 as the only option.
    Drop the prompt and the grammar on the prompt and collect step.
    Run it through simulation, Press 1 when prompted, says invalid option.
    I get ZERO entries in the console log corresponding to this failure, none of the normal complex variables associated with a prompt and collect process nothing.

    Changed the step to a menu, dropped the same prompt and same grammar on the menu and it goes right thru.
    Here are the log entries from a success, which I normally see on menus and prompt and collect steps
    09/04/2025 16:13:48:575 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___Column0 to complex: GetItMenu:Column0 as [undefined]
    09/04/2025 16:13:48:576 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___confidence to complex: GetItMenu:confidence as [0.949999988079071]
    09/04/2025 16:13:48:576 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___inputmode to complex: GetItMenu:inputmode as [dtmf]
    09/04/2025 16:13:48:576 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___interpretation to complex: GetItMenu:interpretation as [1]
    09/04/2025 16:13:48:576 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___noinputcount to complex: GetItMenu:noinputcount as [0]
    09/04/2025 16:13:48:576 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___nomatchcount to complex: GetItMenu:nomatchcount as [0]
    09/04/2025 16:13:48:576 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___utterance to complex: GetItMenu:utterance as [1]
    09/04/2025 16:13:48:576 INFO - 3FB63087827379DF06B546129029519A:/test : Storing :GetItMenu___value to complex: GetItMenu:value as [1]
    09/04/2025 16:13:48:638 INFO - 3FB63087827379DF06B546129029519A:/test : session id:sess713777 | test:WhatDidWeSelect | ***** We selected = | GetIt:utterance :

    What is wrong with prompt and collect in this new environment or my setup?
    Is there a patch or what am I missing?

    Getting ready to convert all speech apps to 8.1.2.1201 because we are going to 10.x so I really need to figure this out asap.
    Thanks for your time.
  • wilsonyu
    Hot Shot
    .
    • Sep 2011
    • 24

    #2
    I have not heard of any problem like this. Maybe the grammar was not formatted correctly for some reason. It should look like the following (the srgs.grxml file in data/english/gammar). If not, try to edit the OD grammar and save it to let to get regenerated, and see what happens.

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <grammar xmlns="http://www.w3.org/2001/06/grammar" mode="dtmf" root="g1" tag-format="semantics/1.0-literals" version="1.0" xml:lang="en-us">
    <rule id="g1" scope="public">
    <ruleref uri="#Column0"/>
    </rule>
    <rule id="Column0" scope="private">
    <one-of>
    <item>1<tag>1</tag></item>
    </one-of>
    </rule>
    </grammar>

    Comment

    • neman
      Hot Shot
      • Oct 2019
      • 10

      #3
      Here is the exact format being generated by OD and the reason why they all fail. I did not manually manipulate these at all.

      OneTwoThree-srgs.grxml
      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <grammar xmlns="http://www.w3.org/2001/06/grammar" mode="dtmf" root="OneTwoThree" tag-format="semantics/1.0-literals" version="1.0" xml:lang="en-us">
      <rule id="OneTwoThree" scope="public">
      <ruleref uri="#Column0"/>
      </rule>
      <rule id="Column0" scope="private">
      <one-of>
      <item>
      1
      <tag>1</tag>
      </item>
      <item>
      2
      <tag>2</tag>
      </item>
      <item>
      3
      <tag>3</tag>
      </item>
      </one-of>
      </rule>
      </grammar>

      and here is that same grammar in 8.1.0.0601, before I imported into the new OD 8.1.2.1201

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <grammar xmlns="http://www.w3.org/2001/06/grammar" mode="dtmf" root="OneTwoThree" tag-format="semantics/1.0-literals" version="1.0" xml:lang="en-us">
      <rule id="OneTwoThree" scope="public">
      <ruleref uri="#Column0"/>
      </rule>
      <rule id="Column0" scope="private">
      <one-of>
      <item>1<tag>1</tag>
      </item>
      <item>2<tag>2</tag>
      </item>
      <item>3<tag>3</tag>
      </item>
      </one-of>
      </rule>
      </grammar>

      not sure if that helps at all​
      Attached Files

      Comment

      • wilsonyu
        Hot Shot
        .
        • Sep 2011
        • 24

        #4
        This problem has something to do with the Java version 8+, the way it formats the xml file. To accommodate this change, we made a patch. Please find the grammar.txt file attached, and follow the steps below:
        1. Rename the file to .jar extension. So the correct file name should be grammars.jar
        2. Replace the existing file in the Eclipse_Home/plugins/com.avaya.sce.grammars_<version> directory with this new file.
        3. Restart Eclipse.
        4. Regenerate the grammar by using the context menu "Orchestration Designer/Generate" on the grammar.
        Attached Files

        Comment

        Loading