issues with leaving a voicemail
Posted: Tue Oct 12, 2010 8:48 am
I have a similar problem that some have reported with trying to leave a voicemail. I decreased the "finalsilence" to 2000ms, but this has not solved the problem. Incidentally, the call log shows that the call was exactly one second shorter in duration, so I know the change took effect. The call log shows that everything occurred correctly, and there is a 30-second window between the start of the voicemail (in the log) and the disconnect event (in the log). So clearly the PLUM system thinks it is leaving the message. Also, if I actually pick up the phone, but don't respond to the "challenge prompt", my script assumes a machine has picked up, and I can hear it waiting and then playing the voicemail prompt. Several of my testers reported getting a blank voicemail, although one did report that it worked correctly.
Below is the VXML I'm using, which you should be able to run by removing the "subdialog" tags, and the "root" tag. The idea is that if a person picks up, he'll press 1, and the call will be transferred to another script. If not, I know it's a machine, and I wait for silence and then leave a message.
Below is the VXML I'm using, which you should be able to run by removing the "subdialog" tags, and the "root" tag. The idea is that if a person picks up, he'll press 1, and the call will be transferred to another script. If not, I know it's a machine, and I wait for silence and then leave a message.
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0" application="call_root.vxml">
<form id="patienttest">
<field name="answer">
<property name="inputmodes" value="dtmf"/>
<grammar type="application/x-jsgf" mode="dtmf">
( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 )+
</grammar>
<prompt>
This is Continuing Care calling with an important message. Please press one.
</prompt>
<filled>
<goto next="#person"/>
</filled>
<noinput>
<goto next="#machine"/>
</noinput>
</field>
</form>
<form id="person">
<block>
<assign name="varQuestion" expr="'PersonAnswered'"/>
<assign name="varAnswer" expr="1"/>
</block>
<subdialog name="enterdata" namelist="varQuestion varAnswer varCallID" src="enterdata.ashx"/>
<block>
<goto next="call_compliance_intro.vxml"/>
</block>
</form>
<form id="machine">
<block>
<assign name="varQuestion" expr="'PersonAnswered'"/>
<assign name="varAnswer" expr="0"/>
</block>
<subdialog name="enterdata" namelist="varQuestion varAnswer varCallID" src="enterdata.ashx"/>
<record finalsilence="2000ms"/>
<block>
<prompt bargein="false">
Hello, this is Continuing Care. I'm calling to check on the sleep therapy patient at this address.
Please call our patient management service at <say-as type="acronym"> 1 617 712 3999 </say-as> extension <say-as type="acronym"> 1634 </say-as>
when you have a minute so we can track how you are doing.
The call should only take two minutes of your time and is designed to help us better care for you.
The number again is <say-as type="acronym"> 1 617 712 3999 </say-as> extension <say-as type="acronym"> 1634 </say-as> and you can call anytime day or night.
Thanks, and have a great day.
</prompt>
<disconnect/>
</block>
</form>
</vxml>