6 exit command, 7 hook switch operation, 1 off-hook command – Maxim Integrated 73M1866B/73M1966B FXOCTL Application User Manual

Page 12: Exit command, Hook switch operation, Off-hook command, Figure 9: exit command logging session, Figure 10: off-hook command logging session

Advertising
background image

73M1866B/73M1966B FXOCTL Application User Guide

UG_1x66B_009

12

Rev. 4.1

2.6 Exit Command

The exit command terminates the FXOCTL program. When issued, the user is prompted and asked to
confirm with a Y(es) or N(o). A “yes” terminates the program.

Syntax

FXOCTL:NN> exit

Where:

NN

Shows the current active channel ID.

The following is a log of the command to exit the FXOCTL program.






Figure 9: Exit Command Logging Session

2.7 Hook Switch Operation

The FXOCTL provides commands to manually control the hook switch operation of the FXO channel.
The FXO channel can be switched off hook or on hook.

2.7.1 Off-Hook Command

The offhook command brings the FXO channel off-hook.

Syntax

FXOCTL:NN> offhook (Current channel ID off-hook)
FXOCTL:NN> offhook XX
(Channel ID XX off-hook)

Where:

NN

Shows the current active channel ID.

The following is a log of commands that bring the current channel ID and channel 4 off-hook.







Figure 10: Off-Hook Command Logging Session

FXOCTL:00> exit
Are you sure you want to quit? (Y or N)y

Good bye!


FXOCTL:00> offhook

Channel 0 is OFF-hook.

FXOCTL:00>

FXOCTL:00> offhook 4


Channel 4 is OFF-hook

Enter “Y” to confirm.

Take current channel (0) off-hook.

Take channel 4 off-hook.

Advertising