1 m1x66_hookswitch, 2 m1x66_setpulsedialparam, M1x66_setpulsedialparam – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual
Page 20

73M1866B/73M1966B FXOAPI User Guide
UG_1x66B_046
20
Rev. 2.1
2.6 This API terminates any active pulse dial session previously initiated by the
Hook Switch and Pulse Dial Related APIs
Perform on/off-hook on the FXO channel.
Prototype
M1x66_HANDLE channel,
M1x66_HOOK_SWITCH hookSwitch );
Channel handle from FXO open channel.
Type of hook switch requested.
M1x66_SUCCESS – Successfully performed hook switch.
M1x66_FAILED – Failure.
M1x66_PulseDial ioctl. The actual cancelation of the pulse dial session occurs in the background and
when complete the application should receive a pulse dial aborted event.
Prototype
M1x66_RET M1x66_PulseDialCancel (M1x66_HANDLE chanHandle);
Parameters
Data Type
Name
Description
chanHandle
Channel handle from FXO open channel.
Return Values
Data Type
Description
M1x66_SUCCESS – Command successful.
M1x66_FAILED – Failure.
2.6.2 M1x66_SetPulseDialParam
Description
The pulse dial API employs three timing parameters to perform dialing. Upon initialization these timers
are set to their default values, however, they can be changed to adapt to the line condition using this API:
These parameters are as follow:
1. On-hook duration
(default 40 ms)
2. Off-hook duration and
(default 60 ms)
3. Inter-digits duration
(default 1 sec)
Prototype