# Sample board keyword files

This topic presents sample board keyword files for running NaturalFax on the following boards:

- AG 2000/200

- AG 4000/1600

- CG 6000C

- CG 6100C

- CG 6500C

## Sample AG 2000/200 board keyword file

The following sample board keyword file sets up an AG 2000/200 board for NaturalFax using mu-law:

#--------------------------------------------------------------
# agpi2fax.cfg
#
# --- Alliance Generation Plug-Ins Configuration ---
#
# Sample configuration file for AG-2000/200 or AG-2000/400 with
# NaturalFax
#
# Board settings:
# Product = AG_2000
#--------------------------------------------------------------
# Uncomment the appropriate Trunk Control Protocol(s)
TCPFiles[0] = nocc.tcp # "no trunk control" protocol
TCPFiles[1] = lps0.tcp # Loopstart protocol
DLMFiles = gtp.leo voice.leo svc.leo ag2fax.leo
DSP.C5x[0].Image = ag2fax.c54
XLaw = MU-LAW
Clocking.HBus.ClockSource = OSC
Clocking.HBus.ClockMode = STANDALONE
DSP.C5x[1..3].Files = mf signal callp tone dtmf ptf voice
# Default DSP file for AG 2000

## Sample AG 4000/1600 board keyword file

The following sample board keyword file sets up an AG 4000/1600 board for NaturalFax using mu-law:

#--------------------------------------------------------------
# agpi4fax.cfg
#
# --- Alliance Generation Plug-Ins Configuration ---
#
# Sample configuration file for AG-4000/1600 with NaturalFax
#
# Board settings:
# Product = AG_4000_2T1
#--------------------------------------------------------------
# Uncomment the appropriate Trunk Control Protocol(s)
TCPFiles[0] = nocc.tcp # "no trunk control" protocol
TCPFiles[1] = wnk0.tcp # 2-way wink protocol
DLMFiles = gtp.leo voice.leo svc.leo ag2fax.leo
DSP.C5x[7..15].Image = ag2fax.c54
XLaw = mu-LAW
Clocking.HBus.ClockSource = OSC
Clocking.HBus.ClockMode = STANDALONE
NetworkInterface.T1E1[0..1].LineCode = AMI_ZCS
NetworkInterface.T1E1[0..1].FrameType = D4
DSP.C5x.DSPFiles = mf callp tone dtmf ptf voice
# default DSP file for AG 4000

## Sample CG 6000C board keyword file

The following sample board keyword file configures a CG 6000C board to run voice with NOCC:

#####################################################################
#
# cgfax.cfg
#
# CG 6000 Boot configuration file for a T1 with voice and fax
# using MU-law.
#
#
#####################################################################
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = OSC
Clocking.HBus.ClockSourceNetwork = 1
TCPFiles = nocc wnk0
DSPStream.VoiceIdleCode[0..3] = 0x7F
DSPStream.SignalIdleCode[0..3] = 0x00
NetworkInterface.T1E1[0..3].Type = T1
NetworkInterface.T1E1[0..3].Impedance = DSX1
NetworkInterface.T1E1[0..3].LineCode = B8ZS
NetworkInterface.T1E1[0..3].FrameType = ESF
NetworkInterface.T1E1[0..3].SignalingType = CAS
DSP.C5x[0..31].Libs[0] = cg6klibu
DSP.C5x[0..31].XLaw = MU_LAW
DSP.C5x[1..31].Files = nmsfax voice tone dtmf
echo callp ptf mf
DSP.C5x[0].Files = qtsignal tone dtmf echo
callp ptf mf
Resource[0].Name = RSC1
Resource[0].Size = 120
Resource[0].TCPs = nocc wnk0
Resource[0].Definitions = (nmsfax | (dtmf.det_all & ptf.det_2f & voice.rec_24 &
(voice.play_24_100 | tone.gen)))
DLMFiles[0] = cg6krun
DLMFiles[1] = cg6fax
DebugMask = 0x0

## Sample CG 6100C board keyword file

The following sample board keyword file configures a CG 6100C board to run 120 ports of voice or fax:

#==================================================================================
# c61mf3616.cfg
# CG 6100C configuration file [CG6100C/3600MIPs 16 trunks]
#
# This file configures the board to run 120 ports of Voice\fax only
#
# Note: This configuration file configure board just to do Fax with CAS.
# If you like to run NOCC with ISDN, please modify this file.
# Refer to: c61mV3616.cfg
#
# Board settings:
# Product = CG_6100C_16 (16 trunks)
#
#==================================================================================
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = OSC
Clocking.HBus.ClockSourceNetwork = 1
#---------------------------
# NOTE: T1 configuration
#---------------------------
#DSPStream.VoiceIdleCode[0..15] = 0x7F
#DSPStream.SignalIdleCode[0..15] = 0x00
#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 = CAS
#DSP.C5x[0..35].Libs[0] = cg6klibu
#DSP.C5x[0..35].XLaw = MU_LAW
#---------------------------
# NOTE: E1 configuration
#---------------------------
DSPStream.VoiceIdleCode[0..15] = 0xD5
DSPStream.SignalIdleCode[0..15] = 0x09
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 = CAS
DSP.C5x[0..35].Libs[0] = cg6kliba
DSP.C5x[0..35].XLaw = A_LAW
DSP.C5x[4..19].NumTxTimeslots = 32
DSP.C5x[4..19].NumRxTimeslots = 32
DSP.C5x[0..3].NumRxTimeslots = 0
DSP.C5x[0..3].NumTxTimeslots = 0
#---------------------------
# ** Signalling DSPs
#---------------------------
DSP.C5x[0..1].Files = 8tsignal
#---------------------------
# Resource Management
#---------------------------
Resource[0].Name = RSC0
Resource[0].Size = 120
# T1 Configuration commented out
# Resource[0].TCPs = nocc wnk0
Resource[0].TCPs = nocc mfc0
Resource[0].Definitions = (nmsfax | (dtmf.det_all & ptf.det_2f & \
voice.rec_24 & (voice.play_24_100 | tone.gen)))
Resource[0].DSPs = 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#---------------------------
# DLMs to download
#---------------------------
DLMFiles[0] = cg6krun
DLMFiles[1] = cg6fax
DebugMask = 0x0

## Sample CG 6500C board keyword file

The following sample board keyword file configures a CG 6500C board to run 120 ports of voice or fax (mu-law):

#==================================================================================
# CG65fax.cfg
#
# This file configures the board to run 120 ports of Voice\fax only [mu-law]
#
# Note: This configuration file configure board just to do Fax with CAS.
# If you like to run NOCC with ISDN/CAS, please modify this file.
# Refer to: c65cas.cfg & c65isdn.cfg
#
# Board settings:
# Product = CG_6500C_16 (16 trunks) OR CG_6500C_8 (8 trunks)
#
#==================================================================================
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = OSC
Clocking.HBus.ClockSourceNetwork = 1
DSPStream.VoiceIdleCode[0..7] = 0x7F
DSPStream.SignalIdleCode[0..7] = 0x00
NetworkInterface.T1E1[0..7].Type = T1
NetworkInterface.T1E1[0..7].Impedance = DSX1
NetworkInterface.T1E1[0..7].LineCode = B8ZS
NetworkInterface.T1E1[0..7].FrameType = ESF
NetworkInterface.T1E1[0..7].SignalingType = CAS
DSP.C5x[0..95].Libs[0] = cg6klibu
DSP.C5x[0..95].XLaw = MU_LAW
DSP.C5x[0..1].Files = 8tsignal
Resource[0].Name = RSC0
Resource[0].Size = 120
Resource[0].TCPs = nocc wnk0
#--------------------------------------------------------------------------------
# Before modifying this resource definition string refer to the CG6500C
# Installation and Developers Manual.
#--------------------------------------------------------------------------------
Resource[0].Definitions = (nmsfax | (dtmf.det_all & ptf.det_2f & \
voice.rec_24 & (voice.play_24_100 | tone.gen)))
Resource[0].DSPs = \ 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
DLMFiles[0] = cg6500run
DLMFiles[1] = cg6500fax
DebugMask = 0x0