Home » Archived » Voicetools » openvxml vtp 3.0. I need help
| |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #19396 is a reply to message #19304] |
Wed, 01 October 2008 17:15 |
Randy Childers Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Hi Alejandro--
You're almost there. What you're seeing is just the initialization page,
which is the first thing you'll see for any voice application. Since you're
looking at things through a web browser, you'll need to help the process
along manually to see the rest of it.
In the response that you got when you first invoked the application, take
special note of the submit tag
<submit
next=" /Alex/-/next;jsessionid=BA1D0604EC17B37AE750BE99BFDC50F4?cbb 0fc79382a4
f039e6f8eb5fef8b1cd=success.filled" method="get" namelist="ANI DNIS" />
Specifically, it's the "next" parameter you're interested in. If you copy
everything in that parameter and replace the war/app part of your URL,
you'll get this:
http://localhost:8081/Alex/-/next;jsessionid=BA1D0604EC17B37AE750BE99BFDC50F
4?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
If you paste that in as the next address in the browser, you'll see the next
page (which, according to you description, would be the wav file).
As for calling your application through Prophecy via a Sip phone, no
problem, I've done it many times. You'll need to configure the application
through Prophecy's Administration interface. Click the Call Routing tab,
then use one of the Routes. Provide an ID (you'll use this to make the SIP
call). Specify VXML as the type, and then put the initial application URL
in the URL field. Be sure and click the Save Changes button at the bottom
when you're done. To make the call, you'll start your SIP phone and make a
SIP call to <ID>@<prophecy IP>. If you called your application hello, and
everything was running on your local box, then you could dial
hello@localhost.
I hope this helps.
Good luck,
Randy Childers
OpenMethods
On 9/26/08 3:30 PM, in article
79dcc9ec9229841edf0d17595aa78002$1@www.eclipse.org, "Alejandro Novoa"
<nvooaj@gmail.com> wrote:
> Hello all, I have a problem apparently. I have an application made in
> openVXML(I download VTP-3.0 from eclipse project), is a very simple, but
> apparently I have problems with the export of my application to file a war
> once it has been exported, I take the war and file in the directory I
> leave my webapp Tomcat installation (my version apache-tomcat-5.5.26 and I
> also tested with the version apache-tomcat-6.0.18). will automatically
> unzip the file and then war in my web browser I write the url:
> http://localhost:8081/ <warfile> / <projectname>.
>
> in my application designed openVXML has a playPrompt using a wav sound file
>
> module begin -> module PlayPrompt -> module endcall
>
> in my web browser I see the following code:
>
> <? xml version = "1.0"?>
> - <vxml Xmlns="http://www.w3.org/2001/vxml" version="2.0">
> - <form Id="InitialForm" scope="document">
> <var name="ANI" expr="" />
> <var name="DNIS" expr="" />
> - <block Name="InitialBlock">
> name="ANI" expr="session.connection.remote.uri" /> <assign
> name="DNIS" expr="session.connection.local.uri" /> <assign
> <submit
> next=" /Alex/-/next;jsessionid=BA1D0604EC17B37AE750BE99BFDC50F4?cbb 0fc79382a4f0
> 39e6f8eb5fef8b1cd=success.filled"
> method="get" namelist="ANI DNIS" />
> </ block>
> </ form>
> </ VXML>
>
> apparently this bad, if anyone can help me I would appreciate.
>
> Also if someone has experience with openvxml and voxeo Prophecy to call my
> application from sip the phone.
>
|
|
| |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #19488 is a reply to message #19442] |
Thu, 02 October 2008 13:56 |
Eclipse User |
|
|
|
Originally posted by: gus273.yahoo.com
Hello all,
I seem to be having the same problem described by Alejandro. I've made up a
very simple application consisting of the following 3 blocks:
a) Begin.
b) PlayPrompt (to play a pre-recorded VOX file).
c) EndCall.
I generated the WAR file and deployed it to a Tomcat server.
I can navigate successfully to the first VXML page, using the following URL:
http://localhost:8080/VxmlTests/Test1
.... and the resulting VXML page is:
<?xml version="1.0"?>
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
<form id="InitialForm" scope="document">
<var name="ANI" expr=""/>
<var name="DNIS" expr=""/>
<block name="InitialBlock">
<assign name="ANI" expr="session.connection.remote.uri"/>
<assign name="DNIS" expr="session.connection.local.uri"/>
<submit
next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled "
method="get" namelist="ANI DNIS"/>
</block>
</form>
</vxml>
So far, so good. But...
.... when I try to navigate to the next VXML page, using the following URL:
http://localhost:8080/VxmlTests/-/next ;jsessionid=FF28916879E31933A8302DC3AA474538?cbb0fc79382a4f0 39e6f8eb5fef8b1cd=success.filled
.... I always receive the following VXML page:
<?xml version="1.0"?>
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
<form id="EndMessageForm" scope="document">
<block name="EndMessageBlock">
<disconnect/>
</block>
</form>
</vxml>
Instead of this VMXL page, I was expecting a VXML page with instructions to
carry out the pre-recorded VOX file playback, as instructed in the
"PlayPrompt" block of the graphical application.
I'm using the following software:
- openVXML-3.0-windows-installer.exe (160 MBs).
- jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
- apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
On the same machine I have installed:
- prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
I'm available to provide any additional information that may be required.
Any help will be very much appreciated! Thanks in advance,
- Gustavo.
"Alejandro Novoa" <nvooaj@gmail.com> wrote in message
news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
> Hi Randy, thanks for your answer.
>
> When you hit the next line:
> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>
>
> as you say what you like this:
> http://localhost:8081/Alex/-/next; jsessionid =
> BA1D0604EC17B37AE750BE99BFDC50F
> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
> in the web browser that appears:
>
> <vxml version="2.0">
> −
> <form id="EndMessageForm" scope="document">
> −
> <block name="EndMessageBlock">
> <disconnect/>
> </block>
> </form>
> </vxml>
>
>
> really is not like your shows, do not actually what the problem is.
>
> - I get off from openmethods the openvxml3.0
> - I have ran a tomcat (apache-tomcat-5.5.26).
> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
> automatically deploy
> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>
|
|
|
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #19623 is a reply to message #19488] |
Mon, 06 October 2008 21:23 |
Randy Childers Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Gustavo, everything looks good with your setup except the Tomcat version --
we generally use 5.5, though I don't really think that's your problem. The
most important part is the Java version, which you've got. Please send me
your .war file and I'll take a look at it myself.
Thanks,
Randy Childers
OpenMethods
On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
<gus273@yahoo.com> wrote:
> Hello all,
>
> I seem to be having the same problem described by Alejandro. I've made up a
> very simple application consisting of the following 3 blocks:
> a) Begin.
> b) PlayPrompt (to play a pre-recorded VOX file).
> c) EndCall.
>
> I generated the WAR file and deployed it to a Tomcat server.
>
> I can navigate successfully to the first VXML page, using the following URL:
> http://localhost:8080/VxmlTests/Test1
>
> ... and the resulting VXML page is:
>
>
> <?xml version="1.0"?>
> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
> <form id="InitialForm" scope="document">
> <var name="ANI" expr=""/>
> <var name="DNIS" expr=""/>
> <block name="InitialBlock">
> <assign name="ANI" expr="session.connection.remote.uri"/>
> <assign name="DNIS" expr="session.connection.local.uri"/>
> <submit
> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7938
> 2a4f039e6f8eb5fef8b1cd=success.filled"
> method="get" namelist="ANI DNIS"/>
> </block>
> </form>
> </vxml>
>
> So far, so good. But...
> ... when I try to navigate to the next VXML page, using the following URL:
>
> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47
> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>
> ... I always receive the following VXML page:
>
>
> <?xml version="1.0"?>
> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
> <form id="EndMessageForm" scope="document">
> <block name="EndMessageBlock">
> <disconnect/>
> </block>
> </form>
> </vxml>
>
> Instead of this VMXL page, I was expecting a VXML page with instructions to
> carry out the pre-recorded VOX file playback, as instructed in the
> "PlayPrompt" block of the graphical application.
>
> I'm using the following software:
> - openVXML-3.0-windows-installer.exe (160 MBs).
> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>
> On the same machine I have installed:
> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>
> I'm available to provide any additional information that may be required.
> Any help will be very much appreciated! Thanks in advance,
> - Gustavo.
>
>
> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>> Hi Randy, thanks for your answer.
>>
>> When you hit the next line:
>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>
>>
>> as you say what you like this:
>> http://localhost:8081/Alex/-/next; jsessionid =
>> BA1D0604EC17B37AE750BE99BFDC50F
>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>> in the web browser that appears:
>>
>> <vxml version="2.0">
>> −
>> <form id="EndMessageForm" scope="document">
>> −
>> <block name="EndMessageBlock">
>> <disconnect/>
>> </block>
>> </form>
>> </vxml>
>>
>>
>> really is not like your shows, do not actually what the problem is.
>>
>> - I get off from openmethods the openvxml3.0
>> - I have ran a tomcat (apache-tomcat-5.5.26).
>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>> automatically deploy
>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>
>
>
|
|
| |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #19714 is a reply to message #19623] |
Tue, 07 October 2008 00:12 |
Eclipse User |
|
|
|
Originally posted by: gus273.yahoo.com
Hi Randy,
I've just sent you an email with information for downloading the .war file
(8 MBs).
Thank you very much for your help!
- Gustavo.
"Randy Childers" <randy@openmethods.com> wrote in message
news:C50FEBFF.2CFD%randy@openmethods.com...
> Gustavo, everything looks good with your setup except the Tomcat
> version --
> we generally use 5.5, though I don't really think that's your problem.
> The
> most important part is the Java version, which you've got. Please send me
> your .war file and I'll take a look at it myself.
>
> Thanks,
> Randy Childers
> OpenMethods
>
>
>
> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
> <gus273@yahoo.com> wrote:
>
>> Hello all,
>>
>> I seem to be having the same problem described by Alejandro. I've made up
>> a
>> very simple application consisting of the following 3 blocks:
>> a) Begin.
>> b) PlayPrompt (to play a pre-recorded VOX file).
>> c) EndCall.
>>
>> I generated the WAR file and deployed it to a Tomcat server.
>>
>> I can navigate successfully to the first VXML page, using the following
>> URL:
>> http://localhost:8080/VxmlTests/Test1
>>
>> ... and the resulting VXML page is:
>>
>>
>> <?xml version="1.0"?>
>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>> <form id="InitialForm" scope="document">
>> <var name="ANI" expr=""/>
>> <var name="DNIS" expr=""/>
>> <block name="InitialBlock">
>> <assign name="ANI" expr="session.connection.remote.uri"/>
>> <assign name="DNIS" expr="session.connection.local.uri"/>
>> <submit
>> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7938
>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>> method="get" namelist="ANI DNIS"/>
>> </block>
>> </form>
>> </vxml>
>>
>> So far, so good. But...
>> ... when I try to navigate to the next VXML page, using the following
>> URL:
>>
>> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47
>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>
>> ... I always receive the following VXML page:
>>
>>
>> <?xml version="1.0"?>
>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>> <form id="EndMessageForm" scope="document">
>> <block name="EndMessageBlock">
>> <disconnect/>
>> </block>
>> </form>
>> </vxml>
>>
>> Instead of this VMXL page, I was expecting a VXML page with instructions
>> to
>> carry out the pre-recorded VOX file playback, as instructed in the
>> "PlayPrompt" block of the graphical application.
>>
>> I'm using the following software:
>> - openVXML-3.0-windows-installer.exe (160 MBs).
>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>
>> On the same machine I have installed:
>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>
>> I'm available to provide any additional information that may be required.
>> Any help will be very much appreciated! Thanks in advance,
>> - Gustavo.
>>
>>
>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>> Hi Randy, thanks for your answer.
>>>
>>> When you hit the next line:
>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>
>>>
>>> as you say what you like this:
>>> http://localhost:8081/Alex/-/next; jsessionid =
>>> BA1D0604EC17B37AE750BE99BFDC50F
>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>> in the web browser that appears:
>>>
>>> <vxml version="2.0">
>>> −
>>> <form id="EndMessageForm" scope="document">
>>> −
>>> <block name="EndMessageBlock">
>>> <disconnect/>
>>> </block>
>>> </form>
>>> </vxml>
>>>
>>>
>>> really is not like your shows, do not actually what the problem is.
>>>
>>> - I get off from openmethods the openvxml3.0
>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>> automatically deploy
>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>
>>
>>
>
|
|
| | | |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #19928 is a reply to message #19779] |
Wed, 08 October 2008 17:42 |
Eclipse User |
|
|
|
Originally posted by: gus273.yahoo.com
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and
configuring Prophecy to hit the app via SIP)Hi Randy,
Thank you very much for your help and for trying the ".war" file I had
generated.
After knowing (per your test result) that the problem was not related to the
".war" file, I decided to focus my attention on Tomcat's generation of the
VXML pages. Luca's post provided me with a hint that the problem might be
related to some international setting affecting Tomcat's generation of the
VXML pages. (I was performing my tests on a system with Latin-american
regional settings).
After much trial and error, I've finally been able to resolve the problem by
doing the following on the system where Tomcat was running:
1. Click Start, click Run, type regedit, and then click OK.
2. Locate the following registry key:
HKEY_USERS\.Default\Control Panel\International
3. Right-click Locale, and then click Modify.
4. In the Value data box, type 00000409, and then click OK.
5. Quit Registry Editor.
6. Restart the "Apache Tomcat" service.
7. Retry navigation of the VXML pages (make sure you are getting the VXML
pages from Tomcat, and not from the browser's cache).
Note: The "Apache Tomcat" service on my system is running on the "Local
System account" (default Tomcat service installation on Windows).
I hope this information is helpful to everyone else having this same
problem.
Best regards!
- Gustavo.
"Randy Childers" <randy@openmethods.com> wrote in message
news:C510FB04.2D23%randy@openmethods.com...
Hi Gustavo--
I've just taken a look at your app, and things looked fine for me. Here's
what I saw:
http://localhost:8080/VxmlTests/Test1
<vxml version="2.0">
<form id="InitialForm" scope="document">
<var name="ANI" expr=""/>
<var name="DNIS" expr=""/>
<block name="InitialBlock">
<assign name="ANI" expr="session.connection.remote.uri"/>
<assign name="DNIS" expr="session.connection.local.uri"/>
<submit
next=" /VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0C3A A?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled "
method="get" namelist="ANI DNIS"/>
</block>
</form>
</vxml>
http://localhost:8080/VxmlTests/-/next ;jsessionid=F481020D504EA4990A3F754BA9F0C3AA?cbb0fc79382a4f0 39e6f8eb5fef8b1cd=success.filled
<vxml version="2.0">
<form id="OutputMessageForm" scope="document">
<property name="bargein" value="false"/>
<block name="OutputMessageBlock">
<prompt bargein="false" xml:lang="en-US">
<audio src="/VxmlTests/-/resources/Susan-EnUS/Welcome.vox"/>
</prompt>
<goto next="/VxmlTests/-/next"/>
</block>
</form>
<catch event="connection.disconnect.hangup">
<goto next="/VxmlTests/-/abort"/>
</catch>
</vxml>
Be aware that one of the ways session is tracked is using cookies - I
generally completely shut down the browser between tests to clear anything
residual out from the last test. Please give this a try and let me know if
you see anything different.
Good luck,
Randy
On 10/6/08 7:12 PM, in article gce9h2$phd$1@build.eclipse.org, "Gustavo"
<gus273@yahoo.com> wrote:
> Hi Randy,
> I've just sent you an email with information for downloading the .war file
> (8 MBs).
> Thank you very much for your help!
> - Gustavo.
>
> "Randy Childers" <randy@openmethods.com> wrote in message
> news:C50FEBFF.2CFD%randy@openmethods.com...
>> Gustavo, everything looks good with your setup except the Tomcat
>> version --
>> we generally use 5.5, though I don't really think that's your problem.
>> The
>> most important part is the Java version, which you've got. Please send
>> me
>> your .war file and I'll take a look at it myself.
>>
>> Thanks,
>> Randy Childers
>> OpenMethods
>>
>>
>>
>> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
>> <gus273@yahoo.com> wrote:
>>
>>> Hello all,
>>>
>>> I seem to be having the same problem described by Alejandro. I've made
>>> up
>>> a
>>> very simple application consisting of the following 3 blocks:
>>> a) Begin.
>>> b) PlayPrompt (to play a pre-recorded VOX file).
>>> c) EndCall.
>>>
>>> I generated the WAR file and deployed it to a Tomcat server.
>>>
>>> I can navigate successfully to the first VXML page, using the following
>>> URL:
>>> http://localhost:8080/VxmlTests/Test1
>>>
>>> ... and the resulting VXML page is:
>>>
>>>
>>> <?xml version="1.0"?>
>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>> <form id="InitialForm" scope="document">
>>> <var name="ANI" expr=""/>
>>> <var name="DNIS" expr=""/>
>>> <block name="InitialBlock">
>>> <assign name="ANI" expr="session.connection.remote.uri"/>
>>> <assign name="DNIS" expr="session.connection.local.uri"/>
>>> <submit
>>> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc79
>>> 38
>>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>>> method="get" namelist="ANI DNIS"/>
>>> </block>
>>> </form>
>>> </vxml>
>>>
>>> So far, so good. But...
>>> ... when I try to navigate to the next VXML page, using the following
>>> URL:
>>>
>>> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA
>>> 47
>>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>>
>>> ... I always receive the following VXML page:
>>>
>>>
>>> <?xml version="1.0"?>
>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>> <form id="EndMessageForm" scope="document">
>>> <block name="EndMessageBlock">
>>> <disconnect/>
>>> </block>
>>> </form>
>>> </vxml>
>>>
>>> Instead of this VMXL page, I was expecting a VXML page with instructions
>>> to
>>> carry out the pre-recorded VOX file playback, as instructed in the
>>> "PlayPrompt" block of the graphical application.
>>>
>>> I'm using the following software:
>>> - openVXML-3.0-windows-installer.exe (160 MBs).
>>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>>
>>> On the same machine I have installed:
>>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>>
>>> I'm available to provide any additional information that may be
>>> required.
>>> Any help will be very much appreciated! Thanks in advance,
>>> - Gustavo.
>>>
>>>
>>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>>> Hi Randy, thanks for your answer.
>>>>
>>>> When you hit the next line:
>>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>
>>>>
>>>> as you say what you like this:
>>>> http://localhost:8081/Alex/-/next; jsessionid =
>>>> BA1D0604EC17B37AE750BE99BFDC50F
>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>> in the web browser that appears:
>>>>
>>>> <vxml version="2.0">
>>>> −
>>>> <form id="EndMessageForm" scope="document">
>>>> −
>>>> <block name="EndMessageBlock">
>>>> <disconnect/>
>>>> </block>
>>>> </form>
>>>> </vxml>
>>>>
>>>>
>>>> really is not like your shows, do not actually what the problem is.
>>>>
>>>> - I get off from openmethods the openvxml3.0
>>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>>> automatically deploy
>>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>>
>>>
>>>
>>
>
>
|
|
|
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #19958 is a reply to message #19928] |
Wed, 08 October 2008 22:38 |
Randy Childers Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Thanks, Gustavo--
Yes, that's pretty much it. What's happening is that when the app is
served, the OS's local language setting on the webserver is used to attempt
to dynamically select the default language used for the application. In all
of the apps I looked at, English was the language used in the Voice
Formatter project, but if the language on the webserver wasn't English then
the dynamic language selection mechanism I just mentioned would fail, which
is why the app wouldn't get past the initial page fetch.
Short of updating openVXML to allow you to select the default language
explicitly when the application is exported (stay tuned!), there are a few
workarounds for this. Gustavo's suggestion below will likely work (I only
say that because I haven't tried it myself). Another option is to create a
language formatter for the target language (this isn't as hard as it might
sound -- we have a tutorial doc that walks you through the process, if
you're a java programmer). Probably the least appealing solution would be
to set up a webserver that's configured with English as the local language
and serve the app from there.
Of the above, the best solution is just to take some time to create the
language formatter for your language -- and then upload it to the VTP for
the greater good, in the same spirit in which we've provided openVXML. :)
If anyone wants to give this a shot, please email me for the language
formatter document.
Randy Childers
OpenMethods
On 10/8/08 12:42 PM, in article gcirf0$jsq$1@build.eclipse.org, "Gustavo"
<gus273@yahoo.com> wrote:
> Re: openvxml vtp 3.0. I need help (seeing the app in a browser and
> configuring Prophecy to hit the app via SIP)Hi Randy,
>
> Thank you very much for your help and for trying the ".war" file I had
> generated.
>
> After knowing (per your test result) that the problem was not related to the
> ".war" file, I decided to focus my attention on Tomcat's generation of the
> VXML pages. Luca's post provided me with a hint that the problem might be
> related to some international setting affecting Tomcat's generation of the
> VXML pages. (I was performing my tests on a system with Latin-american
> regional settings).
>
> After much trial and error, I've finally been able to resolve the problem by
> doing the following on the system where Tomcat was running:
>
> 1. Click Start, click Run, type regedit, and then click OK.
> 2. Locate the following registry key:
> HKEY_USERS\.Default\Control Panel\International
> 3. Right-click Locale, and then click Modify.
> 4. In the Value data box, type 00000409, and then click OK.
> 5. Quit Registry Editor.
> 6. Restart the "Apache Tomcat" service.
> 7. Retry navigation of the VXML pages (make sure you are getting the VXML
> pages from Tomcat, and not from the browser's cache).
>
> Note: The "Apache Tomcat" service on my system is running on the "Local
> System account" (default Tomcat service installation on Windows).
>
> I hope this information is helpful to everyone else having this same
> problem.
>
> Best regards!
> - Gustavo.
>
>
> "Randy Childers" <randy@openmethods.com> wrote in message
> news:C510FB04.2D23%randy@openmethods.com...
> Hi Gustavo--
>
> I've just taken a look at your app, and things looked fine for me. Here's
> what I saw:
>
> http://localhost:8080/VxmlTests/Test1
> <vxml version="2.0">
> <form id="InitialForm" scope="document">
> <var name="ANI" expr=""/>
> <var name="DNIS" expr=""/>
> <block name="InitialBlock">
> <assign name="ANI" expr="session.connection.remote.uri"/>
> <assign name="DNIS" expr="session.connection.local.uri"/>
> <submit
> next=" /VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0C3A A?cbb0fc7938
> 2a4f039e6f8eb5fef8b1cd=success.filled"
> method="get" namelist="ANI DNIS"/>
> </block>
> </form>
> </vxml>
>
> http://localhost:8080/VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0
> C3AA?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
> <vxml version="2.0">
> <form id="OutputMessageForm" scope="document">
> <property name="bargein" value="false"/>
> <block name="OutputMessageBlock">
> <prompt bargein="false" xml:lang="en-US">
> <audio src="/VxmlTests/-/resources/Susan-EnUS/Welcome.vox"/>
> </prompt>
> <goto next="/VxmlTests/-/next"/>
> </block>
> </form>
> <catch event="connection.disconnect.hangup">
> <goto next="/VxmlTests/-/abort"/>
> </catch>
> </vxml>
>
>
> Be aware that one of the ways session is tracked is using cookies - I
> generally completely shut down the browser between tests to clear anything
> residual out from the last test. Please give this a try and let me know if
> you see anything different.
>
> Good luck,
> Randy
>
>
>
>
> On 10/6/08 7:12 PM, in article gce9h2$phd$1@build.eclipse.org, "Gustavo"
> <gus273@yahoo.com> wrote:
>
>> Hi Randy,
>> I've just sent you an email with information for downloading the .war file
>> (8 MBs).
>> Thank you very much for your help!
>> - Gustavo.
>>
>> "Randy Childers" <randy@openmethods.com> wrote in message
>> news:C50FEBFF.2CFD%randy@openmethods.com...
>>> Gustavo, everything looks good with your setup except the Tomcat
>>> version --
>>> we generally use 5.5, though I don't really think that's your problem.
>>> The
>>> most important part is the Java version, which you've got. Please send
>>> me
>>> your .war file and I'll take a look at it myself.
>>>
>>> Thanks,
>>> Randy Childers
>>> OpenMethods
>>>
>>>
>>>
>>> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
>>> <gus273@yahoo.com> wrote:
>>>
>>>> Hello all,
>>>>
>>>> I seem to be having the same problem described by Alejandro. I've made
>>>> up
>>>> a
>>>> very simple application consisting of the following 3 blocks:
>>>> a) Begin.
>>>> b) PlayPrompt (to play a pre-recorded VOX file).
>>>> c) EndCall.
>>>>
>>>> I generated the WAR file and deployed it to a Tomcat server.
>>>>
>>>> I can navigate successfully to the first VXML page, using the following
>>>> URL:
>>>> http://localhost:8080/VxmlTests/Test1
>>>>
>>>> ... and the resulting VXML page is:
>>>>
>>>>
>>>> <?xml version="1.0"?>
>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>> <form id="InitialForm" scope="document">
>>>> <var name="ANI" expr=""/>
>>>> <var name="DNIS" expr=""/>
>>>> <block name="InitialBlock">
>>>> <assign name="ANI" expr="session.connection.remote.uri"/>
>>>> <assign name="DNIS" expr="session.connection.local.uri"/>
>>>> <submit
>>>>
next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7 >>>>
9
>>>> 38
>>>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>>>> method="get" namelist="ANI DNIS"/>
>>>> </block>
>>>> </form>
>>>> </vxml>
>>>>
>>>> So far, so good. But...
>>>> ... when I try to navigate to the next VXML page, using the following
>>>> URL:
>>>>
>>>>
http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3A>>>>
A
>>>> 47
>>>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>>>
>>>> ... I always receive the following VXML page:
>>>>
>>>>
>>>> <?xml version="1.0"?>
>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>> <form id="EndMessageForm" scope="document">
>>>> <block name="EndMessageBlock">
>>>> <disconnect/>
>>>> </block>
>>>> </form>
>>>> </vxml>
>>>>
>>>> Instead of this VMXL page, I was expecting a VXML page with instructions
>>>> to
>>>> carry out the pre-recorded VOX file playback, as instructed in the
>>>> "PlayPrompt" block of the graphical application.
>>>>
>>>> I'm using the following software:
>>>> - openVXML-3.0-windows-installer.exe (160 MBs).
>>>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>>>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>>>
>>>> On the same machine I have installed:
>>>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>>>
>>>> I'm available to provide any additional information that may be
>>>> required.
>>>> Any help will be very much appreciated! Thanks in advance,
>>>> - Gustavo.
>>>>
>>>>
>>>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>>>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>>>> Hi Randy, thanks for your answer.
>>>>>
>>>>> When you hit the next line:
>>>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>>
>>>>>
>>>>> as you say what you like this:
>>>>> http://localhost:8081/Alex/-/next; jsessionid =
>>>>> BA1D0604EC17B37AE750BE99BFDC50F
>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>> in the web browser that appears:
>>>>>
>>>>> <vxml version="2.0">
>>>>> −
>>>>> <form id="EndMessageForm" scope="document">
>>>>> −
>>>>> <block name="EndMessageBlock">
>>>>> <disconnect/>
>>>>> </block>
>>>>> </form>
>>>>> </vxml>
>>>>>
>>>>>
>>>>> really is not like your shows, do not actually what the problem is.
>>>>>
>>>>> - I get off from openmethods the openvxml3.0
>>>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>>>> automatically deploy
>>>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>>>
>>>>
>>>>
>>>
>>
>>
>
|
|
|
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #20044 is a reply to message #19958] |
Thu, 09 October 2008 13:22 |
Eclipse User |
|
|
|
Originally posted by: gus273.yahoo.com
Hi Randy,
Thanks for the detailed information. It would be great if OpenVXML would
optionally allow the application designer to select the default language
explicitly when the application is exported. I'll stay tuned!
Thanks again for your help!
Best regards,
- Gustavo.
"Randy Childers" <randy@openmethods.com> wrote in message
news:C512A0A5.2D7E%randy@openmethods.com...
> Thanks, Gustavo--
>
> Yes, that's pretty much it. What's happening is that when the app is
> served, the OS's local language setting on the webserver is used to
> attempt
> to dynamically select the default language used for the application. In
> all
> of the apps I looked at, English was the language used in the Voice
> Formatter project, but if the language on the webserver wasn't English
> then
> the dynamic language selection mechanism I just mentioned would fail,
> which
> is why the app wouldn't get past the initial page fetch.
>
> Short of updating openVXML to allow you to select the default language
> explicitly when the application is exported (stay tuned!), there are a few
> workarounds for this. Gustavo's suggestion below will likely work (I only
> say that because I haven't tried it myself). Another option is to create
> a
> language formatter for the target language (this isn't as hard as it might
> sound -- we have a tutorial doc that walks you through the process, if
> you're a java programmer). Probably the least appealing solution would be
> to set up a webserver that's configured with English as the local language
> and serve the app from there.
>
> Of the above, the best solution is just to take some time to create the
> language formatter for your language -- and then upload it to the VTP for
> the greater good, in the same spirit in which we've provided openVXML. :)
>
> If anyone wants to give this a shot, please email me for the language
> formatter document.
>
> Randy Childers
> OpenMethods
>
>
>
> On 10/8/08 12:42 PM, in article gcirf0$jsq$1@build.eclipse.org, "Gustavo"
> <gus273@yahoo.com> wrote:
>
>> Re: openvxml vtp 3.0. I need help (seeing the app in a browser and
>> configuring Prophecy to hit the app via SIP)Hi Randy,
>>
>> Thank you very much for your help and for trying the ".war" file I had
>> generated.
>>
>> After knowing (per your test result) that the problem was not related to
>> the
>> ".war" file, I decided to focus my attention on Tomcat's generation of
>> the
>> VXML pages. Luca's post provided me with a hint that the problem might be
>> related to some international setting affecting Tomcat's generation of
>> the
>> VXML pages. (I was performing my tests on a system with Latin-american
>> regional settings).
>>
>> After much trial and error, I've finally been able to resolve the problem
>> by
>> doing the following on the system where Tomcat was running:
>>
>> 1. Click Start, click Run, type regedit, and then click OK.
>> 2. Locate the following registry key:
>> HKEY_USERS\.Default\Control Panel\International
>> 3. Right-click Locale, and then click Modify.
>> 4. In the Value data box, type 00000409, and then click OK.
>> 5. Quit Registry Editor.
>> 6. Restart the "Apache Tomcat" service.
>> 7. Retry navigation of the VXML pages (make sure you are getting the VXML
>> pages from Tomcat, and not from the browser's cache).
>>
>> Note: The "Apache Tomcat" service on my system is running on the "Local
>> System account" (default Tomcat service installation on Windows).
>>
>> I hope this information is helpful to everyone else having this same
>> problem.
>>
>> Best regards!
>> - Gustavo.
>>
>>
>> "Randy Childers" <randy@openmethods.com> wrote in message
>> news:C510FB04.2D23%randy@openmethods.com...
>> Hi Gustavo--
>>
>> I've just taken a look at your app, and things looked fine for me.
>> Here's
>> what I saw:
>>
>> http://localhost:8080/VxmlTests/Test1
>> <vxml version="2.0">
>> <form id="InitialForm" scope="document">
>> <var name="ANI" expr=""/>
>> <var name="DNIS" expr=""/>
>> <block name="InitialBlock">
>> <assign name="ANI" expr="session.connection.remote.uri"/>
>> <assign name="DNIS" expr="session.connection.local.uri"/>
>> <submit
>> next=" /VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0C3A A?cbb0fc7938
>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>> method="get" namelist="ANI DNIS"/>
>> </block>
>> </form>
>> </vxml>
>>
>> http://localhost:8080/VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0
>> C3AA?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>> <vxml version="2.0">
>> <form id="OutputMessageForm" scope="document">
>> <property name="bargein" value="false"/>
>> <block name="OutputMessageBlock">
>> <prompt bargein="false" xml:lang="en-US">
>> <audio src="/VxmlTests/-/resources/Susan-EnUS/Welcome.vox"/>
>> </prompt>
>> <goto next="/VxmlTests/-/next"/>
>> </block>
>> </form>
>> <catch event="connection.disconnect.hangup">
>> <goto next="/VxmlTests/-/abort"/>
>> </catch>
>> </vxml>
>>
>>
>> Be aware that one of the ways session is tracked is using cookies - I
>> generally completely shut down the browser between tests to clear
>> anything
>> residual out from the last test. Please give this a try and let me know
>> if
>> you see anything different.
>>
>> Good luck,
>> Randy
>>
>>
>>
>>
>> On 10/6/08 7:12 PM, in article gce9h2$phd$1@build.eclipse.org, "Gustavo"
>> <gus273@yahoo.com> wrote:
>>
>>> Hi Randy,
>>> I've just sent you an email with information for downloading the .war
>>> file
>>> (8 MBs).
>>> Thank you very much for your help!
>>> - Gustavo.
>>>
>>> "Randy Childers" <randy@openmethods.com> wrote in message
>>> news:C50FEBFF.2CFD%randy@openmethods.com...
>>>> Gustavo, everything looks good with your setup except the Tomcat
>>>> version --
>>>> we generally use 5.5, though I don't really think that's your problem.
>>>> The
>>>> most important part is the Java version, which you've got. Please send
>>>> me
>>>> your .war file and I'll take a look at it myself.
>>>>
>>>> Thanks,
>>>> Randy Childers
>>>> OpenMethods
>>>>
>>>>
>>>>
>>>> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org,
>>>> "Gustavo"
>>>> <gus273@yahoo.com> wrote:
>>>>
>>>>> Hello all,
>>>>>
>>>>> I seem to be having the same problem described by Alejandro. I've made
>>>>> up
>>>>> a
>>>>> very simple application consisting of the following 3 blocks:
>>>>> a) Begin.
>>>>> b) PlayPrompt (to play a pre-recorded VOX file).
>>>>> c) EndCall.
>>>>>
>>>>> I generated the WAR file and deployed it to a Tomcat server.
>>>>>
>>>>> I can navigate successfully to the first VXML page, using the
>>>>> following
>>>>> URL:
>>>>> http://localhost:8080/VxmlTests/Test1
>>>>>
>>>>> ... and the resulting VXML page is:
>>>>>
>>>>>
>>>>> <?xml version="1.0"?>
>>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>>> <form id="InitialForm" scope="document">
>>>>> <var name="ANI" expr=""/>
>>>>> <var name="DNIS" expr=""/>
>>>>> <block name="InitialBlock">
>>>>> <assign name="ANI" expr="session.connection.remote.uri"/>
>>>>> <assign name="DNIS" expr="session.connection.local.uri"/>
>>>>> <submit
>>>>>
> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7 >>>>
> 9
>>>>> 38
>>>>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>>>>> method="get" namelist="ANI DNIS"/>
>>>>> </block>
>>>>> </form>
>>>>> </vxml>
>>>>>
>>>>> So far, so good. But...
>>>>> ... when I try to navigate to the next VXML page, using the following
>>>>> URL:
>>>>>
>>>>>
> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3A>>>>
> A
>>>>> 47
>>>>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>>>>
>>>>> ... I always receive the following VXML page:
>>>>>
>>>>>
>>>>> <?xml version="1.0"?>
>>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>>> <form id="EndMessageForm" scope="document">
>>>>> <block name="EndMessageBlock">
>>>>> <disconnect/>
>>>>> </block>
>>>>> </form>
>>>>> </vxml>
>>>>>
>>>>> Instead of this VMXL page, I was expecting a VXML page with
>>>>> instructions
>>>>> to
>>>>> carry out the pre-recorded VOX file playback, as instructed in the
>>>>> "PlayPrompt" block of the graphical application.
>>>>>
>>>>> I'm using the following software:
>>>>> - openVXML-3.0-windows-installer.exe (160 MBs).
>>>>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>>>>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>>>>
>>>>> On the same machine I have installed:
>>>>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>>>>
>>>>> I'm available to provide any additional information that may be
>>>>> required.
>>>>> Any help will be very much appreciated! Thanks in advance,
>>>>> - Gustavo.
>>>>>
>>>>>
>>>>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>>>>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>>>>> Hi Randy, thanks for your answer.
>>>>>>
>>>>>> When you hit the next line:
>>>>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>>>
>>>>>>
>>>>>> as you say what you like this:
>>>>>> http://localhost:8081/Alex/-/next; jsessionid =
>>>>>> BA1D0604EC17B37AE750BE99BFDC50F
>>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>>> in the web browser that appears:
>>>>>>
>>>>>> <vxml version="2.0">
>>>>>> −
>>>>>> <form id="EndMessageForm" scope="document">
>>>>>> −
>>>>>> <block name="EndMessageBlock">
>>>>>> <disconnect/>
>>>>>> </block>
>>>>>> </form>
>>>>>> </vxml>
>>>>>>
>>>>>>
>>>>>> really is not like your shows, do not actually what the problem is.
>>>>>>
>>>>>> - I get off from openmethods the openvxml3.0
>>>>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>>>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>>>>> automatically deploy
>>>>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
|
|
| | |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #577297 is a reply to message #19304] |
Wed, 01 October 2008 17:15 |
Randy Childers Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Hi Alejandro--
You're almost there. What you're seeing is just the initialization page,
which is the first thing you'll see for any voice application. Since you're
looking at things through a web browser, you'll need to help the process
along manually to see the rest of it.
In the response that you got when you first invoked the application, take
special note of the submit tag
<submit
next=" /Alex/-/next;jsessionid=BA1D0604EC17B37AE750BE99BFDC50F4?cbb 0fc79382a4
f039e6f8eb5fef8b1cd=success.filled" method="get" namelist="ANI DNIS" />
Specifically, it's the "next" parameter you're interested in. If you copy
everything in that parameter and replace the war/app part of your URL,
you'll get this:
http://localhost:8081/Alex/-/next;jsessionid=BA1D0604EC17B37AE750BE99BFDC50F
4?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
If you paste that in as the next address in the browser, you'll see the next
page (which, according to you description, would be the wav file).
As for calling your application through Prophecy via a Sip phone, no
problem, I've done it many times. You'll need to configure the application
through Prophecy's Administration interface. Click the Call Routing tab,
then use one of the Routes. Provide an ID (you'll use this to make the SIP
call). Specify VXML as the type, and then put the initial application URL
in the URL field. Be sure and click the Save Changes button at the bottom
when you're done. To make the call, you'll start your SIP phone and make a
SIP call to <ID>@<prophecy IP>. If you called your application hello, and
everything was running on your local box, then you could dial
hello@localhost.
I hope this helps.
Good luck,
Randy Childers
OpenMethods
On 9/26/08 3:30 PM, in article
79dcc9ec9229841edf0d17595aa78002$1@www.eclipse.org, "Alejandro Novoa"
<nvooaj@gmail.com> wrote:
> Hello all, I have a problem apparently. I have an application made in
> openVXML(I download VTP-3.0 from eclipse project), is a very simple, but
> apparently I have problems with the export of my application to file a war
> once it has been exported, I take the war and file in the directory I
> leave my webapp Tomcat installation (my version apache-tomcat-5.5.26 and I
> also tested with the version apache-tomcat-6.0.18). will automatically
> unzip the file and then war in my web browser I write the url:
> http://localhost:8081/ <warfile> / <projectname>.
>
> in my application designed openVXML has a playPrompt using a wav sound file
>
> module begin -> module PlayPrompt -> module endcall
>
> in my web browser I see the following code:
>
> <? xml version = "1.0"?>
> - <vxml Xmlns="http://www.w3.org/2001/vxml" version="2.0">
> - <form Id="InitialForm" scope="document">
> <var name="ANI" expr="" />
> <var name="DNIS" expr="" />
> - <block Name="InitialBlock">
> name="ANI" expr="session.connection.remote.uri" /> <assign
> name="DNIS" expr="session.connection.local.uri" /> <assign
> <submit
> next=" /Alex/-/next;jsessionid=BA1D0604EC17B37AE750BE99BFDC50F4?cbb 0fc79382a4f0
> 39e6f8eb5fef8b1cd=success.filled"
> method="get" namelist="ANI DNIS" />
> </ block>
> </ form>
> </ VXML>
>
> apparently this bad, if anyone can help me I would appreciate.
>
> Also if someone has experience with openvxml and voxeo Prophecy to call my
> application from sip the phone.
>
|
|
| |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #577342 is a reply to message #19442] |
Thu, 02 October 2008 13:56 |
Gustavo Messages: 12 Registered: July 2009 |
Junior Member |
|
|
Hello all,
I seem to be having the same problem described by Alejandro. I've made up a
very simple application consisting of the following 3 blocks:
a) Begin.
b) PlayPrompt (to play a pre-recorded VOX file).
c) EndCall.
I generated the WAR file and deployed it to a Tomcat server.
I can navigate successfully to the first VXML page, using the following URL:
http://localhost:8080/VxmlTests/Test1
.... and the resulting VXML page is:
<?xml version="1.0"?>
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
<form id="InitialForm" scope="document">
<var name="ANI" expr=""/>
<var name="DNIS" expr=""/>
<block name="InitialBlock">
<assign name="ANI" expr="session.connection.remote.uri"/>
<assign name="DNIS" expr="session.connection.local.uri"/>
<submit
next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled "
method="get" namelist="ANI DNIS"/>
</block>
</form>
</vxml>
So far, so good. But...
.... when I try to navigate to the next VXML page, using the following URL:
http://localhost:8080/VxmlTests/-/next ;jsessionid=FF28916879E31933A8302DC3AA474538?cbb0fc79382a4f0 39e6f8eb5fef8b1cd=success.filled
.... I always receive the following VXML page:
<?xml version="1.0"?>
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
<form id="EndMessageForm" scope="document">
<block name="EndMessageBlock">
<disconnect/>
</block>
</form>
</vxml>
Instead of this VMXL page, I was expecting a VXML page with instructions to
carry out the pre-recorded VOX file playback, as instructed in the
"PlayPrompt" block of the graphical application.
I'm using the following software:
- openVXML-3.0-windows-installer.exe (160 MBs).
- jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
- apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
On the same machine I have installed:
- prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
I'm available to provide any additional information that may be required.
Any help will be very much appreciated! Thanks in advance,
- Gustavo.
"Alejandro Novoa" <nvooaj@gmail.com> wrote in message
news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
> Hi Randy, thanks for your answer.
>
> When you hit the next line:
> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>
>
> as you say what you like this:
> http://localhost:8081/Alex/-/next; jsessionid =
> BA1D0604EC17B37AE750BE99BFDC50F
> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
> in the web browser that appears:
>
> <vxml version="2.0">
> −
> <form id="EndMessageForm" scope="document">
> −
> <block name="EndMessageBlock">
> <disconnect/>
> </block>
> </form>
> </vxml>
>
>
> really is not like your shows, do not actually what the problem is.
>
> - I get off from openmethods the openvxml3.0
> - I have ran a tomcat (apache-tomcat-5.5.26).
> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
> automatically deploy
> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>
|
|
|
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #577401 is a reply to message #19488] |
Mon, 06 October 2008 21:23 |
Randy Childers Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Gustavo, everything looks good with your setup except the Tomcat version --
we generally use 5.5, though I don't really think that's your problem. The
most important part is the Java version, which you've got. Please send me
your .war file and I'll take a look at it myself.
Thanks,
Randy Childers
OpenMethods
On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
<gus273@yahoo.com> wrote:
> Hello all,
>
> I seem to be having the same problem described by Alejandro. I've made up a
> very simple application consisting of the following 3 blocks:
> a) Begin.
> b) PlayPrompt (to play a pre-recorded VOX file).
> c) EndCall.
>
> I generated the WAR file and deployed it to a Tomcat server.
>
> I can navigate successfully to the first VXML page, using the following URL:
> http://localhost:8080/VxmlTests/Test1
>
> ... and the resulting VXML page is:
>
>
> <?xml version="1.0"?>
> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
> <form id="InitialForm" scope="document">
> <var name="ANI" expr=""/>
> <var name="DNIS" expr=""/>
> <block name="InitialBlock">
> <assign name="ANI" expr="session.connection.remote.uri"/>
> <assign name="DNIS" expr="session.connection.local.uri"/>
> <submit
> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7938
> 2a4f039e6f8eb5fef8b1cd=success.filled"
> method="get" namelist="ANI DNIS"/>
> </block>
> </form>
> </vxml>
>
> So far, so good. But...
> ... when I try to navigate to the next VXML page, using the following URL:
>
> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47
> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>
> ... I always receive the following VXML page:
>
>
> <?xml version="1.0"?>
> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
> <form id="EndMessageForm" scope="document">
> <block name="EndMessageBlock">
> <disconnect/>
> </block>
> </form>
> </vxml>
>
> Instead of this VMXL page, I was expecting a VXML page with instructions to
> carry out the pre-recorded VOX file playback, as instructed in the
> "PlayPrompt" block of the graphical application.
>
> I'm using the following software:
> - openVXML-3.0-windows-installer.exe (160 MBs).
> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>
> On the same machine I have installed:
> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>
> I'm available to provide any additional information that may be required.
> Any help will be very much appreciated! Thanks in advance,
> - Gustavo.
>
>
> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>> Hi Randy, thanks for your answer.
>>
>> When you hit the next line:
>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>
>>
>> as you say what you like this:
>> http://localhost:8081/Alex/-/next; jsessionid =
>> BA1D0604EC17B37AE750BE99BFDC50F
>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>> in the web browser that appears:
>>
>> <vxml version="2.0">
>> −
>> <form id="EndMessageForm" scope="document">
>> −
>> <block name="EndMessageBlock">
>> <disconnect/>
>> </block>
>> </form>
>> </vxml>
>>
>>
>> really is not like your shows, do not actually what the problem is.
>>
>> - I get off from openmethods the openvxml3.0
>> - I have ran a tomcat (apache-tomcat-5.5.26).
>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>> automatically deploy
>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>
>
>
|
|
| |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #577452 is a reply to message #19623] |
Tue, 07 October 2008 00:12 |
Gustavo Messages: 12 Registered: July 2009 |
Junior Member |
|
|
Hi Randy,
I've just sent you an email with information for downloading the .war file
(8 MBs).
Thank you very much for your help!
- Gustavo.
"Randy Childers" <randy@openmethods.com> wrote in message
news:C50FEBFF.2CFD%randy@openmethods.com...
> Gustavo, everything looks good with your setup except the Tomcat
> version --
> we generally use 5.5, though I don't really think that's your problem.
> The
> most important part is the Java version, which you've got. Please send me
> your .war file and I'll take a look at it myself.
>
> Thanks,
> Randy Childers
> OpenMethods
>
>
>
> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
> <gus273@yahoo.com> wrote:
>
>> Hello all,
>>
>> I seem to be having the same problem described by Alejandro. I've made up
>> a
>> very simple application consisting of the following 3 blocks:
>> a) Begin.
>> b) PlayPrompt (to play a pre-recorded VOX file).
>> c) EndCall.
>>
>> I generated the WAR file and deployed it to a Tomcat server.
>>
>> I can navigate successfully to the first VXML page, using the following
>> URL:
>> http://localhost:8080/VxmlTests/Test1
>>
>> ... and the resulting VXML page is:
>>
>>
>> <?xml version="1.0"?>
>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>> <form id="InitialForm" scope="document">
>> <var name="ANI" expr=""/>
>> <var name="DNIS" expr=""/>
>> <block name="InitialBlock">
>> <assign name="ANI" expr="session.connection.remote.uri"/>
>> <assign name="DNIS" expr="session.connection.local.uri"/>
>> <submit
>> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7938
>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>> method="get" namelist="ANI DNIS"/>
>> </block>
>> </form>
>> </vxml>
>>
>> So far, so good. But...
>> ... when I try to navigate to the next VXML page, using the following
>> URL:
>>
>> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47
>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>
>> ... I always receive the following VXML page:
>>
>>
>> <?xml version="1.0"?>
>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>> <form id="EndMessageForm" scope="document">
>> <block name="EndMessageBlock">
>> <disconnect/>
>> </block>
>> </form>
>> </vxml>
>>
>> Instead of this VMXL page, I was expecting a VXML page with instructions
>> to
>> carry out the pre-recorded VOX file playback, as instructed in the
>> "PlayPrompt" block of the graphical application.
>>
>> I'm using the following software:
>> - openVXML-3.0-windows-installer.exe (160 MBs).
>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>
>> On the same machine I have installed:
>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>
>> I'm available to provide any additional information that may be required.
>> Any help will be very much appreciated! Thanks in advance,
>> - Gustavo.
>>
>>
>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>> Hi Randy, thanks for your answer.
>>>
>>> When you hit the next line:
>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>
>>>
>>> as you say what you like this:
>>> http://localhost:8081/Alex/-/next; jsessionid =
>>> BA1D0604EC17B37AE750BE99BFDC50F
>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>> in the web browser that appears:
>>>
>>> <vxml version="2.0">
>>> −
>>> <form id="EndMessageForm" scope="document">
>>> −
>>> <block name="EndMessageBlock">
>>> <disconnect/>
>>> </block>
>>> </form>
>>> </vxml>
>>>
>>>
>>> really is not like your shows, do not actually what the problem is.
>>>
>>> - I get off from openmethods the openvxml3.0
>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>> automatically deploy
>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>
>>
>>
>
|
|
| | | |
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #577546 is a reply to message #19779] |
Wed, 08 October 2008 17:42 |
Gustavo Messages: 12 Registered: July 2009 |
Junior Member |
|
|
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and
configuring Prophecy to hit the app via SIP)Hi Randy,
Thank you very much for your help and for trying the ".war" file I had
generated.
After knowing (per your test result) that the problem was not related to the
".war" file, I decided to focus my attention on Tomcat's generation of the
VXML pages. Luca's post provided me with a hint that the problem might be
related to some international setting affecting Tomcat's generation of the
VXML pages. (I was performing my tests on a system with Latin-american
regional settings).
After much trial and error, I've finally been able to resolve the problem by
doing the following on the system where Tomcat was running:
1. Click Start, click Run, type regedit, and then click OK.
2. Locate the following registry key:
HKEY_USERS\.Default\Control Panel\International
3. Right-click Locale, and then click Modify.
4. In the Value data box, type 00000409, and then click OK.
5. Quit Registry Editor.
6. Restart the "Apache Tomcat" service.
7. Retry navigation of the VXML pages (make sure you are getting the VXML
pages from Tomcat, and not from the browser's cache).
Note: The "Apache Tomcat" service on my system is running on the "Local
System account" (default Tomcat service installation on Windows).
I hope this information is helpful to everyone else having this same
problem.
Best regards!
- Gustavo.
"Randy Childers" <randy@openmethods.com> wrote in message
news:C510FB04.2D23%randy@openmethods.com...
Hi Gustavo--
I've just taken a look at your app, and things looked fine for me. Here's
what I saw:
http://localhost:8080/VxmlTests/Test1
<vxml version="2.0">
<form id="InitialForm" scope="document">
<var name="ANI" expr=""/>
<var name="DNIS" expr=""/>
<block name="InitialBlock">
<assign name="ANI" expr="session.connection.remote.uri"/>
<assign name="DNIS" expr="session.connection.local.uri"/>
<submit
next=" /VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0C3A A?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled "
method="get" namelist="ANI DNIS"/>
</block>
</form>
</vxml>
http://localhost:8080/VxmlTests/-/next ;jsessionid=F481020D504EA4990A3F754BA9F0C3AA?cbb0fc79382a4f0 39e6f8eb5fef8b1cd=success.filled
<vxml version="2.0">
<form id="OutputMessageForm" scope="document">
<property name="bargein" value="false"/>
<block name="OutputMessageBlock">
<prompt bargein="false" xml:lang="en-US">
<audio src="/VxmlTests/-/resources/Susan-EnUS/Welcome.vox"/>
</prompt>
<goto next="/VxmlTests/-/next"/>
</block>
</form>
<catch event="connection.disconnect.hangup">
<goto next="/VxmlTests/-/abort"/>
</catch>
</vxml>
Be aware that one of the ways session is tracked is using cookies - I
generally completely shut down the browser between tests to clear anything
residual out from the last test. Please give this a try and let me know if
you see anything different.
Good luck,
Randy
On 10/6/08 7:12 PM, in article gce9h2$phd$1@build.eclipse.org, "Gustavo"
<gus273@yahoo.com> wrote:
> Hi Randy,
> I've just sent you an email with information for downloading the .war file
> (8 MBs).
> Thank you very much for your help!
> - Gustavo.
>
> "Randy Childers" <randy@openmethods.com> wrote in message
> news:C50FEBFF.2CFD%randy@openmethods.com...
>> Gustavo, everything looks good with your setup except the Tomcat
>> version --
>> we generally use 5.5, though I don't really think that's your problem.
>> The
>> most important part is the Java version, which you've got. Please send
>> me
>> your .war file and I'll take a look at it myself.
>>
>> Thanks,
>> Randy Childers
>> OpenMethods
>>
>>
>>
>> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
>> <gus273@yahoo.com> wrote:
>>
>>> Hello all,
>>>
>>> I seem to be having the same problem described by Alejandro. I've made
>>> up
>>> a
>>> very simple application consisting of the following 3 blocks:
>>> a) Begin.
>>> b) PlayPrompt (to play a pre-recorded VOX file).
>>> c) EndCall.
>>>
>>> I generated the WAR file and deployed it to a Tomcat server.
>>>
>>> I can navigate successfully to the first VXML page, using the following
>>> URL:
>>> http://localhost:8080/VxmlTests/Test1
>>>
>>> ... and the resulting VXML page is:
>>>
>>>
>>> <?xml version="1.0"?>
>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>> <form id="InitialForm" scope="document">
>>> <var name="ANI" expr=""/>
>>> <var name="DNIS" expr=""/>
>>> <block name="InitialBlock">
>>> <assign name="ANI" expr="session.connection.remote.uri"/>
>>> <assign name="DNIS" expr="session.connection.local.uri"/>
>>> <submit
>>> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc79
>>> 38
>>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>>> method="get" namelist="ANI DNIS"/>
>>> </block>
>>> </form>
>>> </vxml>
>>>
>>> So far, so good. But...
>>> ... when I try to navigate to the next VXML page, using the following
>>> URL:
>>>
>>> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA
>>> 47
>>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>>
>>> ... I always receive the following VXML page:
>>>
>>>
>>> <?xml version="1.0"?>
>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>> <form id="EndMessageForm" scope="document">
>>> <block name="EndMessageBlock">
>>> <disconnect/>
>>> </block>
>>> </form>
>>> </vxml>
>>>
>>> Instead of this VMXL page, I was expecting a VXML page with instructions
>>> to
>>> carry out the pre-recorded VOX file playback, as instructed in the
>>> "PlayPrompt" block of the graphical application.
>>>
>>> I'm using the following software:
>>> - openVXML-3.0-windows-installer.exe (160 MBs).
>>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>>
>>> On the same machine I have installed:
>>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>>
>>> I'm available to provide any additional information that may be
>>> required.
>>> Any help will be very much appreciated! Thanks in advance,
>>> - Gustavo.
>>>
>>>
>>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>>> Hi Randy, thanks for your answer.
>>>>
>>>> When you hit the next line:
>>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>
>>>>
>>>> as you say what you like this:
>>>> http://localhost:8081/Alex/-/next; jsessionid =
>>>> BA1D0604EC17B37AE750BE99BFDC50F
>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>> in the web browser that appears:
>>>>
>>>> <vxml version="2.0">
>>>> −
>>>> <form id="EndMessageForm" scope="document">
>>>> −
>>>> <block name="EndMessageBlock">
>>>> <disconnect/>
>>>> </block>
>>>> </form>
>>>> </vxml>
>>>>
>>>>
>>>> really is not like your shows, do not actually what the problem is.
>>>>
>>>> - I get off from openmethods the openvxml3.0
>>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>>> automatically deploy
>>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>>
>>>
>>>
>>
>
>
|
|
|
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #577567 is a reply to message #19928] |
Wed, 08 October 2008 22:38 |
Randy Childers Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Thanks, Gustavo--
Yes, that's pretty much it. What's happening is that when the app is
served, the OS's local language setting on the webserver is used to attempt
to dynamically select the default language used for the application. In all
of the apps I looked at, English was the language used in the Voice
Formatter project, but if the language on the webserver wasn't English then
the dynamic language selection mechanism I just mentioned would fail, which
is why the app wouldn't get past the initial page fetch.
Short of updating openVXML to allow you to select the default language
explicitly when the application is exported (stay tuned!), there are a few
workarounds for this. Gustavo's suggestion below will likely work (I only
say that because I haven't tried it myself). Another option is to create a
language formatter for the target language (this isn't as hard as it might
sound -- we have a tutorial doc that walks you through the process, if
you're a java programmer). Probably the least appealing solution would be
to set up a webserver that's configured with English as the local language
and serve the app from there.
Of the above, the best solution is just to take some time to create the
language formatter for your language -- and then upload it to the VTP for
the greater good, in the same spirit in which we've provided openVXML. :)
If anyone wants to give this a shot, please email me for the language
formatter document.
Randy Childers
OpenMethods
On 10/8/08 12:42 PM, in article gcirf0$jsq$1@build.eclipse.org, "Gustavo"
<gus273@yahoo.com> wrote:
> Re: openvxml vtp 3.0. I need help (seeing the app in a browser and
> configuring Prophecy to hit the app via SIP)Hi Randy,
>
> Thank you very much for your help and for trying the ".war" file I had
> generated.
>
> After knowing (per your test result) that the problem was not related to the
> ".war" file, I decided to focus my attention on Tomcat's generation of the
> VXML pages. Luca's post provided me with a hint that the problem might be
> related to some international setting affecting Tomcat's generation of the
> VXML pages. (I was performing my tests on a system with Latin-american
> regional settings).
>
> After much trial and error, I've finally been able to resolve the problem by
> doing the following on the system where Tomcat was running:
>
> 1. Click Start, click Run, type regedit, and then click OK.
> 2. Locate the following registry key:
> HKEY_USERS\.Default\Control Panel\International
> 3. Right-click Locale, and then click Modify.
> 4. In the Value data box, type 00000409, and then click OK.
> 5. Quit Registry Editor.
> 6. Restart the "Apache Tomcat" service.
> 7. Retry navigation of the VXML pages (make sure you are getting the VXML
> pages from Tomcat, and not from the browser's cache).
>
> Note: The "Apache Tomcat" service on my system is running on the "Local
> System account" (default Tomcat service installation on Windows).
>
> I hope this information is helpful to everyone else having this same
> problem.
>
> Best regards!
> - Gustavo.
>
>
> "Randy Childers" <randy@openmethods.com> wrote in message
> news:C510FB04.2D23%randy@openmethods.com...
> Hi Gustavo--
>
> I've just taken a look at your app, and things looked fine for me. Here's
> what I saw:
>
> http://localhost:8080/VxmlTests/Test1
> <vxml version="2.0">
> <form id="InitialForm" scope="document">
> <var name="ANI" expr=""/>
> <var name="DNIS" expr=""/>
> <block name="InitialBlock">
> <assign name="ANI" expr="session.connection.remote.uri"/>
> <assign name="DNIS" expr="session.connection.local.uri"/>
> <submit
> next=" /VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0C3A A?cbb0fc7938
> 2a4f039e6f8eb5fef8b1cd=success.filled"
> method="get" namelist="ANI DNIS"/>
> </block>
> </form>
> </vxml>
>
> http://localhost:8080/VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0
> C3AA?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
> <vxml version="2.0">
> <form id="OutputMessageForm" scope="document">
> <property name="bargein" value="false"/>
> <block name="OutputMessageBlock">
> <prompt bargein="false" xml:lang="en-US">
> <audio src="/VxmlTests/-/resources/Susan-EnUS/Welcome.vox"/>
> </prompt>
> <goto next="/VxmlTests/-/next"/>
> </block>
> </form>
> <catch event="connection.disconnect.hangup">
> <goto next="/VxmlTests/-/abort"/>
> </catch>
> </vxml>
>
>
> Be aware that one of the ways session is tracked is using cookies - I
> generally completely shut down the browser between tests to clear anything
> residual out from the last test. Please give this a try and let me know if
> you see anything different.
>
> Good luck,
> Randy
>
>
>
>
> On 10/6/08 7:12 PM, in article gce9h2$phd$1@build.eclipse.org, "Gustavo"
> <gus273@yahoo.com> wrote:
>
>> Hi Randy,
>> I've just sent you an email with information for downloading the .war file
>> (8 MBs).
>> Thank you very much for your help!
>> - Gustavo.
>>
>> "Randy Childers" <randy@openmethods.com> wrote in message
>> news:C50FEBFF.2CFD%randy@openmethods.com...
>>> Gustavo, everything looks good with your setup except the Tomcat
>>> version --
>>> we generally use 5.5, though I don't really think that's your problem.
>>> The
>>> most important part is the Java version, which you've got. Please send
>>> me
>>> your .war file and I'll take a look at it myself.
>>>
>>> Thanks,
>>> Randy Childers
>>> OpenMethods
>>>
>>>
>>>
>>> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org, "Gustavo"
>>> <gus273@yahoo.com> wrote:
>>>
>>>> Hello all,
>>>>
>>>> I seem to be having the same problem described by Alejandro. I've made
>>>> up
>>>> a
>>>> very simple application consisting of the following 3 blocks:
>>>> a) Begin.
>>>> b) PlayPrompt (to play a pre-recorded VOX file).
>>>> c) EndCall.
>>>>
>>>> I generated the WAR file and deployed it to a Tomcat server.
>>>>
>>>> I can navigate successfully to the first VXML page, using the following
>>>> URL:
>>>> http://localhost:8080/VxmlTests/Test1
>>>>
>>>> ... and the resulting VXML page is:
>>>>
>>>>
>>>> <?xml version="1.0"?>
>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>> <form id="InitialForm" scope="document">
>>>> <var name="ANI" expr=""/>
>>>> <var name="DNIS" expr=""/>
>>>> <block name="InitialBlock">
>>>> <assign name="ANI" expr="session.connection.remote.uri"/>
>>>> <assign name="DNIS" expr="session.connection.local.uri"/>
>>>> <submit
>>>>
next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7 >>>>
9
>>>> 38
>>>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>>>> method="get" namelist="ANI DNIS"/>
>>>> </block>
>>>> </form>
>>>> </vxml>
>>>>
>>>> So far, so good. But...
>>>> ... when I try to navigate to the next VXML page, using the following
>>>> URL:
>>>>
>>>>
http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3A>>>>
A
>>>> 47
>>>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>>>
>>>> ... I always receive the following VXML page:
>>>>
>>>>
>>>> <?xml version="1.0"?>
>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>> <form id="EndMessageForm" scope="document">
>>>> <block name="EndMessageBlock">
>>>> <disconnect/>
>>>> </block>
>>>> </form>
>>>> </vxml>
>>>>
>>>> Instead of this VMXL page, I was expecting a VXML page with instructions
>>>> to
>>>> carry out the pre-recorded VOX file playback, as instructed in the
>>>> "PlayPrompt" block of the graphical application.
>>>>
>>>> I'm using the following software:
>>>> - openVXML-3.0-windows-installer.exe (160 MBs).
>>>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>>>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>>>
>>>> On the same machine I have installed:
>>>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>>>
>>>> I'm available to provide any additional information that may be
>>>> required.
>>>> Any help will be very much appreciated! Thanks in advance,
>>>> - Gustavo.
>>>>
>>>>
>>>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>>>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>>>> Hi Randy, thanks for your answer.
>>>>>
>>>>> When you hit the next line:
>>>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>>
>>>>>
>>>>> as you say what you like this:
>>>>> http://localhost:8081/Alex/-/next; jsessionid =
>>>>> BA1D0604EC17B37AE750BE99BFDC50F
>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>> in the web browser that appears:
>>>>>
>>>>> <vxml version="2.0">
>>>>> −
>>>>> <form id="EndMessageForm" scope="document">
>>>>> −
>>>>> <block name="EndMessageBlock">
>>>>> <disconnect/>
>>>>> </block>
>>>>> </form>
>>>>> </vxml>
>>>>>
>>>>>
>>>>> really is not like your shows, do not actually what the problem is.
>>>>>
>>>>> - I get off from openmethods the openvxml3.0
>>>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>>>> automatically deploy
>>>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>>>
>>>>
>>>>
>>>
>>
>>
>
|
|
|
Re: openvxml vtp 3.0. I need help (seeing the app in a browser and configuring Prophecy to hit the a [message #577611 is a reply to message #19958] |
Thu, 09 October 2008 13:22 |
Gustavo Messages: 12 Registered: July 2009 |
Junior Member |
|
|
Hi Randy,
Thanks for the detailed information. It would be great if OpenVXML would
optionally allow the application designer to select the default language
explicitly when the application is exported. I'll stay tuned!
Thanks again for your help!
Best regards,
- Gustavo.
"Randy Childers" <randy@openmethods.com> wrote in message
news:C512A0A5.2D7E%randy@openmethods.com...
> Thanks, Gustavo--
>
> Yes, that's pretty much it. What's happening is that when the app is
> served, the OS's local language setting on the webserver is used to
> attempt
> to dynamically select the default language used for the application. In
> all
> of the apps I looked at, English was the language used in the Voice
> Formatter project, but if the language on the webserver wasn't English
> then
> the dynamic language selection mechanism I just mentioned would fail,
> which
> is why the app wouldn't get past the initial page fetch.
>
> Short of updating openVXML to allow you to select the default language
> explicitly when the application is exported (stay tuned!), there are a few
> workarounds for this. Gustavo's suggestion below will likely work (I only
> say that because I haven't tried it myself). Another option is to create
> a
> language formatter for the target language (this isn't as hard as it might
> sound -- we have a tutorial doc that walks you through the process, if
> you're a java programmer). Probably the least appealing solution would be
> to set up a webserver that's configured with English as the local language
> and serve the app from there.
>
> Of the above, the best solution is just to take some time to create the
> language formatter for your language -- and then upload it to the VTP for
> the greater good, in the same spirit in which we've provided openVXML. :)
>
> If anyone wants to give this a shot, please email me for the language
> formatter document.
>
> Randy Childers
> OpenMethods
>
>
>
> On 10/8/08 12:42 PM, in article gcirf0$jsq$1@build.eclipse.org, "Gustavo"
> <gus273@yahoo.com> wrote:
>
>> Re: openvxml vtp 3.0. I need help (seeing the app in a browser and
>> configuring Prophecy to hit the app via SIP)Hi Randy,
>>
>> Thank you very much for your help and for trying the ".war" file I had
>> generated.
>>
>> After knowing (per your test result) that the problem was not related to
>> the
>> ".war" file, I decided to focus my attention on Tomcat's generation of
>> the
>> VXML pages. Luca's post provided me with a hint that the problem might be
>> related to some international setting affecting Tomcat's generation of
>> the
>> VXML pages. (I was performing my tests on a system with Latin-american
>> regional settings).
>>
>> After much trial and error, I've finally been able to resolve the problem
>> by
>> doing the following on the system where Tomcat was running:
>>
>> 1. Click Start, click Run, type regedit, and then click OK.
>> 2. Locate the following registry key:
>> HKEY_USERS\.Default\Control Panel\International
>> 3. Right-click Locale, and then click Modify.
>> 4. In the Value data box, type 00000409, and then click OK.
>> 5. Quit Registry Editor.
>> 6. Restart the "Apache Tomcat" service.
>> 7. Retry navigation of the VXML pages (make sure you are getting the VXML
>> pages from Tomcat, and not from the browser's cache).
>>
>> Note: The "Apache Tomcat" service on my system is running on the "Local
>> System account" (default Tomcat service installation on Windows).
>>
>> I hope this information is helpful to everyone else having this same
>> problem.
>>
>> Best regards!
>> - Gustavo.
>>
>>
>> "Randy Childers" <randy@openmethods.com> wrote in message
>> news:C510FB04.2D23%randy@openmethods.com...
>> Hi Gustavo--
>>
>> I've just taken a look at your app, and things looked fine for me.
>> Here's
>> what I saw:
>>
>> http://localhost:8080/VxmlTests/Test1
>> <vxml version="2.0">
>> <form id="InitialForm" scope="document">
>> <var name="ANI" expr=""/>
>> <var name="DNIS" expr=""/>
>> <block name="InitialBlock">
>> <assign name="ANI" expr="session.connection.remote.uri"/>
>> <assign name="DNIS" expr="session.connection.local.uri"/>
>> <submit
>> next=" /VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0C3A A?cbb0fc7938
>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>> method="get" namelist="ANI DNIS"/>
>> </block>
>> </form>
>> </vxml>
>>
>> http://localhost:8080/VxmlTests/-/next;jsessionid=F481020D504EA4990A3F754BA9F0
>> C3AA?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>> <vxml version="2.0">
>> <form id="OutputMessageForm" scope="document">
>> <property name="bargein" value="false"/>
>> <block name="OutputMessageBlock">
>> <prompt bargein="false" xml:lang="en-US">
>> <audio src="/VxmlTests/-/resources/Susan-EnUS/Welcome.vox"/>
>> </prompt>
>> <goto next="/VxmlTests/-/next"/>
>> </block>
>> </form>
>> <catch event="connection.disconnect.hangup">
>> <goto next="/VxmlTests/-/abort"/>
>> </catch>
>> </vxml>
>>
>>
>> Be aware that one of the ways session is tracked is using cookies - I
>> generally completely shut down the browser between tests to clear
>> anything
>> residual out from the last test. Please give this a try and let me know
>> if
>> you see anything different.
>>
>> Good luck,
>> Randy
>>
>>
>>
>>
>> On 10/6/08 7:12 PM, in article gce9h2$phd$1@build.eclipse.org, "Gustavo"
>> <gus273@yahoo.com> wrote:
>>
>>> Hi Randy,
>>> I've just sent you an email with information for downloading the .war
>>> file
>>> (8 MBs).
>>> Thank you very much for your help!
>>> - Gustavo.
>>>
>>> "Randy Childers" <randy@openmethods.com> wrote in message
>>> news:C50FEBFF.2CFD%randy@openmethods.com...
>>>> Gustavo, everything looks good with your setup except the Tomcat
>>>> version --
>>>> we generally use 5.5, though I don't really think that's your problem.
>>>> The
>>>> most important part is the Java version, which you've got. Please send
>>>> me
>>>> your .war file and I'll take a look at it myself.
>>>>
>>>> Thanks,
>>>> Randy Childers
>>>> OpenMethods
>>>>
>>>>
>>>>
>>>> On 10/2/08 8:56 AM, in article gc2jtq$n94$1@build.eclipse.org,
>>>> "Gustavo"
>>>> <gus273@yahoo.com> wrote:
>>>>
>>>>> Hello all,
>>>>>
>>>>> I seem to be having the same problem described by Alejandro. I've made
>>>>> up
>>>>> a
>>>>> very simple application consisting of the following 3 blocks:
>>>>> a) Begin.
>>>>> b) PlayPrompt (to play a pre-recorded VOX file).
>>>>> c) EndCall.
>>>>>
>>>>> I generated the WAR file and deployed it to a Tomcat server.
>>>>>
>>>>> I can navigate successfully to the first VXML page, using the
>>>>> following
>>>>> URL:
>>>>> http://localhost:8080/VxmlTests/Test1
>>>>>
>>>>> ... and the resulting VXML page is:
>>>>>
>>>>>
>>>>> <?xml version="1.0"?>
>>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>>> <form id="InitialForm" scope="document">
>>>>> <var name="ANI" expr=""/>
>>>>> <var name="DNIS" expr=""/>
>>>>> <block name="InitialBlock">
>>>>> <assign name="ANI" expr="session.connection.remote.uri"/>
>>>>> <assign name="DNIS" expr="session.connection.local.uri"/>
>>>>> <submit
>>>>>
> next=" /VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3AA47453 8?cbb0fc7 >>>>
> 9
>>>>> 38
>>>>> 2a4f039e6f8eb5fef8b1cd=success.filled"
>>>>> method="get" namelist="ANI DNIS"/>
>>>>> </block>
>>>>> </form>
>>>>> </vxml>
>>>>>
>>>>> So far, so good. But...
>>>>> ... when I try to navigate to the next VXML page, using the following
>>>>> URL:
>>>>>
>>>>>
> http://localhost:8080/VxmlTests/-/next;jsessionid=FF28916879E31933A8302DC3A>>>>
> A
>>>>> 47
>>>>> 4538?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
>>>>>
>>>>> ... I always receive the following VXML page:
>>>>>
>>>>>
>>>>> <?xml version="1.0"?>
>>>>> <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
>>>>> <form id="EndMessageForm" scope="document">
>>>>> <block name="EndMessageBlock">
>>>>> <disconnect/>
>>>>> </block>
>>>>> </form>
>>>>> </vxml>
>>>>>
>>>>> Instead of this VMXL page, I was expecting a VXML page with
>>>>> instructions
>>>>> to
>>>>> carry out the pre-recorded VOX file playback, as instructed in the
>>>>> "PlayPrompt" block of the graphical application.
>>>>>
>>>>> I'm using the following software:
>>>>> - openVXML-3.0-windows-installer.exe (160 MBs).
>>>>> - jdk-1_5_0_16-windows-i586-p.exe (51,8 MBs).
>>>>> - apache-tomcat-4.1.37-LE-jdk14.exe (8,11 MBs).
>>>>>
>>>>> On the same machine I have installed:
>>>>> - prophecy-8.0.198.1-small-tts-ds.msi (171 MBs).
>>>>>
>>>>> I'm available to provide any additional information that may be
>>>>> required.
>>>>> Any help will be very much appreciated! Thanks in advance,
>>>>> - Gustavo.
>>>>>
>>>>>
>>>>> "Alejandro Novoa" <nvooaj@gmail.com> wrote in message
>>>>> news:b4915a033d5bbf2ce25eff13f7543258$1@www.eclipse.org...
>>>>>> Hi Randy, thanks for your answer.
>>>>>>
>>>>>> When you hit the next line:
>>>>>> -/next; jsessionid = A1D0604EC17B37AE750BE99BFDC50F
>>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>>>
>>>>>>
>>>>>> as you say what you like this:
>>>>>> http://localhost:8081/Alex/-/next; jsessionid =
>>>>>> BA1D0604EC17B37AE750BE99BFDC50F
>>>>>> 4? Cbb0fc79382a4f039e6f8eb5fef8b1cd = success.filled
>>>>>> in the web browser that appears:
>>>>>>
>>>>>> <vxml version="2.0">
>>>>>> −
>>>>>> <form id="EndMessageForm" scope="document">
>>>>>> −
>>>>>> <block name="EndMessageBlock">
>>>>>> <disconnect/>
>>>>>> </block>
>>>>>> </form>
>>>>>> </vxml>
>>>>>>
>>>>>>
>>>>>> really is not like your shows, do not actually what the problem is.
>>>>>>
>>>>>> - I get off from openmethods the openvxml3.0
>>>>>> - I have ran a tomcat (apache-tomcat-5.5.26).
>>>>>> - E: \ apache-tomcat-5.5.26 \ webapps my file this war, here are
>>>>>> automatically deploy
>>>>>> -I have installed the J2SE Runtime Environment 5.0 Update 15.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
|
|
| |
Goto Forum:
Current Time: Mon Sep 23 08:27:42 GMT 2024
Powered by FUDForum. Page generated in 0.06867 seconds
|