Running vmsamp

When vmsamp is configured to run a single channel, it is a menu-driven interactive program. Each menu is invoked by a single letter.

When you enter a menu command, vmsamp either executes the function associated with the menu, or it prompts for additional information. In the latter case, you must enter a valid submenu command (also one letter) to execute the associated function. To get help, enter b. To exit from a vmsamp session, enter a.

For a comprehensive list of vmsamp menu commands, see vmsamp menu commands.

To run vmsamp, follow these steps:

Step

Description

1

Navigate to the \nms\vaccess\demos\vmsamp directory.

2

Enter the following command at the command line:

vmsamp -g gw.cfg -s srv.cfg

gw.cfg is the name of the 3G-324M Interface (gateway) configuration file and srv.cfg is the name of the Video Messaging Server (server) configuration file.

You can also specify the following options:

Option

Description

-b boardnum

Board number.

Default: 0

-I trace level

Application trace level.

Default: 0xF

Refer to vm_trace.h for possible values.

If you start vmsamp without any command line parameters, the default parameters apply.

3

Place a call from the 3G terminal (or the 3G terminal simulator) to the 3G-324M Interface.

4

Talk to the 3G terminal in front of the camera.

5

Start audio and video recording on the Video Messaging Server Interface:

  • Enter z for play and record commands.

  • Enter r to start audio and video recording.

6

Stop audio recording on the Video Messaging Server Interface:

  • Enter z for play and record commands.

  • Enter u to stop audio recording. Video recording automatically stops at the same time.

7

Play the recorded 3GP file from the Video Messaging Server Interface:

  • Enter z for play and record commands.

  • Enter s to play a recorded file.

8

Ensure that both audio and video were played back to the 3G terminal.

Note: Ensure that the gateway configuration file (gw.cfg) and the server configuration file (srv.cfg) are accurate and that you choose the menu options carefully. The vmsamp demonstration program provides minimal protection against invalid entries, range checking, or attempts to use invalid modes.