Sample board keyword files

This topic presents sample board keyword files for NMS ISDN configurations. Use these sample files to better understand the format of and information in a board keyword file. These sample files are similar to the files provided with your software. This topic includes the following sample board keyword files:

Sample configuration for a CG 6000C E1 board

The following sample board keyword file describes a single CG 6000C E1 board that is using the NOCC protocol:

#
# cgi6e1.cfg
#               CG 6000 configuration file
#
#     This file configures the board to run NMSVoice with NOCC.
#
#
Clocking.HBus.ClockMode                          = STANDALONE
Clocking.HBus.ClockSource                        = OSC
Clocking.HBus.ClockSourceNetwork                 = 1
TCPFiles                                         = nocc isd0
DSPStream.VoiceIdleCode[0..3]                    = 0x54
DSPStream.SignalIdleCode[0..3]                   = 0x09
Hdlc[0,3,6,9].Boot                               = YES
Hdlc[0,3,6,9].Comet.TxTimeSlot                   = 16
Hdlc[0,3,6,9].Comet.RxTimeSlot                   = 16
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
DSP.C5x[0..31].Libs[0]                           = cg6kliba
DSP.C5x[0..31].XLaw                              = A_LAW
DSP.C5x[1..31].Files = voice tone dtmf echo rvoice callp ptf wave oki ima
                       gsm_ms g726 mf
DSP.C5x[0].Files     = qtsignal tone dtmf echo NULL NULL NULL
Resource[0].Name     = RSC1
Resource[0].Size     = 120
Resource[0].TCPs     = nocc isd0
################################################################
# Before modifying this resource definition string refer to the CG6000 
# Installation and Developers Manual.
#################################################################
Resource[0].Definitions         = ( dtmf.det_all & echo.ln20_apt25 & ptf.det_2f & tone.gen &
callp.gnc & ptf.det_4f & \
( (rvoice.rec_mulaw & rvoice.play_mulaw) | \
  (rvoice.rec_alaw & rvoice.play_alaw) |   \
  (rvoice.rec_lin & rvoice.play_lin) |     \
  (voice.rec_16 & (voice.play_16_100 |     \
                   voice.play_16_150 |     \
                   voice.play_16_200)) |   \
  (voice.rec_24 & (voice.play_24_100 |     \
                   voice.play_24_150 |     \
                   voice.play_24_200)) |   \
  (voice.rec_32 & (voice.play_32_100 |     \
                   voice.play_32_150 |     \
                   voice.play_32_200)) |   \
  (voice.rec_64 & (voice.play_64_100 |     \
                   voice.play_64_150 |     \
                   voice.play_64_200)) |   \
  (wave.rec_11_16b & wave.play_11_16b) |   \
  (wave.rec_11_8b & wave.play_11_8b) |     \
  (oki.rec_24 & (oki.play_24_100 | oki.play_24_150 | oki.play_24_200)) | \
  (oki.rec_32 & (oki.play_32_100 | oki.play_32_150 | oki.play_32_200)) | \
  (ima.rec_24 & ima.play_24) | \
  (ima.rec_32 & ima.play_32) | \
  (gsm_ms.frgsm_rec & gsm_ms.frgsm_play) | \
  g726.rec_32 | g726.play_32) )

DLMFiles[0]                                       = cg6krun
DLMFiles[1]                                       = isdnetsi

# For other ISDN configurations uncomment one of the DMSFile[1] keywords
#DLMFiles[1]                                      = isdnvn6
#DLMFiles[1]                                      = isdnqsig
#DLMFiles[1]                                      = isdnaus1
#DLMFiles[1]                                      = isdnkor
DebugMask                                         = 0x0

Sample configuration for a CG 6000C T1 board

The following sample board keyword file describes a single CG 6000C T1 board using the NOCC protocol:

#
# cgi6t1.cfg
#               CG 6000 configuration file
#
#     This file configures the board to run NMSVoice with NOCC.
#      
#
Clocking.HBus.ClockMode                          = STANDALONE
Clocking.HBus.ClockSource                        = OSC
Clocking.HBus.ClockSourceNetwork                 = 1
TCPFiles                                         = nocc isd0
DSPStream.VoiceIdleCode[0..3]                    = 0x7F
DSPStream.SignalIdleCode[0..3]                   = 0x00
Hdlc[0,3,6,9].Boot                               = YES
Hdlc[0,3,6,9].Comet.TxTimeSlot                   = 23
Hdlc[0,3,6,9].Comet.RxTimeSlot                   = 23
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        = PRI
NetworkInterface.T1E1[0..3].D_Channel            = ISDN
DSP.C5x[0..31].XLaw                              = MU_LAW
DSP.C5x[1..31].Files = voice tone dtmf echo rvoice callp ptf wave oki ima \
                       gsm_ms g726 mf
DSP.C5x[0].Files     = qtsignal tone dtmf echo NULL NULL NULL
Resource[0].Name     = RSC1
Resource[0].Size     = 120
Resource[0].TCPs     = nocc isd0
################################################################
# Before modifying this resource definition string refer to the CG6000 
# Installation and Developers Manual.
#################################################################
Resource[0].Definitions         = ( dtmf.det_all & echo.ln20_apt25 & ptf.det_2f & tone.gen &
callp.gnc & ptf.det_4f & \
( (rvoice.rec_mulaw & rvoice.play_mulaw) | \
  (rvoice.rec_alaw & rvoice.play_alaw) |   \
  (rvoice.rec_lin & rvoice.play_lin) |     \
  (voice.rec_16 & (voice.play_16_100 |     \
                   voice.play_16_150 |     \
                   voice.play_16_200)) |   \
  (voice.rec_24 & (voice.play_24_100 |     \
                   voice.play_24_150 |     \
                   voice.play_24_200)) |   \
  (voice.rec_32 & (voice.play_32_100 |     \
                   voice.play_32_150 |     \
                   voice.play_32_200)) |   \
  (voice.rec_64 & (voice.play_64_100 |     \
                   voice.play_64_150 |     \
                   voice.play_64_200)) |   \
  (wave.rec_11_16b & wave.play_11_16b) |   \
  (wave.rec_11_8b & wave.play_11_8b) |     \
  (oki.rec_24 & (oki.play_24_100 | oki.play_24_150 | oki.play_24_200)) | \
  (oki.rec_32 & (oki.play_32_100 | oki.play_32_150 | oki.play_32_200)) | \
  (ima.rec_24 & ima.play_24) | \
  (ima.rec_32 & ima.play_32) | \
  (gsm_ms.frgsm_rec & gsm_ms.frgsm_play) | \ 
  g726.rec_32 | g726.play_32) )

DLMFiles[0]                                       = cg6krun
DLMFiles[1]                                       = isdn4ess
# For other ISDN configurations uncomment one of the DMSFile[1] keywords
#DLMFiles[1]                                      = isdnqsig
#DLMFiles[1]                                      = isdn5ess
#DLMFiles[1]                                      = isdndms
#DLMFiles[1]                                      = isdnni2
#DLMFiles[1]                                      = isdnhkt
#DLMFiles[1]                                      = isdnntt
#DLMFiles[1]                                      = isdntwn
                                                         
#DLMFiles[2]                                      = imgt
DebugMask                                         = 0x0

Sample configuration involving NFAS groups

The following sample board keyword file describes an CG T1 board configured for AT&T 4ESS ISDN variant, on a T1 trunk using ESF. The application is designed to access ISDN services in a channelized configuration using Natural Call Control.

There are two NFAS groups. Group 5 contains trunks 0 and 1. Group 3 contains trunks 2 and 3. Trunk 0 carries the D channel for Group 5. Trunk 2 carries the D channel for Group 3.

#
#
#     This file configures the board to run ISDN with NFAS
#     for CG 6000 board
#      
#

TCPFiles                                         = nocc isd0

DLMFiles[0]                                      = cg6krun

# For USA ISDN configurations uncomment one of the DMSFile[1] keywords

DLMFiles[1]                                      = isdn4ess
#DLMFiles[1]                                     = isdnqsig
#DLMFiles[1]                                     = isdn5ess
#DLMFiles[1]                                     = isdndms
#DLMFiles[1]                                     = isdnni2

# Required if using IMGT service
#DLMFile[2]                                      = imgt

Clocking.HBus.ClockMode                          = STANDALONE
Clocking.HBus.ClockSource                        = OSC
Clocking.HBus.ClockSourceNetwork                 = 1

DSPStream.VoiceIdleCode[0..3]                    = 0x7F

DSPStream.SignalIdleCode[0..3]                   = 0x00

#
#   There are 3 HDLC controller cores per network interface.
#   PRI configurations use only one of the three HDLC cores on each network interface.
#   For PRI, configure Hdlc[x] where x is (network interface * 3)
#
Hdlc[0,3,6,9].Boot                               = YES
#
#   Hdlc[x] settings for E1
#
#Hdlc[0,3,6,9].Hardware.TxTimeSlot               = 16
#Hdlc[0,3,6,9].Hardware.RxTimeSlot               = 16
#
#   Hdlc[x] settings for T1
#
Hdlc[0,3,6,9].Hardware.TxTimeSlot                = 23
Hdlc[0,3,6,9].Hardware.RxTimeSlot                = 23

NetworkInterface.T1E1[0..3].Type                 = T1
NetworkInterface.T1E1[0..3].Impedance            = DSX1
NetworkInterface.T1E1[0..3].LineCode             = B8ZS
NetworkInterface.T1E1[0..3].FrameType            = ESF
#==============================================================================
#
#                   NFAS configuration
#
#==============================================================================
#
#  NFAS group information is associated with the trunk, on which the primary
#  D-channel is located. A unique number must be assigned to each NFAS group
#  for reference:
#
#     NetworkInterface.T1E1[x].ISDN.NFASGroup            - group number
#
#  For each NFAS group member (including primary D-channel) following
#  configuration information should be specified:
#
#     NetworkInterface.T1E1[x].ISDN.NFAS_Member[y].Board - board number
#     NetworkInterface.T1E1[x].ISDN.NFAS_Member[y].Trunk - trunk number (from 0)
#     NetworkInterface.T1E1[x].ISDN.NFAS_Member[y].NAI   - assigned NAI number
#                                                          unique within group
#  Note:
#     x - trunk number for primary D-channel
#     y - NFAS member number (starting with 0 without any gaps in numbering)
#
#==============================================================================
#==============================================================================
#   Group #5, D-channel on trunk 0
#   
#   Members:   
#      0 - NAI 4, Trunk 0, this board ( number 0 )
#      1 - NAI 6, Trunk 1, this board ( number 0 )
#   
#==============================================================================
#
# Signaling settings for trunk with D-channel
#
NetworkInterface.T1E1[0].D_Channel                 = ISDN
NetworkInterface.T1E1[0].SignalingType             = PRI

#
# Signaling settings for trunk without D-channel
#
NetworkInterface.T1E1[1].D_Channel                 = ISDN_NONE
NetworkInterface.T1E1[1].SignalingType             = RAW

#
# Assigning group number (to D-channel trunk)
#
NetworkInterface.T1E1[0].ISDN.NFASGroup            = 5            

#
# Configuring group members
#
NetworkInterface.T1E1[0].ISDN.NFAS_Member[0].Board = 0
NetworkInterface.T1E1[0].ISDN.NFAS_Member[0].Trunk = 0
NetworkInterface.T1E1[0].ISDN.NFAS_Member[0].NAI   = 4

NetworkInterface.T1E1[0].ISDN.NFAS_Member[1].Board = 0
NetworkInterface.T1E1[0].ISDN.NFAS_Member[1].Trunk = 1
NetworkInterface.T1E1[0].ISDN.NFAS_Member[1].NAI   = 6

#==============================================================================
#   Group #3, D-channel on trunk 2
#   
#   Members:   
#      0 - NAI 4, Trunk 2, this board ( number 0 )
#      1 - NAI 6, Trunk 3, this board ( number 0 )
#   
#==============================================================================

#
# Signaling settings for trunk with D-channel
#
NetworkInterface.T1E1[2].D_Channel                 = ISDN
NetworkInterface.T1E1[2].SignalingType             = PRI

#
# Signaling settings for trunk without D-channel
#
NetworkInterface.T1E1[3].D_Channel                 = ISDN_NONE
NetworkInterface.T1E1[3].SignalingType             = RAW

#
# Assigning group number (to D-channel trunk)
#
NetworkInterface.T1E1[2].ISDN.NFASGroup            = 3           

#
# Configuring group members
#
NetworkInterface.T1E1[2].ISDN.NFAS_Member[0].Board = 0
NetworkInterface.T1E1[2].ISDN.NFAS_Member[0].Trunk = 2
NetworkInterface.T1E1[2].ISDN.NFAS_Member[0].NAI   = 4

NetworkInterface.T1E1[2].ISDN.NFAS_Member[1].Board = 0
NetworkInterface.T1E1[2].ISDN.NFAS_Member[1].Trunk = 3
NetworkInterface.T1E1[2].ISDN.NFAS_Member[1].NAI   = 6
#==============================================================================


DSP.C5x[0..31].XLaw                              = MU_LAW
DSP.C5x[0].Files                                 = qtsignal
DSP.C5x[1..31].Files                             = voice tone dtmf echo rvoice
callp ptf wave oki ima gsm_ms g726 mf

Resource[0].Name                                 = RSC1
Resource[0].Size                                 = 120
Resource[0].TCPs                                 = nocc isd0

################################################################
# Before modifying this resource definition string refer to the CG6000
# Installation and Developers Manual.
#################################################################
Resource[0].Definitions         = ( dtmf.det_all & echo.ln20_apt25 & ptf.det_2f &
tone.gen & \
callp.gnc & ptf.det_4f & \
( (rvoice.rec_mulaw & rvoice.play_mulaw) | \
(rvoice.rec_alaw & rvoice.play_alaw) | \
(rvoice.rec_lin & rvoice.play_lin) | \
(voice.rec_16 & (voice.play_16_100 | voice.play_16_150 | voice.play_16_200)) | \
(voice.rec_24 & (voice.play_24_100 | voice.play_24_150 | voice.play_24_200)) | \
(voice.rec_32 & (voice.play_32_100 | voice.play_32_150 | voice.play_32_200)) | \
(voice.rec_64 & (voice.play_64_100 | voice.play_64_150 | voice.play_64_200)) | \
(wave.rec_11_16b & wave.play_11_16b) | \
(wave.rec_11_8b & wave.play_11_8b) | \
(oki.rec_24 & (oki.play_24_100 | oki.play_24_150 | oki.play_24_200)) | \
(oki.rec_32 & (oki.play_32_100 | oki.play_32_150 | oki.play_32_200)) | \
(ima.rec_24 & ima.play_24) | \
(ima.rec_32 & ima.play_32) | \
(gsm_ms.frgsm_rec & gsm_ms.frgsm_play) | \
g726.rec_32 | g726.play_32) )

DebugMask                                        = 0x0

Sample configuration for a single AG 4000 board

The following sample board keyword file describes a single AG 4000 board configured for the AT&T 4ESS ISDN variant, on a T1 trunk using extended superframe format (ESF). The application is designed to access ISDN services in a channelized configuration using Natural Call Control.

#--------------------------------------------------------------
# Originally created from input file ./agi4t1.cfg.
# Detailed board settings for:
#    Product = AG_4000_4T1
#--------------------------------------------------------------

TCPFiles[0] = nocc.tcp    # "no trunk control" protocol
TCPFiles[1] = isd0.tcp

DLMFiles[0] = gtp.leo
DLMFiles[1] = voice.leo
DLMFiles[2] = svc.leo

#   Uncomment the appropriate leo file

DLMFiles[3] = isdn4ess.leo    # use with "AT&T 4ESS"
# DLMFiles[3] = isdn5ess.leo  # use with "AT&T 5ESS"
# DLMFiles[3] = isdndms.leo   # use with "Northern Telecom DMS100"
# DLMFiles[3] = isdnhkt.leo   # use with "Hong Kong Telephone"
# DLMFiles[3] = isdnntt.leo   # use with "Nippon Telegraph Telephone"
# DLMFiles[3] = isdnni2.leo   # use with "US National ISDN 2"
# DLMFiles[3] = isdntwn.leo   # use with "Taiwanese Operator"

# DLMFiles[4] = imgt.leo      # required if using IMGT service

XLaw = MU-LAW

Clocking.HBus.ClockMode          = STANDALONE
Clocking.HBus.ClockSource        = NETWORK
Clocking.HBus.ClockSourceNetwork = 1

DSP.C5x[0..15].Files = callp ptf tone dtmf voice

NetworkInterface.T1E1[0..3].Type          = T1
NetworkInterface.T1E1[0..3].SignalingType = PRI
NetworkInterface.T1E1[0..3].FrameType     = ESF    # Extended SuperFrame
NetworkInterface.T1E1[0..3].LineCode      = AMI
NetworkInterface.T1E1[0..3].D_Channel     = ISDN

Sample configuration for an AG 2000-BRI board

The following sample board keyword file describes the configuration for an AG 2000-BRI board using the NOCC protocol:

#
#       AG Plug-in Config File for AG 2000 BRI
#

# TCP files are shipped with the NMS CAS sub-package of Natural Access.
# Be sure to install the protocols that are specified below before
# trying to start a board with this configuration file.

 TCPFiles[0] = nocc.tcp           # "no trunk control" protocol
 TCPFiles[1] = isd0.tcp           # ISDN protocol
 
# DSP (.m54) files to link in

 DSP.C5x.DSPFiles = callp.m54 dtmf.m54 mf.m54 ptf.m54 signal.m54 tone.m54 \ voice.m54


 DLMFiles[0] = gtp.leo
 DLMFiles[1] = voice.leo
 DLMFiles[2] = svc.leo
 DLMFiles[3] = isdnbri.leo   # use with "Euro ISDN with major ETSI variants"

 XLaw = A-LAW                # A-Law silence, idle signaling bit code

 RunFile = ag2bri.cor

 Clocking.HBus.ClockSource = NETWORK
 Clocking.HBus.ClockMode = STANDALONE