Page 1 of 1

Plum voice server hang-up problem

Posted: Thu Jul 27, 2006 8:01 am
by zone24x7
The Plum voice server hangs, if the user hangs up the phone while the Plum server is sending a request to a web server. I put some code to catch "nomatch" and "noinput" events as well (As per advice from plum support).

Code related with above scenario is as follows.

<?xml version="1.0"?>
<vxml version="2.0">
<var name="logincount" expr="1"/>
<form id="welcome">
<block>
<prompt>
Welcome to your macy's south voice assistant.
</prompt>
<goto next="#login"/>
</block>
</form>
<form id="login">
<field name="userid" type="digits">
<property name="interdigittimeout" value="2s" />
<prompt >
Now, Please enter your user number.
</prompt>
<noinput>
Sorry, I did't hear you.
<reprompt/>
</noinput>
<nomatch>
Sorry, I did't understand.
<reprompt/>
</nomatch>
</field>
<field name="pwd" type="digits">
<property name="interdigittimeout" value="2s" />
<prompt>
Please enter your password.
</prompt>
<noinput>
Sorry, I did't hear you.
<reprompt/>
</noinput>
<nomatch>
Sorry, I did't understand.
<reprompt/>
</nomatch>
</field>
<filled>
<prompt >
Please wait! your login details are being sent for validation.
</prompt>
<submit next="http://220.247.217.84/ivr/default.asp" namelist="userid logincount pwd" method="get"/>
</filled>
</form>
</vxml>


Normal scenario is described below.

User logs on to the IVR system, and enters his user number and password through the phone. Then the data which the user entered is sent to the web server (to a particular page) for validation.
If he hangs up the phone while the Plum server is sending data to the web server, then the Plum server hangs and we can only use the server after restarting.

Note: The system works fine if the user properly logs off.

IVR code to automatically disconnect call after 2nd noinput

Posted: Thu Jul 27, 2006 10:09 am
by support
You need to use the noinut and nomatch handlers with the count attribute. IVR code like this:

Code: Select all

<noinput count="2"><disconnect/></noinput>
Will automatically disconnect the IVR call after the second noinput event encountered.