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

Replace IVR platform Error Msgs with Custom Recorded Msgs

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
headpill
Posts: 40
Joined: Mon Aug 17, 2015 9:34 pm

Replace IVR platform Error Msgs with Custom Recorded Msgs

Post by headpill »

Hi,

We are posting input from Caller and trying to retrieve/get Information from Restful API's. Between VXML and Restful API we have our own page hosted which integrates with Restful API and return results to VXML.

Sometimes Restful API's takes more than 60 secs to respond and Time-Outs becase we have put fectimeout to 60s in the Data Tag. The Operation timed Msg played by the IVR Platform which do not blend in with our professional male-voice recorded voice msgs.

Error fetching document http://xxxx/xxxMethod.aspx due to Operation timed out after 60000 milliseconds with 0 bytes received
VXI::FetchXML - could not open URL: http://xxxx/xxxMethod.aspx
errno: 203 uri http://xxxx/xxxMethod.aspx

Is there anyway, we can catch platform level error and replace with our custom professional male-voice recorded voice msgs.

Any help would be appreciated.

Thanks.

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

Re: Replace IVR platform Error Msgs with Custom Recorded Msg

Post by support »

Hi,

Failure to fetch a script results in an event named 'error.badfetch'. You can use the name of this event to catch it as you would any other vxml event to perform a specific behavior when the event occurs. In order to catch this event, simple use the catch tag and specify the type of the event, as such:

Code: Select all

<catch event="error.badfetch">
	<!-- your custom behavior here -->
</catch>
You can use this catch tag either within your form where you are expecting the fetch error may occur, or you can set this globally, if you are utilizing a root document.

Regards,
Plum Support

headpill
Posts: 40
Joined: Mon Aug 17, 2015 9:34 pm

Re: Replace IVR platform Error Msgs with Custom Recorded Msg

Post by headpill »

This is perfect, Thank You so much @Support folks.

Post Reply