Customizing AG 2000-BRI board functions

Complete the following steps to configure the AG 2000-BRI boards in a system to use functions that are not in the default configuration:

Step

Action

1

List all of the functions that you want to make available to your application in the connected call state for the ports on a given AG board.

2

Determine which DSP files are required for the functions specified.

3

Add an entry to the DSP.C5x[x].Files[y] keyword for each new DSP file that is required. The syntax for the statement is:

DSP.C5x[x].Files = filename.m54

For example, to configure for echo cancellation, specify the following DSP file:

DSP.C5x[x].Files = echo.m54

where x = DSP file number

4

Check your MIPS usage. Take the worst-case MIPS usage for each port on a board. Add up the total MIPS usage for all ports. This must not exceed the available MIPS for any board in the system. If it does, reduce the number of ports used on that board by the application accordingly.

5

Check the list of configuration restrictions.

6

Initialize the boards by running oamsys.


 

Example 1: Configuring an AG 2000-BRI board

This example describes how to configure a standard AG 2000-BRI board to play and record OKI 6 kHz speech instead of NMS speech without using echo cancellation.

Step

Action

1

List all functions used in the connected state:

  • DTMF detector

  • Cleardown detector

  • Tone generator (for playing beeps).

  • OKI play 6 kHz

  • OKI record 6 kHz

2

The required DSP files are:

  • tone.m54

  • dtmf.m54

  • ptf.m54

  • oki.m54

  • signal.m54

3

Calculate maximum MIPS usage per port and for the board. The MIPS requirements for the selected functions are:

  • DTMF Detector = 1.94 MIPS

  • Tone Detector = 1.25 MIPS

  • Tone Generator = 0.75 MIPS

  • OKI Play 6kHz = 2.19 MIPS

  • OKI Record 6kHz = 2.25 MIPS

Assume that the last three functions are mutually exclusive on each port. Only one of the three functions are active at any given time on a given port.

Consequently, the per-port maximum MIPS usage is:

1.94 + 1.25 + 2.25 MIPS per port = 5.44 MIPS.

The maximum board MIPS usage is:

8 ports * 5.44 MIPS per port = 43.52 MIPS.

Since 90 MIPS are available, no restrictions apply.

4

Edit the board keyword file to contain the following:

DSP.C5x[x].Files = tone dtmf ptf oki

This loads the files on all DSPs.

5

Run oamsys with the edited board keyword file to load the DSP files.