Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Voicetools » How to return from subdialog(How to return from subdialog)
How to return from subdialog [message #869776] Fri, 04 May 2012 09:49 Go to next message
vineet singh is currently offline vineet singhFriend
Messages: 8
Registered: April 2012
Junior Member
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 #869916 is a reply to message #869776] Fri, 04 May 2012 19:37 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
Vineet, would you mind posting the VXML for the subdialog you're calling,
and a screenshot of your subdialog configuration in OpenVXML?

Thanks,
Randy

In <jo08o2$v8l$1@xxxxxxxxe.org> vineet singh wrote:
> 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 #870084 is a reply to message #869916] Sun, 06 May 2012 09:57 Go to previous messageGo to next message
vineet singh is currently offline vineet singhFriend
Messages: 8
Registered: April 2012
Junior Member
Hi Randy,

Thanks for your reply Randy. I am attaching you the screen shot of my subdialog configuration ,screen shot of call flow of my subdialog module and also the tomcat logs where you can find the VXML . I might have done some mistakes , as i am very new to this. Please help and guide me in this.

Thanks in advance Smile

Re: How to return from subdialog [message #870254 is a reply to message #870084] Mon, 07 May 2012 13:11 Go to previous messageGo to next message
vineet singh is currently offline vineet singhFriend
Messages: 8
Registered: April 2012
Junior Member
Hi Randy ,

Are you able to find any problem with my configurations ?
Re: How to return from subdialog [message #870332 is a reply to message #870254] Mon, 07 May 2012 16:26 Go to previous messageGo to next message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
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 #870626 is a reply to message #870332] Wed, 09 May 2012 06:57 Go to previous messageGo to next message
vineet singh is currently offline vineet singhFriend
Messages: 8
Registered: April 2012
Junior Member
Hi Randy,

Thanks for your help, its wrking for me now if I use fragments Smile . As you have suggested to use 4.0 version , I downlaoded that plugin and tried to create one simple application. Now I am facing new problem when I call my application url deployed in tomcat (version 5.5.17). I tried to hit this url from the browser and I am getting 403 error Access to the specified resource has been forbidden.
Do we need to do some config change in tomcat-user.xml or I am doing some thing wrong ? I deployed my application in similar way as I used to do in version 3.0. Please guide me on this.

Thanks Smile
Re: How to return from subdialog [message #870697 is a reply to message #870626] Wed, 09 May 2012 11:28 Go to previous messageGo to next message
vineet singh is currently offline vineet singhFriend
Messages: 8
Registered: April 2012
Junior Member
Hi Randy,

I am able to solve my above url problem. I just now founded that in 4.0 version we need to add the Begin module name also in the url like below.

ip:port/localhost:8081/Testing/Testing/Begin

I m still struggling in few of the cases. I will create a separate thread for that Smile


Re: How to return from subdialog [message #870892 is a reply to message #870697] Thu, 10 May 2012 07:50 Go to previous messageGo to next message
vineet singh is currently offline vineet singhFriend
Messages: 8
Registered: April 2012
Junior Member
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 Sad . 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 Smile

Re: How to return from subdialog [message #871623 is a reply to message #870892] Mon, 14 May 2012 14:42 Go to previous message
Randy Childers is currently offline Randy ChildersFriend
Messages: 121
Registered: July 2009
Senior Member
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 :)
Previous Topic:Doubt in Advanced Transfer and WebService
Next Topic:Using a custom Voice Formatter
Goto Forum:
  


Current Time: Thu Mar 28 08:22:30 GMT 2024

Powered by FUDForum. Page generated in 0.03519 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top