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

alternate script if script server down

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
always24x7
Posts: 30
Joined: Tue Apr 18, 2006 3:05 pm
Location: Bedford, TX

alternate script if script server down

Post by always24x7 »

This may have been covered in the past, but I didn't see it.

Is there any way to set the IVR server so that if it cannot retrieve the main script for a DNIS, it goes to another one?

ie:

http://main.somedomain.com/ivr/script.vxml

fails, so go to

http://backup.anotherdomain.com/ivr/script.vxml

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

IVR script to create new scratchpad

Post by support »

Hello,

This is a case where you can use a local scratchpad to have better control of the initial page transition. First you will need to create a new scratchpad with something like the following IVR script:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.1">

<form id="main">
	<block>
		<goto next="http://main.somedomain.com/ivr/script.vxml" fetchtimeout="10s"/>
	</block>
	<catch event="error.badfetch">
		<goto next="#backup"/>
	</catch>
</form>

<form id="backup">
	<block>
		<goto next="http://backup.anotherdomain.com/ivr/script.vxml" fetchtimeout="10s"/>
	</block>
</form>
You can then assign this scratchpad as your start page and allow it to manage the failover to your backup IVR server.

Regards,
Plum Support

Post Reply