beautypg.com

10 billing tone filter control apis, 1 m1x66_billingtonefilterenable, 2 m1x66_billingtonefilterdisable – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual

Page 29: Billing tone filter control apis, M1x66_billingtonefilterenable, M1x66_billingtonefilterdisable

background image

UG_1x66B_046

73M1866B/73M1966B FXOAPI User Guide

Rev. 2.1

29

2.10 Billing Tone Filter Control APIs

2.10.1 M1x66_BillingToneFilterEnable

Description

Large amplitude out-of-band tones can be used to measure call duration and to allow remote central
office to determine the duration of the call for billing purposes. These tones can saturate or distort the
input signal, thus, it is important to be able to reject them. This API provides the ability to filter out the
billing tone.

Prototype

M1x66_RET M1x66_BillingToneFilterEnable (M1x66_HANDLE chanHandle,
M1966_BTONE_FREQUENCY frequency)

Parameters

Data Type

Name

Description

M1x66_HANDLE

chanHandle

Channel handle from FXO open channel.

M1966_BTONE_FREQUENCY frequency

Frequency – 12 or 16 KHz.


Return Values

Data Type

Description

M1x66_RET

M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.

2.10.2 M1x66_BillingToneFilterDisable

Description

This API disables the billing tone filter.

Prototype

M1x66_RET M1x66_BillingToneFilterDisable (M1x66_HANDLE chanHandle)

Parameters

Data Type

Name

Description

M1x66_HANDLE

chanHandle

Channel handle from FXO open channel.


Return Values

Data Type

Description

M1x66_RET

M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.