Configuring CG board resources

The CG boards perform resource management for functions that run on the board's digital signal processors (DSPs). Depending on the programs loaded to them, the DSPs execute functions for encoding, decoding, detecting, and generating voice and telephony signals.

On-board resource management is usually configured to operate on a port as the fundamental unit managed. For PSTN-based applications, a port is equivalent to a circuit-switched call. On-board resource management reserves all of the resources required for a port before the port is used. The resources that are reserved for a port are specified in the Resource[x].Definitions keyword and the Resource[x].TCPs keyword in the CG board keyword file.

This section assumes that the DSP functions required for a port are loaded on every DSP, with the exception of the signaling DSP (by default DSP 0), which is dedicated to signaling functions. For information about resource keywords and configuration files, refer to the CG board manual.

DSPs

DSP executable code is distributed in data processing module (DPM) files with an .f54 file extension. Each DPM file contains executable code for a family of algorithms or functions. Each algorithm in that family is known as a data processing function (DPF), and is referenced by a unique ID string. For example, for an echo canceller that has a filter length of 20 milliseconds and an adapt rate of 100 percent, the function ID is f_echo_v3.ln20_apt100.

You can also refer to DPFs by specifying hexadecimal numbers generated by combining the family ID number associated with  the DPM with the algorithm ID number associated with the DPF. For example, the file f_echo_v3.f54 is the DPM for echo cancellation. All of the DPFs in f_echo_v3.f54 provide a type of echo cancellation functionality. The echo canceller family ID is 0x160000. For an echo canceller that has a filter length of 20 ms. and an adapt rate of 100 percent, the function ID is 0x0A00. Therefore, this particular echo DPF is identified by the hexadecimal number 0x160A00.

Using f54info

To list all function IDs in a DPM file, run f54info.exe from the command line. For example, for echo cancellation, enter the following command to obtain a list of all DPFs in the echo family of DPFs:

f54info f_echo_v3

For information about f54info.exe, refer to the CG board manual.