ClearOne comm AP10 Hookd, Appendices ~ Appendix C Serial Commands, Command form DEVICE HOOK

Models: AP10

1 40
Download 40 pages 23.96 Kb
Page 28
Image 28
HOOK

24

Appendices ~ Appendix C: Serial Commands

Return values: DIAL returns the dialed string of numbers. The string is returned after the command has been completed (i.e. dialed all the touch tones).

Example: The following command dials the number (801) 975-7200. A 9 and a pause is generated to get an outside line on a PBX.

The number is to be dialed on device #20.

#20 DIAL 9,8019757200

The following is returned out the serial port:

#20 DIAL 9,8019757200

HOOK

This command sends a momentary interruption in line seizure (hook flash) to the telephone line. This command is write-only.

Command form: DEVICE HOOK

Return values: If hook flash succeeded, the following is returned out the serial

port: DEVICE HOOK

Example:

 

The command to request hook flash on device 20:

#20 hook

The following is returned out the serial port:

#20 hook

HOOKD

This command changes or reports the hook flash duration of the unit.

Command form: DEVICE HOOKD <X>

Explanation: <X> is the action (i.e. hook flash duration, current state)

X=0

Parameter to set hook flash duration to 50ms

X=1

Parameter to set hook flash duration to 500ms

X=Null

Parameter to report back the current state.

Return values: The command will return the hook flash duration of the unit in the same format as the command. HOOKD <X>

Example:

 

The following command requests hook flash duration:

HOOKD

The following is returned out the serial port:

HOOKD 4

Technical Services Group ~ 1-800-283-5936 (USA) ~ 1-801-974-3760

Page 28
Image 28
ClearOne comm AP10 operation manual Hookd, Appendices ~ Appendix C Serial Commands, Command form DEVICE HOOK, Example