Sample board keyword files

This topic presents sample board keyword files for running NaturalFax

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 CG 6565 board keyword file

The following sample board keyword file sets up an CG 6565 board for NaturalFax using mu-law:

#==================================================================================
#     CG6565fax.cfg
#
#     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/CAS, please modify this file.
#==================================================================================
#
#     cg6565fax.cfg
#     CG 6565 configuration file
#
#     This file configures the board to run FAX with T1  (E1 commented out)
#

Clocking.HBus.ClockMode                          = STANDALONE
Clocking.HBus.ClockSource                        = OSC
# use of DSP.C5x[x].Os is recommended
DSP.C5x[0..95].Os                                = dspos6u                                  
#*******************************************************************************************
#  NOTE: E1 configuration is commented out.  If you want E configuration, uncomment below,
#        and comment out OR remove T1 configuration
#  NOTE: Adjust idle code and TCP Files for the country you are using accordingly
#*******************************************************************************************

#*******************************************************************************************
#  E1 configuration  (! commented out by default)
#*******************************************************************************************
#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..95].Libs[0]                           = cg6kliba
#DSP.C5x[0..95].XLaw                              = A_LAW
#*******************************************************************************************
#*******************************************************************************************
#  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..95].Libs[0]                           = cg6klibu
DSP.C5x[0..95].XLaw                              = MU_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
#---------------------------  
Resource[0].Name                                 = RSC0
Resource[0].Size                                 = 120
#*******************************************************************************************
#  NOTE: E1 configuration is commented out.  If you want E configuration, uncomment below,
#        and comment out OR remove T1 configuration
#*******************************************************************************************
#Resource[0].TCPs                                 = mfc0 nocc
Resource[0].TCPs                                 = wnk0 nocc
Resource[0].StartTimeSlot                        = 0

#--------------------------------------------------------------------------------
# Before modifying this resource definition string refer to the CG6565
# Installation and Developers Manual.
#--------------------------------------------------------------------------------

#----------------------------------------------------------------------------------
# FAX OR IVR (Definition can be used with nfxsend or nfxrecv type of applications)
#----------------------------------------------------------------------------------

Resource[0].Definitions                          = (nmsfax | (dtmf.det_all & ptf.det_2f & \
voice.rec_24 & (voice.play_24_100 | tone.gen)))

#----------------------------------------------------------------------------------
# FAX and IVR (Definition can be used with caller or faxback type of applications)
# NOTE: Changing to following resource definition will/might decrease port count
#----------------------------------------------------------------------------------
#Resource[0].Definitions                          = ( dtmf.det_all & ptf.det_2f & ( nmsfax | \
#(voice.rec_24 & (voice.play_24_100 | voice.play_24_150 | voice.play_24_200)) | tone.gen ))

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]                                     = cg6565fax

Sample CG 6060 board keyword file

The following sample board keyword file sets up an CG 6565 board for NaturalFax using A-law:

#==============================================================================
#     CG6060fax.cfg
#
#     This file configures the board to run Voice and Fax with CAS
#     
#     Board settings:
#     Product = CG_6060 or  CG_6060C
#
#===============================================================================
                                                                         
#---------------------------
#  Clock configuration
#---------------------------
Clocking.HBus.ClockMode                     = STANDALONE
Clocking.HBus.ClockSource                   = OSC
#Clocking.HBus.ClockSourceNetwork            = 1
#---------------------------
#  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   = CAS

DSPStream.VoiceIdleCode[0..15]               = 0xD5
DSPStream.SignalIdleCode[0..15]              = 0x0D

DSP.C5x[0..95].Libs                         = cg6kliba
DSP.C5x[0..95].XLaw                         = A_LAW           

#---------------------------
#  T1 configuration  (commented out)
#---------------------------
# 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

# DSPStream.VoiceIdleCode[0..15]               = 0x7F
# DSPStream.SignalIdleCode[0..15]              = 0x00
# DSP.C5x[0..95].Libs                         = cg6klibu
# DSP.C5x[0..95].XLaw                         = MU_LAW   
#-------------------------------------------------------------------------------
# Resource Management
#-------------------------------------------------------------------------------
Resource[0].Name                            = RSC0
Resource[0].Size                            = 240
Resource[0].TCPs                            = nocc wnk0

#-------------------------------------------------------------------------------
# Before modifying this resource definition string refer to the CG6060 or
# CG6060C Installation and Developers Manual.
#-------------------------------------------------------------------------------

Resource[0].Definitions                     = (dtmf.det_all & ptf.det_2f & \
   (nmsfax | \
    (tone.gen | voice.rec_24 | \
    (voice.play_24_100 | voice.play_24_150 | voice.play_24_200))))

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

DLMFiles[0]                                 = cg6060fax
DebugMask                                   = 0x0