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

This script not working to leave VoiceMail - Please Help!

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
herzow
Posts: 23
Joined: Mon Sep 21, 2009 12:30 pm

This script not working to leave VoiceMail - Please Help!

Post by herzow »

<?xml version="1.0" ?>
<vxml version="2.0">
<form id="mainmenu">
<var name="callee_type" expr="''" />
<record cond="callee_type=='answeringmachine'" finalsilence="4000ms" />
<block>
<prompt cond="callee_type=='answeringmachine'">THIS IS AN ANSWERING MACHINE</prompt>
<prompt cond="callee_type!='answeringmachine'">THIS IS THE REGULAR MESSAGE</prompt>
</block>
</form>
</vxml>

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

IVR code suggestion for POSTing callee type

Post by support »

Hi,

To fix this block of IVR code, you should initialize the variable, callee_type, in your <var>
tag to be POST[callee_type]. The IVR code example below shows how to do this within PHP.

Code: Select all

<var name="callee_type" expr="'<?= $_POST['callee_type'] ?>'" /> 

When testing this IVR code, we needed to lower the finalsilence to 2000ms for the voicemail to be left. For any additional help, you could view our outbound IVR hosting docs here: http://www.plumvoice.com/docs/dev/plumd ... _StartVXML

Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 11:46 am, edited 5 times in total.

herzow
Posts: 23
Joined: Mon Sep 21, 2009 12:30 pm

Problem with Verizon or Voicemail systems

Post by herzow »

I'm populating the callee_type by doing the following:

It works for answering machines and my landline, but it's not working for my voicemail on my cellphone or any other cell phones.


strCallee_Type = Request.Form("callee_type")

strXML = "<?xml version=""1.0""?>" & _
"<vxml version=""2.0"">" & _
"<form id=""mainmenu"">" & _
"<var name=""callee_type"" expr=""'" & strCallee_Type & "'"" />" & _
"<record cond=""callee_type=='answeringmachine'"" finalsilence=""2000ms""/>" & _
"<block>" & _
"<prompt cond=""callee_type=='answeringmachine'"">THIS IS AN ANSWERING MACHINE</prompt>" & _
"<prompt cond=""callee_type!='answeringmachine'"">THIS IS THE REGULAR MESSAGE</prompt>" & _
"</block>" & _
"</form>" & _
"</vxml>"

herzow
Posts: 23
Joined: Mon Sep 21, 2009 12:30 pm

I scrapped this idea.

Post by herzow »

Because the reading I did said the answering machine detection wasn't a perfect system. Which is understandable.

Please close ticket.

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

IVR callee type detection system not 100% accurate

Post by support »

Hi,

Yes, the callee type detection within our IVR system is not 100% accurate. We also tested this IVR code with several cell phones within Plum's IVR support staff and found it worked with all of them except for one phone which miscategorized the callee type as "voice". Please let us know if you need any further IVR assistance with this.

Regards,
Plum Support

Post Reply