How to return from subdialog [message #869776] |
Fri, 04 May 2012 05:49  |
Eclipse User |
|
|
|
Dear all,
I have created a subdialog and i am calling that sub dialog from my main flow. I want to return back from the sub dialog to main flow once the subdialog is completed.
In vxml we can use return tag for returning back, but i am not able to do it through the modules in open voice xml 3.0 eclipse. Pleaseeeee some one help me in this.
|
|
|
|
|
|
Re: How to return from subdialog [message #870332 is a reply to message #870254] |
Mon, 07 May 2012 12:26   |
Eclipse User |
|
|
|
Vineet, it looks like you aren't trying to invoke a VXML subdialog, but
rather want to invoke the OpenVXML project "Recharge". With the version
of OpenVXML you're using, there are a couple of issues with this:
* Applications can't directly invoke other applications, but only
Application Fragments. Unfortunately, your project Recharge is an
Application, not an Application Fragment, and so you're going to need to
create this as a Fragment in order for this to work
* The subdialog module you're using is for invoking a static VXML
subdialog document (an entirely different thing -- this is a construct
specified by the VXML specification). To invoke an Application Fragment,
once it's created you'll find it in the Application Fragments list, in
the lower right-hand corner of your IDE -- just drag it onto your canvas.
I'd suggest you consider upgrading to the 4.0 codestream (there's
another recent message on this list which offers instructions on how to
do this) -- you'll find in the 4.0 codestream that what you're trying to
do will work just fine -- any application can invoke any other
application at well, with no restriction on how many layers deep this
can go (whereas what you're using now only lets Applications invoke
Application Fragments, so the depth of calls is firmly limited to 2).
There are upgraders built into 4.0 that will convert your projects over
the first time they're opened, but know that this is a one-way trip. If
you're going to do this, I'd strongly suggest making a copy of your work,
just in case.
good luck,
Randy
In <jo8hmv$cn5$1@xxxxxxxxe.org> vineet singh wrote:
> Hi Randy ,
>
> Are you able to find any problem with my configurations ?
>
|
|
|
|
|
|
Re: How to return from subdialog [message #871623 is a reply to message #870892] |
Mon, 14 May 2012 10:42  |
Eclipse User |
|
|
|
Hi Vineet--
You're still using the wrong dialog to invoke the application. The
dialog you're using is only for static VXML <subdialog> documents. You
need to add an instance of SubdialogFlow directly to your canvas and
replace the "Subdialog" block. You can either do this by right-clicking
on the canvas, and selecting SubdialogFlow from the list, or by closing
the Problems view at the bottom to reveal the rest of the Voice Pallet --
the very bottom of that is where the available applications are listed.
Aside from that, the rest of it looks pretty good.
Good luck!
Randy
In <jofs03$js5$1@xxxxxxxxe.org> vineet singh wrote:
> Hi Randy,
>
> Now I am trying subdialog on 4.0 version, but still the same problem
> when i call different application I am not able to return back to my
> main call flow from subdialog :( . I am ending the flow of my
> subdialog with return module but what I am expecting is not happening
> for me. For Testing I have created on main flow application (named as
> Testing) and from that calling subdialog application (names as
> SubdialogFlow). I am attaching the image of my subdialog configuration
> and main flow (MainFLow_subDialogConfig.png) , Subdialog application
> flow (subdialog.png) and the tomcat logs.
>
> Please help me in finding the problem in this
>
> Thanks :)
|
|
|
Powered by
FUDForum. Page generated in 0.09580 seconds