Appendices ~ appendix c: serial commands, Hook, Hookd – ClearOne AP10 User Manual
Page 28
Appendices
~ Appendix C: Serial Commands
24
Technical Services Group ~ 1-800-283-5936 (USA) ~ 1-801-974-3760
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
Explanation:
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
Example:
The following command requests hook flash duration:
HOOKD
The following is returned out the serial port:
HOOKD 4