[cisco-voip] UCCX, ASR and Grammars

Tanner Ezell tanner.ezell at gmail.com
Fri Oct 18 11:19:34 EDT 2019


Here's the specification for the grammar xml:
https://www.w3.org/TR/speech-grammar/

Anthony is right, not a lot of mix with UCCX+ASR however it follows the
standard and is universally applicable, the gotchas tend to be around
platform specific ASR technologies (particularly the built in grammars you
can utilize).

Depending on what you're doing, you'll want to do something like this (DTMF
grammar below)

<?xml version="1.0" encoding="ISO-8859-1"?>
<grammar *mode="dtmf"* root="root" version="1.0" xml:lang="en-US" xmlns="
http://www.w3.org/2001/06/grammar">
    <rule id="root" scope="public">
        <one-of>
            <item>
                1
                <tag>V='Y'</tag>
            </item>
            <item>
                2
                <tag>V='N'</tag>
            </item>
        </one-of>
    </rule>
</grammar>


Y would be returned [to UCCX step] when 1 is pressed, N with 2. To make a
voice specific grammar you'd change *mode* to be *"voice"* and put in
things like "yes" instead of 1 under the item tags.

Depending on what you're doing will determine how complex the grammar needs
to be.

Regards,
Tanner Ezell

On Thu, Oct 17, 2019 at 6:53 PM Clifford McGlamry <
Clifford.McGlamry at siriuscom.com> wrote:

> Using UCCX version 11 and have installed Nuance ASR version 11.  It's ASR
> is registered up and recognized by UCCX.
>
>
>
> I'm need to get grammars for some really simple applications.  Basically,
> numbers (spoken and DTMF) and yes/no.
>
>
>
> I cannot find any documentation on where to get this or how to create it.
> I have found some old references to Nuance Grammar Builder, but that tool
> is no where to be found.  I cannot even find a good example of what would
> work (I've found some grammar examples, but they are so different, I don't
> know which would actually work).  And while UCCX has some built in
> grammars, I can't find documentation on what's in them or a way to download
> them.
>
>
>
> Would love to get some suggestions/pointers/etc. on how to handle this.
>
> Cliff
>
>
> This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed and may contain
> information that is non-public, proprietary, privileged, confidential, and
> exempt from disclosure under applicable law or may constitute as attorney
> work product. If you are not the intended recipient, you are hereby
> notified that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and (i) destroy
> this message if a facsimile or (ii) delete this message immediately if this
> is an electronic communication. Thank you.
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20191018/03dec554/attachment.htm>


More information about the cisco-voip mailing list