# Sample E1 system configuration file

The following sample configuration file cg6565fusion.cfg is provided with the Fusion software. This configuration file configures a typical CG board to boot up in standalone mode so that it runs 240 ports:

#
# cg6565fusion.cfg
# CG 6565 configuration file
#
# This file configures the board to run Fusion with NOCC in E1
#
#----------------------------------------------------
# IP V4 Address, subnet mask, and gateway IP address
#-----------------------------------------------------
# Note: the IP configuration below is for a Ethernet Failover
# THIS CONFIGURATION FILE WILL FAIL UNLESS THE VARIABLE STRINGS
# BELOW ARE REPLACE WITH REAL IP ADDRESSES.
IPC.AddRoute[0].DestinationAddress = x.x.x.x
IPC.AddRoute[0].Mask = y.y.y.y
IPC.AddRoute[0].Interface = 1
#IPC.AddRoute[1].DestinationAddress = 0.0.0.0
#IPC.AddRoute[1].Mask = 0.0.0.0
#IPC.AddRoute[1].GatewayAddress = z.z.z.z
################################################################
#----------------------------------------------------
# Uncomment this section to use IPV6
#----------------------------------------------------
# The following IPv6.Link.XXX enable both ethernet interfaces
# for IPv6 with default values - refer to the CG 6565 board
# hardware manual for more detaiils.
################################################################
#IPv6.Link[0].Enable = YES
#IPv6.Link[0].IPSec = NO
#IPv6.Link[0].MTU = 1500
#IPv6.Link[0].HopLimit = 64
#IPv6.Link[0].EnablePing = YES
#IPv6.Link[0].ICMPRateLimit = 100
#IPv6.Link[0].NDAttempts = 3
#IPv6.Link[0].NDRetranTimer = 1000
#IPv6.Link[0].NDReachabilityTImer = 30000
#
#IPv6.Link[1].Enable = YES
#IPv6.Link[1].IPSec = NO
#IPv6.Link[1].MTU = 1500
#IPv6.Link[1].HopLimit = 128
#IPv6.Link[1].EnablePing = YES
#IPv6.Link[1].ICMPRateLimit = 100
#IPv6.Link[1].NDAttempts = 3
#IPv6.Link[1].NDRetranTimer = 1000
#IPv6.Link[1].NDReachabilityTImer = 30000
################################################################
# Throughpacket configuration settings
#
#Configures the Throughpacket DLM at boot time.
#TPKT.Enable = 1
#
# UDP port numbers for Throughpacket Simple protocol.
#TPKT.SimpleRxPort = 49152
#TPKT.SimpleTxPort = 49152
#
# UDP port numbers for Throughpacket complex protocol.
#TPKT.ComplexRxPort = 49153
#TPKT.ComplexTxPort = 49153
#
# Number of conditions specified for Throughpacket data transmission.
#TPKT.NumberOfComplexForwardConditions = 4
#
# Total conditions possible. This value MUST always be set to 8.
#TPKT.ComplexForward.Count = 8
#
# Data transmission conditions for Throughpacket complex protocol
#TPKT.ComplexForward[0].LifeTimeTicks = 0
#TPKT.ComplexForward[0].DestinationPacketSize = 1440
#TPKT.ComplexForward[1].LifeTimeTicks = 1
#TPKT.ComplexForward[1].DestinationPacketSize = 980
#TPKT.ComplexForward[2].LifeTimeTicks = 2
#TPKT.ComplexForward[2].DestinationPacketSize = 700
#TPKT.ComplexForward[3].LifeTimeTicks = 3
#TPKT.ComplexForward[3].DestinationPacketSize = 1
#TPKT.ComplexForward[4].LifeTimeTicks = 0
#TPKT.ComplexForward[4].DestinationPacketSize = 0
#TPKT.ComplexForward[5].LifeTimeTicks = 0
#TPKT.ComplexForward[5].DestinationPacketSize = 0
#TPKT.ComplexForward[6].LifeTimeTicks = 0
#TPKT.ComplexForward[6].DestinationPacketSize = 0
#TPKT.ComplexForward[7].LifeTimeTicks = 0
#TPKT.ComplexForward[7].DestinationPacketSize = 0
################################################################
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = OSC
# DSP.C5x[x].Os strongly recommended - adjust the dsp number range accordingly
DSP.C5x[0..95].Os = dspos6u
#---------------------------
# NOTE: T1 configuration
#---------------------------
#NetworkInterface.T1E1[0..15].Type = T1
#NetworkInterface.T1E1[0..15].Impedance = DSX1
#NetworkInterface.T1E1[0..15].LineCode = B8ZS
#NetworkInterface.T1E1[0..15].FrameType = ESF
#NetworkInterface.T1E1[0..15].SignalingType = RAW
#DSPStream.VoiceIdleCode[0..15] = 0x7F
#DSPStream.SignalIdleCode[0..15] = 0x00
#DSP.C5x[0..95].Libs = cg6klibu f_shared
#DSP.C5x[0..95].XLaw = MU_LAW
#---------------------------
# NOTE: E1 configuration
#---------------------------
NetworkInterface.T1E1[0..15].Type = E1
NetworkInterface.T1E1[0..15].Impedance = G703_120_OHM
NetworkInterface.T1E1[0..15].LineCode = HDB3
NetworkInterface.T1E1[0..15].FrameType = CEPT
NetworkInterface.T1E1[0..15].SignalingType = RAW
DSPStream.VoiceIdleCode[0..15] = 0xD5
DSPStream.SignalIdleCode[0..15] = 0x0D
DSP.C5x[0..95].Libs = cg6kliba f_shared
DSP.C5x[0..95].XLaw = A_LAW
#---------------------------
# Hardware Echo Cancellation
# NOTE: it is in by pass by default
# NOTE: uncomment the following two keyword lines to enable and set the XLaw accordingly
#---------------------------
# HardwareEcho.EchoChipEnabled = YES
# HardwareEcho.XLaw = A_LAW
#---------------------------
# Resource management
#---------------------------
# Before modifying this resource definition string refer to the CG6565
# Installation and Developers Manual.
# 1. Load dtmf, f_g711, f_g726, f_faxt38.
# 2. Do not load f_echo
#################################################################
Resource[0].Name = RSC1
Resource[0].Size = 240
Resource[0].TCPs = nocc
Resource[0].StartTimeSlot = 0
Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
((f_g726.cod_rfc2833 & f_g726.dec_rfc2833) | \
(f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
f_faxt38.relay)) | \
(dtmf.det_all & \
((f_g726.cod & f_g726.dec) | \
(f_g711.cod & f_g711.dec) | \
f_faxt38.relay)))
# Load dtmf, f_g711, f_g723, f_faxt38.
######################################
# Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
# ((f_g723.cod_rfc2833 & f_g723.dec_rfc2833) | \
# (f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
# f_faxt38.relay)) | \
# (dtmf.det_all & \
# ((f_g723.cod & f_g723.dec) | \
# (f_g711.cod & f_g711.dec) | \
# f_faxt38.relay)))
# Load dtmf, f_g711, f_g729a, f_faxt38.
######################################
# Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
# ((f_g723.cod_rfc2833 & f_g723.dec_rfc2833) | \
# (f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
# f_faxt38.relay)) | \
# (dtmf.det_all & \
# ((f_g729a.cod & f_g729a.dec) | \
# (f_g711.cod & f_g711.dec) | \
# f_faxt38.relay)))
# Load dtmf, f_g711, f_amr, f_faxt38.
######################################
# Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
# ((f_amr.cod_rfc2833 & f_amr.dec_rfc2833) | \
# (f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
# f_faxt38.relay)) | \
# (dtmf.det_all & \
# ((f_amr.cod & f_amr.dec) | \
# (f_g711.cod & f_g711.dec) | \
# f_faxt38.relay)))
# Load dtmf, f_g711, f_evrc, f_faxt38.
######################################
# Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
# ((f_evrc.cod_rfc2833 & f_evrc.dec_rfc2833) | \
# (f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
# f_faxt38.relay)) | \
# (dtmf.det_all & \
# ((f_evrc.cod & f_evrc.dec) | \
# (f_g711.cod & f_g711.dec) | \
# f_faxt38.relay)))
# Load dtmf, f_g711, f_ilbc_20, f_faxt38.
#########################################
# Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
# ((f_ilbc_20.cod_rfc2833 & f_ilbc_20.dec_rfc2833) | \
# (f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
# f_faxt38.relay)) | \
# (dtmf.det_all & \
# ((f_ilbc_20.cod & f_ilbc_20.dec) | \
# (f_g711.cod & f_g711.dec) | \
# f_faxt38.relay)))
# Load dtmf, f_g711, f_ilbc_30, f_faxt38.
#########################################
# Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
# ((f_ilbc_30.cod_rfc2833 & f_ilbc_30.dec_rfc2833) | \
# (f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
# f_faxt38.relay)) | \
# (dtmf.det_all & \
# ((f_ilbc_30.cod & f_ilbc_30.dec) | \
# (f_g711.cod & f_g711.dec) | \
# f_faxt38.relay)))
# Load dtmf, f_g711, f_ilbc_30, f_faxt38.
#########################################
# Resource[0].Definitions = ((dtmf.det_sil_clrdwn_ced & \
# ((f_gsm_fr.cod_rfc2833 & f_gsm_fr.dec_rfc2833) | \
# (f_g711.cod_rfc2833 & f_g711.dec_rfc2833) | \
# f_faxt38.relay)) | \
# (dtmf.det_all & \
# ((f_gsm_fr.cod & f_gsm_fr.dec) | \
# (f_g711.cod & f_g711.dec) | \
# f_faxt38.relay)))
# NOTE: If the DSP cores listed below do not exist on the board, the DSP cores will
# be ignored and will not be booted or used
Resource[0].Dsps = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 \
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
DebugMask = 0x0
DLMFiles[0] = cg6565fusion
#DLMFiles[1] = cg6565tpkt