You are here: CSP Developer’s Guide: Overview > 7 Configuring and Using Resources on the DSP Series 2 Cards > Configuring Energy Detection

Configuring Energy Detection

Feature Description

See Energy Detection.

Overview

Energy Detection allows the CSP to perform Call Progress Analysis for frequencies not supported by default. The Energy Detection DSP function matches cadences, based on the reported energy levels. CPA Class 3 is preconfigured for Energy Detection, using the standard CPA tones of ringback, double ringback, busy, and re-order.

To accommodate unique requirements for matching cadences, you can modify these patterns or add new patterns to the class and change the pattern cadence that energy detection scans for, using the CPA Pattern Configure message.

Procedure

Use the Call Progress Analysis Class Configure 0x00B3 message to configure the parameters for energy detection:

1. Set Sensitivity Level

The Sensitivity Level is the amplitude above which the energy detector perceives a signal. Set the sensitivity level to detect and report energy that is greater than the prevailing background noise. When you expect a significant background noise, use the least sensitive setting (0 dBm). When you expect little background noise, use the most sensitive setting (-30 dBm). See Table 8-2 for sensitivity options.

Table 8-2 shows the values you would enter in the Call Progress Analysis Class Configure 0x00B3 message.

Table 7-2 Set Sensitivity Level

Message Field | Values
--- | ---
Class ID | Class to be changed
Action | 0x03 (Change Class Parameter)
Data[0] Parameter | 0x0B (Mode Specific 1)
Data[1] Reserved | 0x00
Data[2] Sensitivity Level | See message for values.

2. Set the Scan Duration

The Scan Duration is the repeating time interval over which the energy detector determines that energy is either Present or Not Present. Set the scan duration to be longer than expected energy bursts. You must use 20 millisecond intervals to set the scan duration, so energy is sampled for each 20 millisecond block within the specified duration.

Table 8-3 shows the values you would enter in the Call Progress Analysis Class Configure 0x00B3 message.

Table 7-3 Scan Duration Fields

Message Field | Values
--- | ---
Class ID | Class to be changed
Action | 0x03 (Change Class Parameter)
Data[0] Parameter | 0x0C (Mode Specific 2)
Data[1,2] Scan Duration | 16-bit word defining the scan duration, in 10ms units

3. Set the Completion Timer

The completion timer determines the maximum amount of time to scan for energy. Each scan cycle, as defined by the scan duration, is repeated until either energy is detected, or the completion timer expires. Dialogic recommends setting the completion timer for 3 to 4 times the scan duration, depending on the application. If the timer expires before energy is detected, the host receives a Call Processing Event 0x002E message of "No Energy Detected."

Configure CPA Class for Energy Detection

You can configure the default CPA classes for Energy Detection by enabling it in the Call Progress Analysis Class Configure 0x00B3 message, as shown in Table 8-4.

Table 7-4 Changing mode parameters

Message Field | Values
--- | ---
CLASS ID | Class to be changed
ACTION | 0x03 (Change Class Parameter)
DATA[0] Parameter | 0x01 (Mode)
DATA[1] Reserved | 0x00
DATA[2] Mode | 0x02 (Energy Detection enabled)

Digital Signal Processor