« Back to CVP - All Versions

can I reach a VXML application over HTTP

Combination View Flat View Tree View
Threads [ Previous | Next ]
Can we only access CVP applications through a phone, is it possible to reach them over http via web requests ?
Can we send requests over http which initiates a java class defined in the cvp application ?
 
What we are trying to achieve is we want to reach the running CVP application and do some administration tasks
which affects our applications business logic without the need to update the application..
 
For example : re-reading a properties file or parsing an xml file which is read/parsed once when the application starts.
I do not want to restart or update the application but be able to reach the application and run some code..
 
These tasks can also be done using a phone, we may define our phone numbers in the application and when the application is reached from our "defined phones" a different menu can appear to us which enables us do these tasks.
 
But what I wonder is should I required to use the phone ?

Umut,
You can use a web browser to place a 'phone call' by  entering the following URL into a web browser http://IPaddress:7000/CVP/Server?application=HelloWorld (inserting your Vxml Server's IP address and your application name for HelloWorld). This is the same as placing a call directly into the Vxml Server - so keep in mind it will use up one license on the Vxml Server until you simulate a 'hangup' by entering the URL http://IPaddress:7000/CVP/Server?audium_action=hangup (don't quit the web browser without simulating the hangup, otherwise the license will still be in use for 30 minutes). If you have code in the Start of Call class for that application (HelloWorld), then that code will execute (eg, read a file or a database and update session data). This will be the easiest way to accomplish your task. It is possible to continue the web-simulated-phone call using a web browser, but it's too complicated to detail here.
 
Janine
www.TrainingTheExperts.com

Umut,

Adding to Janine's comment, if you are purely looking at managing the
applications - operations and maintenance, you might want to use the
Application Management API(JMX based) provided within the CVP framework.
Please refer to the CVP Programming Guide for more information.

Hope this helps,
Ranjana.