Call Progress Tone Pattern Reception

Overview

Call progress tone patterns are audible signals that indicate the progress or disposition of a telephone call. The busy signal, ringback, and dial tone are all examples of call progress tone patterns. The act of receiving and interpreting call progress tone patterns is called Call Progress Analysis (CPA).

International Call
Progress Analysis

The Excel platform can generate and receive Call Progress (CP) Tones, such as dial tone and line busy tone. The system software has long handled the frequencies used in North American phone systems. The Excel platform can now transmit and receive other tones, including a 400 Hz tone used outside of North America.

When a CP-receiver activates, it detects call progress patterns that are part of a Call Progress Analysis (CPA) Class. The CP-receiver ignores any CP-receive tones that are not part of a pattern in this CPA Class. This scenario allows the receiver to skip over tones that are not of interest, reducing the chance of receiving false Call Progress Analysis Result API messages.

Call Progress Tone Patterns

For information about how call progress tone patterns are formed, refer to the section, Call Progress Tone Pattern Transmission.

For call progress analysis, the Excel platform groups patterns into classes to facilitate management of CPA receivers. These CPA classes help assign call progress tone patterns to CPA receivers. When the host assigns a DSP resource to scan for call progress tones, the host specifies a class of patterns. The DSP resource then scans for the patterns defined in that class.

Example: You could place all progress tones used in a single country into one class. You could then assign this class to a DSP chip for call progress analysis for that country. The host can modify and create classes, using the CPA Pattern Configure message.

Default Call Progress Analysis Tone Patterns and Classes

All of the tones supported by the Excel platform are shown in Tones supported by the Excel Platform. The group of tone IDs may use up to 16 frequencies. A pattern is formed when the tones below are played at specific intervals.

Table 9-11 Tones supported by the Excel Platform

Tone ID

Frequency Count

Frequency 0 (Hz)

Frequency 1 (Hz)

0x00

1

0

 

0x01

2

350

440

0x02

2

440

480

0x03

1

440

 

0x04

1

480

 

0x05

2

480

620

0x06

1

620

 

0x07

1

914

 

0x08

1

985

 

0x09

1

1371

 

0x0A

1

1429

 

0x0B

1

1777

 

0x0C

1

2000

 

0x0D

1

1700

 

0x0E

1

2100

 

0x0F

1

425

 

0x10

1

500

 

0x11

1

1100

 

Default Tone Patterns fo CPA

The default tone patterns for call progress analysis appear in Default tone patterns for call progress analysis. To modify or create new patterns, use the CPA Pattern Configure message.

Table 9-12 Default tone patterns for call progress analysis

Value

CPA Tone Pattern

0x01

Ringback

0x02

Double Ringback

0x03

Busy

0x04

Reorder

0x05

PBX Intercept

0x06

SIT Intercept

0x07

Vacant Code

0x08

Reorder-LEC

0x09

No Circuit-LEC

0x0A

Reorder-Carrier

0x0B

No Circuit-Carrier

0x0C

PBX Dial Tone

0x0D

Standard Dial Tone

0x0E

CPC Detection

CPA Pattern Parameters

The parameters associated with a CPA pattern appear in Parameters associated with CPA patterns.

Table 9-13 Parameters associated with CPA patterns

Pattern ID

Description

Configuration Bits

Pattern-specific configuration (see CPA Pattern Configure message)

0x01 = Last Interval Continuous (for pattern ending with continuous tone)

0x02 = Detect Tone After Determination (for reporting Intercept Tones)

0x04 = Use As Internal Dial Tone (to detect dial tone without invoking Call Progress Analysis)

CPA Result on
Pattern Loss

Call Progress Analysis Result to report when a pattern has been matched but discontinues before "interval cycles to report". (CPA Result message).

Interval Cycles
to Match

The number of times an Interval Sequence must be repeated before declaring the pattern valid

Interval Cycles
to Report

The number of times an Interval Sequence must be repeated before reporting a Call Progress Result to the host

Interval Descriptor Count

The number of Interval Descriptors in the pattern

Interval Descriptor

An Interval Descriptor consists of the Tone ID, Min. Filter, and Max. Filter, where:

Tone ID – A valid Tone ID

Minimum/Maximum Filter (MSB, LSB) – Minimum and maximum duration for this tone interval - A tone is determined as valid if the on and off cycles fall within the minimum and maximum times.

An Interval Descriptor is a list of the tones and intervals that constitute a pattern. The Excel platform uses the Interval Descriptor to confirm that a specific pattern has been detected.

Reporting Call Progress Tones

Detected call progress tones can be reported to the host in the following two ways:

During call setup, with the outseize instruction of Do Call Progress Analysis

Interactively, by assigning a CPA Receiver with the DSP Service Request message.

Maximum number for call progress tone detection lists the maximum quantities for call progress tone detection in the Excel platform.

Table 9-14 Maximum number for call progress tone detection

Tone Specification

System Maximum

Patterns

30

Classes

15

Patterns per class

15

Frequencies per tone

2

Receiving Call Progress Tone Patterns

The algorithm for detecting call progress tones has the following two phases:

1. Pattern Detection – The first phase recognizes the pattern, based on the tones and cadences received.

2. Pattern Match – The second phase counts tone intervals, to confirm the presence of a pattern. The number of intervals to match is specified by the pattern’s Interval Cycles to Match parameter.

The algorithm does not move to the second phase until the pattern is identified. Configurable timers determine the maximum time to remain in each phase.

The Excel platform scans for call progress tones in the specified class, and reports them in the CPA Result message. CPA terminates upon reporting a result.

Off-hook Detection

When CPA is initiated with the DSP Service Request message, detection of off-hook is reported if the signaling interface supports it.

The parameter values for each call progress analysis tone pattern are shown in Default Parameters for 0x00 to 0x07 - Part 1, Default Parameters for 0x00 to 0x07 - Part 2, Default Parameters for 0x08 to 0x13 - Part 1, and Default Parameters for 0x08 to 0x13 - Part 2. To modify these values, use the CPA Pattern Configure message.

Example:

You can configure the CPA receivers to detect a fax machine that the Excel platform has called. When the connection is made, the fax machine sends back a pattern containing Tone 0x0E (2100 Hz) continuously for approximately 2.3 seconds.

To configure the CPA receivers to detect this signal, use the CPA Pattern Configure message to create a new pattern, consisting of Tone 0x0E continuously ON for a minimum of 2 seconds.

You would then add this pattern to a CPA Class using the CPA Pattern Configure message (described next). Whenever CPA is performed using that CPA Class, the CPA receiver scans for the fax signal.