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

issue with break element

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
lbattista
Posts: 5
Joined: Tue Nov 04, 2008 11:56 am

issue with break element

Post by lbattista »

Below is a test VXML of the same format we use for all our current outbound messages. The main message is repeated twice (in the case below, "If this message has been....")

Without the <break> element, some people think the pause between repetitions is inadequate (too short.) However, once the <break> element is inserted, the first reading of the message pauses 5 seconds at each "-" in the phone number! Then the pause occurs properly at the <break> element, then the second reading is perfectly normal (no extended pauses at the dashes.) Is this a bug? Is there a simple way around this?

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
<property name="voicename" value="lauren"/> 
<property name="inputmodes" value="dtmf"/>
 <form id="greeting">
	<block>
		<prompt>
			This is a call from IVR Systems incorporated.  More greeting text.
		</prompt>
		<goto next="#message"/>
	</block>
</form>

<form id="message">
	<block>
		<prompt>
			If this message has been sent in error, please contact IVR Systems at 866-866-8668. 
			<break time="5s" />  
			If this message has been sent in error, please contact IVR Systems at 866-866-8668.		
		</prompt>
	</block>
</form>
</vxml>

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

IVR code to get around break element

Post by support »

Hi,

Yes, we've been able to reproduce this IVR behavior that you are experiencing. You can alter your IVR code with the IVR tag, <break>, to get around this:

break.php

Code: Select all

<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<property name="voicename" value="lauren"/>
<property name="inputmodes" value="dtmf"/>
 <form id="greeting">
   <block>
      <prompt>
         This is a call from IVR Systems incorporated.  More greeting text.
      </prompt>
      <goto next="#message"/>
   </block>
</form>

<form id="message">
   <block>
      <prompt>
         If this message has been sent in error, please contact IVR Systems at 866-866-8668.
      </prompt>
      <prompt>
         <break time="5s" /> 
         If this message has been sent in error, please contact IVR Systems at 866-866-8668.      
      </prompt>
   </block>
</form>
</vxml>
Hope this helps.

Regards,
Plum Support

Post Reply