The command line simulator is used to test applications without actually using the telephone. It is a light weight program that does not do speech recognition and text-to-speech. However, it does play the audio file though computer speaker.
The simulator is released as a java jar file: vxsim.jar. It is under the tool directory of the SDK release directory.
To run the command line simulator, type the following command in a Windows Command window:
Please make sure you have Java installed correctly on your machine.
The following is a typical run of the timeofday sample of the tutorial using the command line simulator.
To simulate a VoiceXML exception, type in the following:
If you have an error: "Cannot connect to Voicent Gateway", it is because the simulator is trying to connect to a specific gateway port but the port is somehow not available. You can work around this problem by restarting the gateway or reboot your machine.