beautypg.com

4 caller-id services, Caller-id services, M1966_enable_caller_id – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 53: Table 4: call id services

background image

UG_1x66B_015

73M1866B/73M1966B Reference Driver User Guide

Rev. 2.7

53

6.4 Caller-ID Services

The following service control how the FXO manages Type 1 Caller-ID.

Table 4: Call ID Services

Name

Description

Descriptor

M1966_ENABLE_CALLER_ID

Enable automatic Caller ID enabling mode.

Channel

M1966_DISABLE_CALLER_ID Disable automatic Caller ID enabling mode.

Channel

M1966_ENTER_CID_MODE

Manually enter Caller ID mode.

Channel

M1966_EXIT_CID_MODE

Manually exit Caller ID mode.

Channel

6.4.1 M1966_ENABLE_CALLER_ID

Description

Enables the automatic Caller ID processing. By default the driver will start Caller ID mode with an on
hook transition. This can be enabled by upper layer application using this service.

#define M1966_DISABLE_CALLER_ID _IOWR(0xA4, 0xF2, unsigned int)


Prototype

int ioctl (

int chan_fd,

int M1966_ENABLE_CALLER_ID,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_ENABLE_CALLER_ID

I/O control identifier for this operation.

unsigned long

param

N/A.


Return Values

Data Type

Description

int

Always returns 0.