ASR 9.0 Alpha/Beta both are not stable, Since i used it our stable inbound script, it stopped working and it took me few hours to figure out the cause. "Grammar" Doesn't work which is important for us.
Below is the code is/was perfectly working on ASR 3.0 but as soon as i switched to ASR 9.0, started falling apart.
We Support two mode for input Voice/DTMF, on selection of input we branch out. I have sent this email to the Account Manager from PlumVoice who looks into our account. The spare number is hooked with the stable code and you can switch ASR's to see how it reacts.
If you find any resolution let us know, what needs to be changed in below code to support ASR 9.0 or should we stick to ASR 3.0 as usual. I am putting this to forum as well.
Code: Select all
<form id="MainMenu">
<property name="sensitivity" value="0.6"/>
<property name="confidencelevel" value="0.75"/>
<field name="MainMenuselection">
<grammar type="application/srgs+xml" root="voice_options_0" mode="voice">
<rule id="voice_options_0">
<one-of>
<item>service</item>
<item>sales</item>
<item>support</item>
</one-of>
</rule>
</grammar>
<grammar type="application/srgs+xml" root="dtmf_options_0" mode="dtmf">
<rule id="dtmf_options_0">
<one-of>
<item>1</item>
<item>2</item>
<item>3</item>
</one-of>
</rule>
</grammar>
<filled>
<if cond="MainMenuselection == 1 || MainMenuselection == 'service'">
<!-- <prompt>You selected.</prompt> -->
<goto next="#SelfService"/>
<elseif cond="MainMenuselection == 2 || MainMenuselection == 'sales'"/>
<!-- <prompt>You selected.</prompt> -->
<goto next="#Sales"/>
<elseif cond="MainMenuselection == 3 || MainMenuselection == 'support'"/>
<!-- <prompt>You selected.</prompt> -->
<goto next="#Support"/>
</if>
</filled>
<!-- I write No Input/No Match Code and Throw for validation error. -->
</field>
</form>