# Overview of configuring vmsamp

Before running vmsamp, ensure that you have created both the 3G-324M Interface (gateway) and Video Messaging Server Interface (server) configuration files.

## Creating the gateway configuration file

To create the gateway configuration file (gw.cfg) in an IPv4 network, specify the following settings:

useVideoXc = 0
Video_Format = 2
srcIPAddr_video = <CG board IP address>
destIPAddr_video = <CG board IP address>
srcIPAddr_audio = <CG board IP address>
destIPAddr_audio = <CG board IP address>

To create the gateway configuration file (gw.cfg) in an IPv6 network, specify the following settings:

useVideoXc = 0
Video_Format = 2
srcIPAddr_video = <CG board IPv6 address>
destIPAddr_video = <CG board IPv6 address>
srcIPAddr_audio = <CG board IPv6 address>
destIPAddr_audio = <CG board IPv6 address>
useIPv6=1

For more information, refer to Configuring the 3G-324M Interface.

## Creating the server configuration file

To create the server configuration file (srv.cfg) in an IPv4 network, specify the following settings:

3gpFileName = test.3gp
srcIPAddr_video = <CG board IP address>
destIPAddr_video = <CG board IP address>
srcIPAddr_audio = <CG board IP address>
destIPAddr_audio = <CG board IP address>

To create the server configuration file (srv.cfg) in an IPv6 network, specify the following settings:

3gpFileName = test.3gp
srcIPAddr_video = <CG board IPv6 address>
destIPAddr_video = <CG board IPv6 address>
srcIPAddr_audio = <CG board IPv6 address>
destIPAddr_audio = <CG board IPv6 address>
useIPv6=1

For more information, refer to Configuring the Video Messaging Server Interface.