Page 1 of 1

alternate script if script server down

Posted: Thu Jul 13, 2006 7:21 pm
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

IVR script to create new scratchpad

Posted: Fri Jul 14, 2006 8:45 am
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