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

Call routing

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
abhay
Posts: 24
Joined: Tue Jul 15, 2008 1:51 am

Call routing

Post by abhay »

Hi
I have query related to 2 different URL's.

Is it possible to use 2 URL's for same toll free number.
because in my application if one URL is not accessible then i want to switch it to other URL for the same toll free number. Is it possible?

Please reply.
Thanks
Abhay

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

IVR code for call routing

Post by support »

Hi Abhay,

You can do this by setting up a scratchpad for your toll-free number and within your scratchpad, you could have this:

applicationurl.vxml:

Code: Select all

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

<form>
<block>
<goto next="yourapplicationurl1.php"/>
</block>
</form>

<catch event="error">
<goto next="yourapplicationurl2.php"/>
</catch>

</vxml>
From this IVR code, if it fails to go to your first URL, the <catch> would catch an IVR error and attempt to go to your second URL.

Hope this helps.

Regards,
Plum Support
Last edited by support on Tue Feb 16, 2010 5:58 pm, edited 3 times in total.

abhay
Posts: 24
Joined: Tue Jul 15, 2008 1:51 am

Post by abhay »

Hello,
Thanks for your reply. I want one more thing. Where should I put that scratchpad. Instead of URL of toll free number ?

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

IVR code for call routing

Post by support »

Yes, that's correct.

Post Reply