Author Message
YasinUNAL
Joined: Nov 12, 2013
Messages: 36
Offline
Is there any way to pass vdu variables in EDU from Avaya OD IVR application to another VXML application which is not Avaya OD IVR Application, or vise versa?
Customer will transfer some calls to another VXML application but this application supports only "aai" or "uui" methods to carry call information.

How can we pass the vdu variables in EDU to another nonAvaya VXML application?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
you can do a subdialog call to the non-OD VXML application and then pass the data as parameters.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
If it (the non-OD VXML applicatoin) only supports aai/uui then you will have to transfer the call to that application and put your data in the aai.
YasinUNAL
Joined: Nov 12, 2013
Messages: 36
Offline
How can we call a non-OD VXML application via using subdialog?
Is there any option to put our EDU data in the aai or uui?

Also how can we get data from non-OD VXML application into our OD VXML application?

Regards,
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
If you want to invoke a no-OD VXML application see

Avaya Aura® Orchestration Designer - Self Service > Orchestration Designer Developers' Guide > Speech applications > VXML subdialog management -> Importing a VXML subdialog as an Orchestration Designer reusable module

In the online OD help.

Procedure
On the File menu, click Import.
In the Import wizard, double-click Avaya OD Development.
Click Import VXML Subdialog as Reusable Module, and then click Next.
In the Import VXML Subdialog as Reusable Module wizard, on the Specify Import Details page, click Import VoiceXML subdialog from Web Archive (WAR) file, and then specify the .war file from which you want to import an Orchestration Designer reusable module or other VXML subdialogs.
Orchestration Designer automatically detects whether the .war file is of an Orchestration Designer reusable module or the .war file contains Nuance OSDM or NDM VXML subdialogs. Orchestration Designer cannot detect third-party VXML subdialogs, except Nuance OSDM and NDM, contained in the .war file.

Perform one of the following actions:
If the .war file contains an Orchestration Designer reusable module or contains Nuance OSDM or NDM VXML subdialogs, perform the following actions:

Click Next.
On the Verify Module Information page, verify the parameters of the Orchestration Designer reusable module, or Nuance OSDM or NDM VXML subdialogs that you want to import.
Click Finish.
If the .war file contains third-party VXML subdialogs, other than Nuance OSDM or NDM VXML subdialogs, perform the following actions:

In the Number of reusable dialogs contained in archive field, type the number of VXML subdialogs contained in the .war file.
Click Next.
On the Set information about this module page, in the topmost field, click a module, and then specify a module definition for the module.
The number of modules that the system displays in the topmost field depends on the number of VXML subdialogs that you specify in the Number of reusable dialogs contained in archive field.

You must specify module definitions for all the modules shown in the topmost field.

Click Finish.
Result
The system imports the Orchestration Designer reusable module and the VXML subdialogs as reusable modules in the <eclipse>/Orchestration Designer/Modules reusable modules directory, and shows the reusable modules in the form of module items under Modules in the Palette pane of the Call Flow Editor.

RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
As I said before to send AAI/UUI to a no-OD application you will need to do a call transfer to that application.
YasinUNAL
Joined: Nov 12, 2013
Messages: 36
Offline
If we need to do a call transfer to that nonAvaya VXML application, then how can we use reusable modüle?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
You cannot in the case of a transfer. When you transfer the call will not come back to the main application. BUT, you said that the external non-OD application only accepts data via aai.
YasinUNAL
Joined: Nov 12, 2013
Messages: 36
Offline
Yes, the External nonOD application supports aai and uui methods to pass call information.
I want to ask that : is it enough to use a subdialog to call nonOD application?
In case of using subdialog can we use aai or uui methods to pass vdu variables to that nonOD application?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
When using a subdialog you pass parameters. You cannot use aai to pas data in an a subdialog call.
YasinUNAL
Joined: Nov 12, 2013
Messages: 36
Offline
Then if we decide to use subdialog, we can only use "uui" to pass the parameters. right?

If we make a call transfer to nonOD VXML application, what is the method to pass the parameters?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
UUI/AAI data is only used when a call is transferred to a different phone number/location.

Below is an example of the VXML generated for a subdialog call to invoke another module and it passes one parameter.


<subdialog name="untitledFTPSubdialogModuleOne1" src="/FTPSubdialogModuleOne/Start?___DDSESSIONID=56C0F39F3DC178125AEA54D7DD6A8CCA%3A%2FFTPSubdialogMainSubdialog&sagecall=english&sagecfhport=56001&sagecfhhost=A8100174" method="get">
<param name="inputParameter" value=" in main "/>
<filled>
<assign name="untitledFTPSubdialogModuleOne1___untitledOutput2" expr="untitledFTPSubdialogModuleOne1.untitledOutput2"/>
</filled>
</subdialog>



The "parameters" are defined by the application/module being called. When you invoke an external subdialog you first have to create a module definition using the Import. See the on-line help

Avaya Aura® Orchestration Designer - Self Service > Orchestration Designer Developers' Guide > Speech applications > VXML subdialog management
Import VXML Subdialog as Reusable Module wizard: Specify Import Details page field description

and

Avaya Aura® Orchestration Designer - Self Service > Orchestration Designer Developers' Guide > Speech applications > VXML subdialog management
Importing a VXML subdialog as an Orchestration Designer reusable module
HuseyinAksu2
Joined: Dec 26, 2013
Messages: 99
Offline
Hi,

We are working with Yasin Unal on same project and so I have some additional questions about the same subject.

As far as I understood, there is only way to pass variables from Avaya OD app to non-avaya vxml app, we have to import non-avaya app to OD platform. Is that right ?

Secondly, It is not clear that how non-avaya vxml application could able to call an OD application and also pass some parameters ? Could you please give more detail ?

Lastly, could you please send me some sample applications that works in similar way ?

Thank you.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
On the OD app calling non-OD app issue, you don't have to import the non-OD app into the OD environment. Importing it only makes it easier to use such that it shows up in the palette of the flow editor and can be drag-dropped into the flow.
Instead you can use a VXML servlet and add code to produce the <subdialog> tag and the <parameter> tags for the corresponding tags. These are documented in the vxml specs.
We don't support non-OD app calling OD apps since OD apps are designed to be launched from EP.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
I should've made it clearer. You could call the OD app from non-OD app if the non-OD is a subdialog, which is launch by the OD main app. The transitional non-OD app would have to pass the session id (___DDSESSIONID) to the OD app it's calling. The sample was given by Ross earlier:

<subdialog name="untitledFTPSubdialogModuleOne1" src="/FTPSubdialogModuleOne/Start?___DDSESSIONID=56C0F39F3DC178125AEA54D7DD6A8CCA%3A%2FFTPSubdialogMainSubdialog&sagecall=english&sagecfhport=56001&sagecfhhost=A8100174" method="get">
2
<param name="inputParameter" value=" in main "/>
3
<filled>
4
<assign name="untitledFTPSubdialogModuleOne1___untitledOutput2" expr="untitledFTPSubdialogModuleOne1.untitledOutput2"/>
5
</filled>
6
</subdialog>
Go to:   
Mobile view