Yes..same procedure I have followed and added vxml handler files as below..
I made a vxml_error1.vxml as default one which plays prompt and I wanted to do a transfer, I then do a submit to another document transfercall.vxml that actually does the transfer.
vxml_error1.vxml is as below
<?xml version="1.0" ?>
<!-- Copyright (c) 2001 SpeechWorks International -->
<!DOCTYPE defaults PUBLIC "SB_Defaults" "ignore" >
<defaults>
<language id="*"> <!-- All languages -->
<catch event='cancel'> <!-- do nothing -->
</catch>
<catch event='error.badfetch'>
<log>Error: Caught event: <value expr='_event'/>, <value expr='_message'/></log>
<log> Application is not accessible. Transferring the call to an agent. </log>
<prompt xml:lang="en-US">
<audio src="sysError1.wav">
A travel counselor will be with you shortly.
</audio>
</prompt>
<submit next="file:///opt/Avaya/ExperiencePortal/MPP/web/handlers/transfercall.vxml" method="post" />
<exit/>
</catch>
</language>
</defaults>
Transfercall.vxml is as below
<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<catch>
<log>Caught Event: <value expr="_event"/></log>
<exit/>
</catch>
<form id="transfercall">
<var name="dnis" expr="session.telephone.dnis"/>
<block>
<if cond="dnis=='205'">
<goto next="#T1"/>
<else/>
<goto next="#defaultvdn"/>
</if>
</block>
</form>
<form id="T1">
<transfer name="t1transfer" dest="tel:333" connecttimeout="5s" bridge="false"/>
</form>
<form id="defaultvdn">
<transfer name="xferdefaultvdn" dest="tel:333" connecttimeout="5s" bridge="false"/>
</form>
<exit/>
</vxml>
When I dial the number for the test app, the event handler catches the error, but the <submit> to the vxml to do the transfer fails to load the transfer vxml producing the following error from VB logs:
016-05-14 00:25:55,156|PAVB_03064|INFO|VB|61692|Session=aaep99-2016134185554-4|error.badfetch.http.404 URI:
file:///opt/Avaya/ExperiencePortal/MPP/web/handlers/transfercall.vxml|aaep99####
@2016-05-14 00:25:55,157|PAVB_03064|INFO|VB|61692|Session=aaep99-2016134185554-4|error.badfetch.http.404 URI:
file:///opt/Avaya/ExperiencePortal/MPP/web/handlers/transfercall.vxml|aaep99####
@2016-05-14 00:25:55,158|PAVB_03064|INFO|VB|61692|Session=aaep99-2016134185554-4|error.badfetch.http.404 URI:
file:///opt/Avaya/ExperiencePortal/MPP/web/handlers/transfercall.vxml|aaep99####
@2016-05-14 00:25:55,159|PAVB_03064|INFO|VB|61692|Session=aaep99-2016134185554-4|error.badfetch.http.404 URI:
file:///opt/Avaya/ExperiencePortal/MPP/web/handlers/transfercall.vxml|aaep99####
@2016-05-14 00:25:55,160|PAVB_03064|INFO|VB|61692|Session=aaep99-2016134185554-4|error.badfetch.http.404 URI:
file:///opt/Avaya/ExperiencePortal/MPP/web/handlers/transfercall.vxml|aaep99####
Please help on this :)