This section discusses how to configure the demo for your system. It contains the following topics:
4.2.1. Configuration File LocationBefore running the IP Gateway (Global Call) demo, modify the gateway_r4.cfg file to reflect your system environment. Use a text editor and open the file from:
4.2.2. Editing the gateway_r4.cfg FileBelow is an example of the gateway_r4.cfg file. Update the following information:
ipProtocol
The IP Protocol used for opening the IP Line devices, values: H323, SIP, both
Channel
Channels defined by this section of the file - may be individual channel or a range of channels
Source
Source address
Destination
Destination address
RemotePhoneNumber
Destination phone number to call. Transferred during call establishment to target gateway.
LocalPhoneNumber
The number used for PSTN calls
pstnProtocol
PSTN protocol to use
DTMFmode
One of the following: OutOfBand, inband, rfc2833
AudioRxCodecs
Capability for receive audio codecs. The following capabilities are defined:
· g711Alaw
· g711Mulaw
· gsm
· gsmEFR
· g723_5_3k
· g723_6_3k
· g729a
· g729ab
AudioTxCodecs
Capability for transmit audio codecs. See AudioRxCodecs for a complete description.
DataCodecs
Capability for fax codecs. The demo currently support T38 only.
MediaAlarmLostPackets
Indicates that the percentage of packets lost during a call exceeded its threshold value
MediaAlarmJitter
Indicates that the jitter (as defined in RFC 1889) exceeded its threshold value
Display
Display information passed to destination gateway during call establishment
IPT_UUI
User to User Information string. Information sent before Connected state.
UII
User Input Indication string to send
NonStdParm
Non-standard parameter data to send
NonStdCmd
Non-standard command string to send
ObjId
Object ID
Q931Facility
Facility data to send on the Q.931 channel
DTMF
DTMF mode. Possible options: OutOfBand, inband, rfc2833
enableRegestration
Register with gatekeeper
TTL
Time-to-live parameter (in seconds)
Protocol
Call control protocol. Possible values: h323, SIP, both
max_hops
Maximum number of router hops
regServerAddress
Gatekeeper IP address. Use 0.0.0.0 as the default address for discovering the GK
NonStdRasCmd
Non-standard RAS command string to send
RasObjId
RAS object ID
Alias
Possible alias types: 1 = string, 2 = IP address, 3 = H323 ID, 4 = phone, 5 = URL, 6 = EMail
The following is an example of a configuration file.
########################################################################################
# Telephony Protocol :
# For ANAPI(Analog Front End) use the root file name of the analog protocol file for your country or telephone network)
# For ICAPI (Digital Front End) use the root file name of the country dependent parameter <.cdp> file
# IP Protocol :
# The IP Protocol used for opening the IP Line devices, values: H323, SIP, both
#
# DTMFmode
# possible options:
# OutOfBand, inband, rfc2833
#
#
# Capability for audio codecs:
# g711Alaw
# g711Mulaw
# gsm
# gsmEFR
# g723_5_3k
# g723_6_3k
# g729a
# g729ab
#
# Capability for data codecs:
# t38
#
# Note: if you want to run the demo with coder g729 use:
# g729a for running with VAD disable
# and 729ab for running with VAD enable
#
# Caution:
# If capability is g711Alaw /Mulaw ==> FramesPerPkt = 10,20,30.
# G711 frame per packet defines the packet size in milliseconds
# If capability is g723_5_3k / 6_3k ==> FramesPerPkt = 1, 2, 3 .
# FrameSize isn't needed, default= 30ms.
# If capability is gsm ==> FramesPerPkt = 1, 2, 3 .
# FrameSize isn't needed, default= 20ms.
# If capability is gsmEFR ==> FramesPerPkt = 1, 2, 3 .
# FrameSize isn't needed, default= 20ms.
# If capability is g729a ==> FramesPerPkt = 3, 4 .
# FrameSize isn't needed, default= 10ms.
# VAD disable, the VAD parameter is ignored
# If capability is g729ab ==>FramesPerPkt = 3, 4 .
# FrameSize isn't needed, default= 10ms.
# VAD enable, the VAD parameter is ignored
#
########################################################################################
ipProtocol = H323
Channel = 1-120
{
Source = NAME:Intel Corp.
Destination = 0.0.0.0
RemotePhoneNumber = 23
LocalPhoneNumber = 26
pstnProtocol = isdn
DTMFmode = OutOfBand
AudioRxCodecs
{
CoderType = g711Mulaw
CoderFramesPerPkt = 30
CoderVAD = 0
}
AudioTxCodecs
{
CoderType = g711Mulaw
CoderFramesPerPkt = 30
CoderVAD = 0
}
DataCodecs
{
CoderType = t38
}
MediaAlarmLostPackets
{
Threshold = 20 # Threshold value
DebounceOn = 10000 # Threshold debounce ON
DebounceOff = 10000 # Threshold debounce OFF
Interval = 1000 # Threshold Time Interval (ms)
PercentSuccess = 60 # Threshold Success Percent
PercentFail = 40 # Threshold Fail Percent
}
MediaAlarmJitter
{
Threshold = 60 # Threshold value
DebounceOn = 20000 # Threshold debounce ON
DebounceOff = 60000 # Threshold debounce OFF
Interval = 5000 # Threshold Time Interval (ms)
PercentSuccess = 60 # Threshold Success Percent
PercentFail = 40 # Threshold Fail Percent
}
# MediaAlarmResetAlarmState = 0
Display = GATEWAY_Chan1
IPT_UUI = User_to_User_1
UII = 12345
NonStdParm = NSP_Chan1
NonStdCmd = NSC_Chan1
ObjId = 2 16 840 1 113741
Q931Facility = facility 01
DTMF = 1
}
#values - 1 -to enable board regestration , 0 not enabling board regestration
enableRegestration = 0
board = 1-1
{
# time to live in seconds
TTL = 60
# possible values: h323, SIP, both
Protocol = h323
max_hops = 20
# use 0.0.0.0 as the default address for descovering the GK
regServerAddress = 10.242.214.45
NonStdRasCmd = NSC_Chan1
RasObjId = Intel
# possible alias types: 1 = string, 2 = IP address, 3 = H323 ID, 4 = phone, 5 = URL, 6 = EMail
Alias = 1
{
AliasType = 3
AliasName = intel
}
Alias = 2
{
AliasType = 4
AliasName = 1111
}
Prefix = 1
{
PrefixType = 3
PrefixName = pmac
}
Alias = 3
{
AliasType = 4
AliasName = 2222
}
}
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation