Configuring the 3G-324M Interface

Create a gateway configuration file (gw.cfg) to set up the 3G-324M Interface. Each line of the configuration file must specify a different parameter value. The format of a line is:

Parameter = Value

Any text on a line appearing after a hash character (#) is ignored as a comment.

The following tables describe the types of parameters in the gw.cfg file:

IP interface parameters

The parameters in the following table define IP interface settings for the 3G-324M Interface:

Parameter

Type

Default

Description

destIPAddr_audio

string

10.1.8.94

IP address of the system (server) receiving the audio RTP stream from the 3G-324M Interface.

destIPAddr_video

string

10.1.8.94

IP address of the system (server) receiving the video RTP stream from the 3G-324M Interface.

destPort_audio

DWORD

3000

UDP port on the remote system (server) receiving the audio RTP stream.

destPort_video

DWORD

4000

UDP port on the remote system (server) receiving the video RTP stream.

h263encapRfc

unsigned int

2429

H.263 encapsulation RFC number to employ on H.263 video endpoints created:

2190: RFC 2190

2429: RFC 2429

simplexEPs

int

0

Type of endpoints and channels to use for inbound and outbound audio and video paths:

0: Uses separate simplex endpoints and channels.

1: Uses duplex endpoints and channels.

srcIPAddr_audio

string

10.1.8.94

IP address of the 3G-324M Interface sending or receiving the audio RTP stream.

srcIPAddr_video

string

10.1.8.94

IP address of the 3G-324M Interface sending or receiving the video RTP stream.

srcPort_audio

DWORD

1000

UDP port on the 3G-324M Interface receiving the audio RTP stream from the server.

srcPort_video

DWORD

2000

UDP port on the 3G-324M Interface receiving the video RTP stream from the server.

useIPv6

int

0

IP network type for the gateway:

0: IPv4

1: IPv6

System and error processing parameters

The parameters in the following table define system-level and error processing settings for the 3G-324M Interface:

Parameter

Type

Default

Description

enableAVsync

int

0

Enables or disables audio and video RTP endpoints to perform incoming skew calculations:

0: Disables RTP endpoints from performing incoming skew calculations.

1: Enables endpoints from performing incoming skew calculations.

h324LogFile

string

h324.log

3G-324M Interface log file name.

nCalls

int

0

Load test parameter for the number of calls.

A value of -1 runs the test indefinitely.

nPorts

int

1

Number of ports to run.

notifyDemuxErrors

int

0

Enables or disables DEMUX error detection on the 3G-324M interface:

0: Disables DEMUX error detection.

1: Enables DEMUX error detection.

notifyIframe

int

0

Enables or disables I-Frame reporting with DCI from both the 324M-to-IP and IP-to-324M directions:

0: Disables I-Frame reporting.

1: Enables I-Frame reporting.

outOfBandDCImode

unsigned char

1

0: No change.

1: Replaces only initial in-band DCI with out-of-band DCI.

2: Replaces all in-band DCI with out-of-band DCI.

3: Replaces all in-band DCI with out-of-band DCI and inserts out-of-band DCI before every I-frame.

SendDciTo3gpLib

unsigned char

0

Enables or disables sending out-of-band video decoder information to the 3GP library:

0: Disables sending out-of-band video decoder information (MPEG4 or H.264) to the 3GP library.

1: Enables sending out-of-band video decoder information to the 3GP library.

StopPlayRecOnUII

int

0

Enables or disables stopping of simultaneous play/record operation when a user input indication command is received and then starts to play the recorded file.

0: Disables the automatic stopping of simultaneous play/record operation when user input is received.

1: Enables the automatic stopping of simultaneous play/record operation when user input is received.

terminalType

int

201

Determines whether the gateway is master or slave for H.245 negotiations.

Range: 0-255

vidSkewTime

int

0

Video skew value (in ms) sent to a video RTP endpoint. This value is used to adjust video with respect to audio.

A positive value indicates that the video lags audio. A negative value indicates that the video leads audio.

The maximum value is 4095.

Video transcoder parameters

The parameters in the following table define video transcoder settings for the 3G-324M Interface:

Parameter

Type

Default

Description

trcConfigFile

string

trc.cfg

Video transcoder configuration file name. Refer to the Video Transcoder Installation and Developer's Reference Manual for information.

trcFileTraceMask

int

0x20

Video transcoder trace mask into file.

trcLogFile

string

trc.log

Video transcoder log file name. This file is created only when the video transcoder is in use (useVideoXc = 1).

trcTraceMask

int

0x20

Video transcoder trace mask. Refer to the Video Transcoder Installation and Developer's Reference Manual for information.

useVideoXc

int

0

Enables or disables use of the video transcoder in the application.

0: Does not use the video transcoder.

1: Uses the video transcoder.

TDM interface parameters

The parameters in the following table define TDM settings for the 3G-324 Interface:

Parameter

Type

Default

Description

interfaceType

string

E1

3G-324M trunk interface type:

E1: E1 interface type

T1: T1 interface type

This value must match the value of the NetworkInterface.T1E1[x].Type keyword in the CG board's board keyword file.

isdn_country

unsigned int

1000 (Europe)

Country mode for the network operator variant in which to start. The behavior of a variant can change depending on the country specified. For valid operator and country combinations, refer to the NMS ISDN Messaging API Developers Reference Manual.

isdn_dNT_TE

DWORD

2 (EQUIPMENT_NT)

ISDN partner equipment setting:

1: Board acts as a network.

2: Board connects to a network.

isdn_operator

unsigned int

11 (Euro)

Network operator variant in which to start. For valid operator and country combinations, refer to the NMS ISDN Messaging API Developers Reference Manual.

mux_timeslot

int

0

Timeslot for creating the MUX endpoint.

Audio and video codec parameters

The parameters in the following table define audio and video codec settings for the 3G-324M Interface:

Parameter

Type

Default

Description

Audio_Format

int

1 (N_AMR)

Audio format:

1: AMR

2: G.723

enableH263Profile3

int

0 (disable)

Enables or disables support for H.263+ profile 3:

0: Disables support for H.263+ profile 3.

1: Enables support for H.263+ profile 3.

h263_maxBitRate

unsigned int

43000

H.263 maximum bit rate specified in local capabilities.

h263Resolution

int

0 (QCIF)

H.263 video resolution specified in local capabilities. Possible values are QCIF or SQCIF.

Video_AlternateFormat

int

0 (NO_VIDEO)

Secondary video format:

0: No video.

1: MPEG-4

2: H.263

4: H.264

Video_Format

int

2 (H.263)

Preferred video format:

1: MPEG-4

2: H.263

4: H.264

3G-324M and call setup parameters

The parameters in the following table define 3G-324M and call setup settings for the 3G-324M Interface:

Parameter

Type

Default

Description

advanced264Parameters

int

0

Enables or disables setting of the ProfileIOP and AcceptRedundantSlices parameters in local capabilities:

0: Disables setting the parameters.

1: Enables setting the parameters
(ProfileIOP set to 0, AcceptRedundantSlices set to TRUE).

AutoHangup

int

0

Selects whether or not to disconnect the call after receiving the second ADIEVN_PLAY_DONE event.

0: Does not disconnect the call.

1: Disconnects the call.

AutoPlaceCall

int

0

0: Places a call.

1: Places a first call automatically. Place a new call when disconnected.

BetweenCallsTime

unsigned int

3000

Timeout (in milliseconds) to place a new call when disconnected in AutoPlaceCall mode.

DialNumber

string

2000

Number to dial when placing a call in AutoPlaceCall mode.

max_nal_unit_size

int

0

Enables or disables setting of max_nal_unit_size parameter in local capabilities per the H.241 specification.

0: Does not set max_nal_unit_size parameter in local capabilities.

Any positive integer: Sets max_nal_unit_size parameter in local capabilities to specified value.

NalAlignedMode

int

0

Enables or disables setting of NalAlignedMode parameter in local capabilities:

0: Does not set NalAlignedMode parameter in local capabilities.

1: Sets NalAlignedMode in local capabilities.

specifyDci

int

1

Indicates whether to specify MPEG-4 VO/VOL or H.264 DCI in the video OLC:

0: Does not specify MPEG-4 VO/VOL or H.264 DCI in the video OLC.

1: Specifies MPEG-4 VO/VOL or H.264 DCI in the video OLC.

TromboneOnUUI

int

0

Enables or disables tromboning when a terminal sends a UUI command:

0: Tromboning is not performed.

1: Two 3G-324M ports are tromboned together when a terminal sends a UUI command. Only applies if both ports negotiated H.263 video codecs.

videoWithAL2

int

1

Turns on video with AL2 support in the terminal capabilities set:

0: Does not support video with AL2. Use video with AL3.

1: Supports video with AL2.