Test dynamically generated
vxml files
Applications installed to the gateway are no different from
other Tomcat web applications. To develop and test these
applications, you can use any servlet/JSP tools you are using.
List below are some simple tips for testing.
1. Check the gateway log file
The gateway log file (output.log) is under <install
dir>/voicent/gateway/logs. Inside the log file, you should see
a few lines about the initialization of the /td application.
-
WebappLoader[/td]: Deploying class repositories to work
directory C:\Program Files\Voicent\Gateway\work\_\localhost\td
StandardManager[/td]: Seeding random number generator class
java.security.SecureRandom
...
All Tomcat log messages go to this log file. If your jsp file
contains runtime errors, please check this log file for more
information.
2. Use a web browser to test dynamically generated pages first
You can use a web browser to test you application first. Tomcat
server inside the gateway uses the default port of 8155. If you
point your browser to
-
http://localhost:8155/td/timeofday.jsp
you should see the generated vxml file.
3. Use the command line simulator
For more elaborate applications, a simulator is necessary to
have a fast turn around time for development. This command line
tool is included in Voicent Gateway annual subscription.
|