cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
62
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 27-02-2005 11:55:23 PM
Hi All,

We are planing on creating a large number of applications that would ideally take advantage of code re-use. What we would like to do is modularise the development of the applicaiton so for example we would have a credit card capture sub-dialog that we can jump to and from.

What I would like to do is to code a generic credit card capture sub-application, then have the freedom to jump to it mid-call from a main application, execute the credit card capture with a success or failure, and then jump back to the main application and continue the main call flow based on the result of the credit card capture.

My question is if this is possible. At the moment I can't see how this is, seeing as we only have application transfers and these transfers can't maintain the state of the originating application to revert back to.

Is this possible at all?? If it is it would help a lot, as it would allow us to modularise our development and save time and effort.

Of course I would also expect to be able to pass session information back and forward between the main dialog and the sub-dialog.

Cheers

Bernard

Subject: RE: Using Sub-dialog modules for modular coding
Replied by: null on 10-03-2005 03:39:02 AM
Hi Bernard,

You are correct regarding the current functionality of application to application transfer. Calling an Audium application via a VoiceXML subdialog should work for you. However, for the current version of Audium, the ability to call an Audium application by subdialog is dependent on the gateway adapter you are using. A gateway adapter that is specified for an application that is meant to be run as a subdialog has specific handling for events and hangup conditions. We have implemented this type of functionality on some browsers.

Once a subdialog version of the adapter is available, you will be able to copy any existing workspace into a separate application that is intended to be called as a subdialog. The only modification you would have to make to the application is to add an element at the beginning of the call flow to handle data passed to the application and an element(s) for application end conditions to deal with passing return values to the calling subdialog.

Additionally, we are investigating adding the ability to call any Audium application via vxml subdialog regardless of the gateway adapter in a future version of Call Services.

Regards,

Joe
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links