Dropped Calls During Key Entry
Posted: Mon Apr 11, 2011 8:57 am
I have experienced numerous dropped calls during key entry in an IVR system currently in development. It seems to happen for a few different reasons: if there is any gap between pressing keys or if a key is not pressed long enough, as examples. I am not sure if there is something else we need to be doing to capture key entry better in our system. Below is a sample code snippet that drops frequently, where a login ID and password is entered for verification against our DB:
Thanks for any insight.
- Steve
Code: Select all
<form id="CompanyIDCaregiverIDPassword">
<field name="CompanyIDCaregiverIDPassword_input" type="digits">
<grammar root="ROOT" type="application/srgs+xml" mode="dtmf">
<rule id="ROOT" scope="public">
<one-of>
<item repeat="0-255">
<ruleref uri="#digit"/>
</item>
<item> "#" </item>
</one-of>
</rule>
<rule id="digit" scope="public">
<one-of>
<item> 0 </item>
<item> 1 </item>
<item> 2 </item>
<item> 3 </item>
<item> 4 </item>
<item> 5 </item>
<item> 6 </item>
<item> 7 </item>
<item> 8 </item>
<item> 9 </item>
<item> "*" </item>
<item> "#" </item>
</one-of>
</rule>
</grammar>
<prompt>
Please enter your Company ID then press Star followed by the Caregiver ID then Star followed by your Password then Pound to Submit.
</prompt>
<filled>
<if cond="CompanyIDCaregiverIDPassword_input.indexOf('#') != -1">
<assign name="GCompanyIDCaregiverIDPassword_input" expr="CompanyIDCaregiverIDPassword_input"/>
<assign name="Gschedule_phonenumber" expr = "session.telephone.ani" />
<assign name="CompanyIDCaregiverIDPassword_input" expr="CompanyIDCaregiverIDPassword_input.toString().replace(/#/,'')"/>
<prompt>
</prompt>
<else/>
<prompt>
You must press pound to submit.
</prompt>
</if>
</filled>
<noinput>
Sorry, No Input received.
<reprompt/>
</noinput>
<nomatch>
Sorry, you entered Invalid Details.
<reprompt/>
</nomatch>
</field>
- Steve