The simplest application for Voicent Gateway is a single vxml (VoiceXML file extension) file and a configuration file. Our first version of the time-of-day service just informs the caller the service name.
First create a new project directory (will be referred to as <tddir>) in your file system. Under the project directory create two sub-directories: conf and webapps.
Create a file named timeofday.vxml under <tddir>/webapps and type-in or copy-paste the following to the file:
The format of the file is VoiceXML.
A configuration file is needed to install your application to the gateway. This configuration file specifies the start and exit vxml files, the application type (inbound or outbound), and choice of password protection, etc.
Create a file named timeofday.conf under <tddir>/conf and copy the following information to the file.
Now you should have a directory structure like this:
What we created so far is a minimum application, a "Hello World" application for Voicent Gateway.
Download the sample
code: timeofday_step1.zip.