This topic provides sample files to use for configuring CG boards for a video server application with a 3G-324M gateway. Refer to the CG board installation and developer's manual for general information about configuring the board.
For the gateway portion:
Twelve DSPs are reserved in the MUX_DEMUX pool for the 3G-324M interface, providing a total of 120 3G-324M MUX/DEMUX ports. Each DSP can support 10 MUX/DEMUX ports, available on timeslots 0 through 119 (specified in ctaOpenServices).
For the server portion:
Eight DSPs are reserved in the IVR pool for the silence detection and ADI IVR operation, providing a total of 90 ports, available in timeslots 120 through 209 (specified in ctaOpenServices).
Eighteen DSPs are reserved in the RTP pool for the audio transcoding (AMR and G.723), providing a total of 90 ports, available in timeslots 210 through 299 (specified in ctaOpenServices).
The video-specific settings in the following sample configuration file are shown in bold.
################################################################
#
# video_mail_6565.cfg
#
# CG6565 Boot configuration file for Video Mail System
#
################################################################
################################################################
# CG6565 IP 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 = 10.118.7.133
IPC.AddRoute[0].Mask = 255.255.0.0
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 = 10.1.0.1
################################################################
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
################################################################
# E1 SPECIFICS
TCPFiles = nocc isd0
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 = PRI
NetworkInterface.T1E1[0..15].D_Channel = ISDN
DSPStream.VoiceIdleCode[0..15] = 0xD5
DSPStream.SignalIdleCode[0..15] = 0x09
Hdlc[0..3].Boot = YES
Hdlc[0..3].Hardware.TxTimeSlot = 16
Hdlc[0..3].Hardware.RxTimeSlot = 16
################################################################
# CLOCK SETTINGS
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = NETWORK
Clocking.HBus.ClockSourceNetwork = 1
################################################################
# DSP RELATED SETTINGS
################################################################
DSP.C5x[0..95].Os = dspos6u
# DSP Libraries - E1
DSP.C5x[0..95].Libs = cg6kliba f_shared
# ---------------------------------------------------------
# Set up the voice processing DSP's in A_LAW (for E1)
# Set up the MUX DSP's in NO_LAW so they won't compand
# ---------------------------------------------------------
DSP.C5x[0..95].XLaw = A_LAW
DSP.C5x[0..11].XLaw = NO_LAW
# ----------------------------------------------------------------
# Very important for MUX DSP's in 3G-324M Interface configuration!
# ----------------------------------------------------------------
DSP.C5x[0..11].DataInQSize = 0x800
DSP.C5x[0..11].DspOutQStart = 0x2900
DSP.C5x[0..11].DspOutQSize = 0x900
################################################################
# RESOURCE MANAGEMENT
################################################################
################################################################
# Resource Pool 1 - MUX
################################################################
Resource[0].Name = MUX_DEMUX
Resource[0].TCPs = nocc isd0
Resource[0].DSPs = 0 1 2 3 4 5 6 7 8 9 10 11
Resource[0].Size = 120
Resource[0].StartTimeSlot = 0
Resource[0].Definitions = (mux.mux & mux.demux)
################################################################
# Resource Pool 2 - IVR (for Silence Detection)
################################################################
Resource[1].Name = IVR
Resource[1].TCPs = nocc isd0
Resource[1].DSPs = 12 13 14 15 16 17 18 19
Resource[1].Size = 90
Resource[1].StartTimeSlot = 120
Resource[1].Definitions = ( tone.gen | dtmf.det_all | dtmf.dtmf_sil_clrdwn |\
(rvoice.rec_alaw & rvoice.play_alaw) )
################################################################
# Resource Pool 3 - Fusion AMR/G723
################################################################
#Resource[2].Name = RTP
#Resource[2].TCPs = nocc isd0
#Resource[2].DSPs = 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#Resource[2].Size = 90
#Resource[2].StartTimeSlot = 210
#Resource[2].Definitions = ( (f_amr.cod & f_amr.dec) | \
# (f_g723.cod & f_g723.dec) )
##############################################################################
# DOWNLOADABLE RUNTIME MODULES6krun
DLMFiles[0] = cg6565fusion
DLMFiles[1] = c6565igen
##########################################################
# DEBUG STUFF
DebugMask = 0x0
################################################################
For the gateway portion:
Six DSPs are reserved in the MUX_DEMUX pool for the 3G-324M interface, providing a total of 60 3G-324M MUX/DEMUX ports. Each DSP can support 10 MUX/DEMUX ports, available on timeslots 0 through 59 (specified in ctaOpenServices).
For the server portion:
Four DSPs are reserved in the IVR pool for the silence detection and ADI IVR operation, providing a total of 40 ports, available in timeslots 60 through 99 (specified in ctaOpenServices).
Eight DSPs are reserved in the RTP pool for the audio transcoding (AMR and G.723), providing a total of 40 ports, available in timeslots 100 through 139 (specified in ctaOpenServices).
The video-specific settings in the following sample configuration file are shown in bold.
################################################################
#
# video_mail_6060.cfg
#
# CG6060 Boot configuration file for Video Mail System
#
################################################################
################################################################
# CG6060 IP 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 = 10.118.7.133
IPC.AddRoute[0].Mask = 255.255.0.0
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 = 10.1.0.1
################################################################
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
################################################################
# E1 SPECIFICS
TCPFiles = nocc isd0
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 = PRI
NetworkInterface.T1E1[0..15].D_Channel = ISDN
DSPStream.VoiceIdleCode[0..15] = 0xD5
DSPStream.SignalIdleCode[0..15] = 0x09
Hdlc[0..3].Boot = YES
Hdlc[0..3].Hardware.TxTimeSlot = 16
################################################################
# CLOCK SETTINGS
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = NETWORK
Clocking.HBus.ClockSourceNetwork = 1
################################################################
# DSP RELATED SETTINGS
################################################################
DSP.C5x[0..47].Os = dspos6u
# DSP Libraries - E1
DSP.C5x[0..47].Libs = cg6kliba f_shared
# ---------------------------------------------------------
# Set up the voice processing DSP's in A_LAW (for E1)
# Set up the MUX DSP's in NO_LAW so they won't compand
# ---------------------------------------------------------
DSP.C5x[0..47].XLaw = A_LAW
DSP.C5x[0..5].XLaw = NO_LAW
# ----------------------------------------------------------------
# Very important for MUX DSP's in 3G-324M Interface configuration!
# ----------------------------------------------------------------
DSP.C5x[0..5].DataInQSize = 0x800
DSP.C5x[0..5].DspOutQStart = 0x2900
DSP.C5x[0..5].DspOutQSize = 0x900
################################################################
# RESOURCE MANAGEMENT
################################################################
################################################################
# Resource Pool 1 - MUX
################################################################
Resource[0].Name = MUX_DEMUX
Resource[0].TCPs = nocc
Resource[0].DSPs = 0 1 2 3 4 5
Resource[0].Size = 60
Resource[0].StartTimeSlot = 0
Resource[0].Definitions = (mux.mux & mux.demux)
################################################################
# Resource Pool 2 - IVR (for Silence Detection)
################################################################
Resource[1].Name = IVR
Resource[1].TCPs = nocc
Resource[1].DSPs = 6 7 8 9
Resource[1].Size = 40
Resource[1].StartTimeSlot = 60
Resource[1].Definitions = ( tone.gen | dtmf.det_all | dtmf.dtmf_sil_clrdwn |\
(rvoice.rec_alaw & rvoice.play_alaw) )
################################################################
# Resource Pool 3 - Fusion AMR/G723
################################################################
#Resource[2].Name = RTP
#Resource[2].TCPs = nocc
#Resource[2].DSPs = 10 11 12 13 14 15 16 17
#Resource[2].Size = 40
#Resource[2].StartTimeSlot = 100
#Resource[2].Definitions = ( (f_amr.cod & f_amr.dec) | \
# (f_g723.cod & f_g723.dec) )
##############################################################################
# DOWNLOADABLE RUNTIME MODULES6krun
DLMFiles[0] = cg6060fusion
DLMFiles[1] = c6060igen
##########################################################
# DEBUG STUFF
DebugMask = 0x0
################################################################
For the gateway portion:
Twelve DSPs are reserved in the MUX_DEMUX pool for the 3G-324M interface, providing a total of 48 3G-324M MUX/DEMUX ports. Each DSP can support four MUX/DEMUX ports, available on timeslots 0 through 47 (specified in ctaOpenServices).
For the server portion:
Eight DSPs are reserved in the IVR pool for the silence detection and ADI IVR operation, providing a total of 32 ports, available in timeslots 48 through 79 (specified in ctaOpenServices).
Eight DSPs are reserved in the RTP pool for the audio transcoding (AMR and G.723), providing a total of 32 ports, available in timeslots 80 through 111 (specified in ctaOpenServices).
The video-specific settings in the following sample configuration file are shown in bold.
################################################################
#
# video_mail_6000.cfg
#
# CG6000 Boot configuration file for Video Mail System
#
#
################################################################
################################################################
# CG6000 IP 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 = 10.118.7.121
IPC.AddRoute[0].Mask = 255.255.0.0
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 = 10.1.0.1
################################################################
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
################################################################
# E1 SPECIFICS
TCPFiles = nocc isd0
NetworkInterface.T1E1[0..3].Type = E1
NetworkInterface.T1E1[0..3].Impedance = G703_120_OHM
NetworkInterface.T1E1[0..3].LineCode = HDB3
NetworkInterface.T1E1[0..3].FrameType = CEPT
NetworkInterface.T1E1[0..3].SignalingType = PRI
NetworkInterface.T1E1[0..3].D_Channel = ISDN
DSPStream.VoiceIdleCode[0..3] = 0xD5
DSPStream.SignalIdleCode[0..3] = 0xB
Hdlc[0,3,6,9].Boot = YES
Hdlc[0,3,6,9].Comet.TxTimeSlot = 16
Hdlc[0,3,6,9].Comet.RxTimeSlot = 16
################################################################
MaxChannels = 150
################################################################
# CLOCK SETTINGS
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = NETWORK
Clocking.HBus.ClockSourceNetwork = 1
################################################################
################################################################
# DSP RELATED SETTINGS
################################################################
DSP.C5x[0].Files = qtsignal callp tone ptf dtmf echo mf
DSP.C5x[1..31].DataReqTimeOffset = 7
# DSP Libraries - E1
DSP.C5x[0..31].Libs = cg6kliba f_shared
# ---------------------------------------------------------
# Set up the voice processing DSP's in A_LAW (for E1)
# Set up the MUX DSP's in NO_LAW so they won't compand
# ---------------------------------------------------------
DSP.C5x[0..31].XLaw = A_LAW
DSP.C5x[1..12].XLaw = NO_LAW
# ----------------------------------------------------------------
# Very important for MUX DSP's in 3G-324M Interface configuration!
# ----------------------------------------------------------------
DSP.C5x[1..12].DataInQSize = 0x2D0
DSP.C5x[1..12].DspOutQStart = 0xFB50
DSP.C5x[1..12].DspOutQSize = 0x3A0
################################################################
################################################################
# RESOURCE MANAGEMENT
#
################################################################
################################################################
# Resource Pool 1 - MUX
################################################################
Resource[0].Name = MUX_DEMUX
Resource[0].TCPs = nocc isd0
Resource[0].DSPs = 1 2 3 4 5 6 7 8 9 10 11 12
Resource[0].Size = 48
Resource[0].StartTimeSlot = 0
Resource[0].Definitions = (mux.mux & mux.demux)
################################################################
# Resource Pool 2 - IVR (for Silence Detection)
################################################################
Resource[1].Name = IVR
Resource[1].TCPs = nocc isd0
Resource[1].DSPs = 13 14 15 16 17 18 19 20
Resource[1].Size = 32
Resource[1].StartTimeSlot = 48
Resource[1].Definitions = ( tone.gen | dtmf.det_all | dtmf.dtmf_sil_clrdwn |\
(rvoice.rec_alaw & rvoice.play_alaw) )
################################################################
# Resource Pool 3 - Fusion AMR/G723
################################################################
Resource[2].Name = RTP
Resource[2].TCPs = nocc isd0
Resource[2].DSPs = 21 22 23 24 25 26 27 28
Resource[2].Size = 32
Resource[2].StartTimeSlot = 80
Resource[2].Definitions = ( (f_amr.cod & f_amr.dec) | \
(f_g723.cod & f_g723.dec) )
################################################################
# DOWNLOADABLE RUNTIME MODULES
DLMFiles[0] = cg6krun
DLMFiles[1] = cg6kfusion
DLMFiles[2] = isdngen
################################################################
################################################################
# DEBUG STUFF
DebugMask = 0x00
##############################################################