We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Plum voice server hang-up problem

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
zone24x7
Posts: 29
Joined: Fri May 19, 2006 7:50 am

Plum voice server hang-up problem

Post 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.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code to automatically disconnect call after 2nd noinput

Post 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.

Post Reply