Message |
[+]
Avaya Orchestration Designer
» AEP Event Handlers using Application Variables, 08/04/2021 22:36:38
» Go to message
|
|
Thank you. I guess we can close this topic as resolved
|
|
[+]
Avaya Orchestration Designer
» AEP Event Handlers using Application Variables, 08/04/2021 14:45:16
» Go to message
|
|
Wilson, this is what the we did and it worked when we killed the AP Server in the middle of a call or it was DOA when the call arrived.
Asy issues that we are not seeing?
Event Handler:
<catch event=''>
<if cond='(_event != undefined) && (undefined != _message)'>
<log>Error: <value expr='_event'/>, <value expr='_message'/></log>
<else/>
<log>Error: <value expr='_event'/></log>
</if>
<prompt xml:lang="en-US">
<audio src="system_failed.wav">
The system is experiencing technical difficulties. Please try again later.
</audio>
</prompt>
<submit next="file:///opt/Avaya/ExperiencePortal/MPP/web/handlers/transfer1.vxml" method="post" />
....
*****************************
Transfer1.vxml
<?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>
<prompt xml:lang="en-US">
<audio src="Xfer_2.wav">
Please hold while we transfer your call to the next available customer service advocate.
</audio>
</prompt>
<if cond="dnis=='7001'" >
<goto next="#F_First_App"/>
<elseif cond="dnis=='7002'" />
<goto next="#F_Second_App"/>
<elseif cond="dnis=='7003'" />
<goto next="#F_Third_App"/>
<elseif cond="dnis=='7004'" />
<goto next="#F_Fourth_App"/>
<elseif cond="dnis=='7005'" />
<goto next="#F_Fifth_App"/>
<elseif cond="dnis=='7006'" />
<goto next="#F_Sixth_App"/>
<elseif cond="dnis=='7007'" />
<goto next="#F_Seventh_App"/>
<else/>
<goto next="#F_Default"/>
</if>
</block>
</form>
<form id="F_First_App">
<transfer name="T_First_App" dest="tel:6001" connecttimeout="5s" bridge="false" />
</form>
<form id="F_Second_App">
<transfer name="T_Second_App" dest="tel:6002" connecttimeout="5s" bridge="false" />
</form>
<form id="F_Third_App">
<transfer name="T_Third_App" dest="tel:6003" connecttimeout="5s" bridge="false" />
</form>
<form id="F_Fourth_App">
<transfer name="T_Fourth_App" dest="tel:6004" connecttimeout="5s" bridge="false" />
</form>
<form id="F_Fifth_App">
<transfer name="T_Fifth_App" dest="tel:6005" connecttimeout="5s" bridge="false" />
</form>
<form id="F_Sixth_App">
<transfer name="T_Sixth_App" dest="tel:6006" connecttimeout="5s" bridge="false" />
</form>
<form id="F_Seventh_App">
<transfer name="T_Seventh_App" dest="tel:6007" connecttimeout="5s" bridge="false" />
</form>
<form id="F_Default">
<transfer name="T_Default" dest="tel:6008" connecttimeout="5s" bridge="false" />
</form>
<exit/>
</vxml>
|
|
[+]
Avaya Orchestration Designer
» AEP Event Handlers using Application Variables, 07/04/2021 13:40:51
» Go to message
|
|
Wilson,
My developer said he is using the session object to get the DNIS value within the VXML event handler section and it seems to be the solution.
Can you please confirm that this is an good alternative as it seems to work. We will be testing on the prod system tomorrow.
FYI,
We will post the code after we confirm it works. but it seems that the "GOTO" command to execute the transfer.vxml subroutine file no longer works in V7 and we had to use "SUBMIT". Can you also confirm about this?
Thank you.
Mike
|
|
[+]
Avaya Orchestration Designer
» AEP Event Handlers using Application Variables, 01/04/2021 15:32:53
» Go to message
|
|
Thank you Wilson for your reply.
I understand that we need to modify the Event Handler on the MPP.
We are trying to pass the transfer VDN from the Application to the event handler. It needs to be a variable.
We are looking for sample code on the application as well as the event handler - or - a document that explains it.
I see many posts on this for a while ago, but I have not found anything for current AEP 7.0+
are we to use "session.avaya namespace properties" (telephone.DNIS) and create logic in the event handler to determine which of the 7 VDNs to transfer to based upon the DNIS... prefer not, because this creates seperate logic form the application for future support.
- or -
are we to set the "AvayaExitReason, AvayaExitInfo1, etc" properties from within the application so that the Error Handler can (transfer=AvayaExitReason1) and let the application maintain the logic and keep the event handler simple. ***PREFERRED***
- Or -
Is there a way to define our own ExitVDN variable
So, is there sample code that shows the right way to do this?
|
|
[+]
Avaya Orchestration Designer
» AEP Event Handlers using Application Variables, 01/04/2021 10:34:36
» Go to message
|
|
I am looking for a document or a response as to how to pass an "Exit VDN" from the application to an Event Handler upon system failure.
Currently we have an application that performs the same function for 5 different Lines of Business (LOB) based upon DNIS. We are experiencing a situation where the AEP flags a system error on retrieving a VXML page (network issue) and proceeds to the "DEFAULT" Event Handler that plays the default error message and then HANGS UP!
Since this is one application, that transfers to different LOBs based upon DNIS, doing a basic transfer within the event handler will not work because it is assigned to the application and therefore can only select 1 exit VDN.
SO I am looking to modify the Event Handler to get the EXIT VDN from a system / Session variable that the application can set for this to work correctly.
Thank you in advance for your help.
|
|