Page 1 of 1

Voice recognition problem

Posted: Tue Jan 08, 2008 2:13 pm
by shanthint@paydq.com
Hello,
We have an IVR app using both dtmf and voice input modes.
Dtmf is working fine. But the voice is not especially if we speak by the speaker phone, it is always saying ' I didn't hear it'.(the noinput message). And also it takes only if we speak slow.
We are using Plum voice IVR server. Is that something with Voice recognition engine or can we do anything with property to make the engine gets the input properly?.

Any help is appreciated.

Thank you.

IVR apps allow for both dtmf and voice inputs

Posted: Tue Jan 08, 2008 2:45 pm
by support
Hi,

Can you post a snippet of IVR code that demonstrates this IVR issue? We have had IVR applications in the past that allow for both dtmf and voice inputs to work just fine.

Regards,
Plum Support

Posted: Tue Jan 08, 2008 2:55 pm
by shanthint@paydq.com
Hello,
It seems like it will take the input if we speak in the receiver not in the speaker phone. And also sometimes, it will ask again and again for two times or three times.
I just edited the code little bit.
This supposed to take both kind of input.(voice and DTMF)
Actually it works only the voice recognition is not good.

Here is the code:
<form id="getConfirm">

<grammar type="application/x-jsgf" mode="dtmf">
^(1|2)$
</grammar>

<grammar type="application/x-jsgf" mode="voice">
^(One|Two|YES|NO|yeah|sure|S|yes)$
</grammar>

<field name="confirm" type="boolean">
<prompt>

<sentence>You are paying some amount.
<sentence>To confirm this , say yes. </sentence>
<sentence>To cancel this , say No.</sentence>
</prompt>

</field>
<filled>

<if cond="confirm$.inputmode=='voice'">
<if cond="confirm=='1'">
<goto next="#dest1"/>
<else/>
<goto next="dest2"/>
</if>
<else/>
<goto next="#anotherForm"/>
</if>

</filled>
</form>

Thank you.

IVR application for grammar fix

Posted: Tue Jan 08, 2008 3:30 pm
by support
Hi,

The reason this is occurring is because you are putting your inline IVR grammars at the form level rather than inside of your field. Also, you shouldn't combine a mix of inline grammars and built-in IVR grammars together. I would recommend removing the built-in grammar of boolean and just sticking your inline grammars within your field.

So, your edited IVR application should look more like this:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">

<form id="getConfirm">

<field name="confirm">
<grammar type="application/x-jsgf" mode="dtmf">
^(1|2)$
</grammar>

<grammar type="application/x-jsgf" mode="voice">
^(one|two|yes|no|yeah|sure|S|Yes)$
</grammar>
<prompt>

<sentence>You are paying some amount. </sentence>
<sentence>To confirm this , say yes. </sentence>
<sentence>To cancel this , say No.</sentence>
</prompt>

</field>
<filled>

<if cond="confirm$.inputmode=='voice'">
<if cond="confirm=='1'">
<goto next="#dest1"/>
<else/>
<goto next="#dest2"/>
</if>
<else/>
<goto next="#anotherForm"/>
</if>

</filled>
</form> 

</vxml>
Hope this helps.

Regards,
Plum Support

Posted: Wed Jan 09, 2008 11:01 am
by shanthint@paydq.com
Thank you guys.
It works with little modification.