ClearOne comm AP10 operation manual Example, Command form Device Hookd

Page 28

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

Image 28
Contents AP10 Telephone Interface Technical Services Group ~ 1-800-283-5936 USA ~ Table of Contents IiiAppendices OperationFeatures IntroductionProfessional Services Group Sales and Customer ServiceTechnical Support ClearOne Communications EuMEA GmbHUnpacking Controls and ConnectionsFront view Introduction ~ Controls and ConnectionsAP10 rear-panel connectors Rear viewBefore You Install Power requirementsEquipment placement Telephone line requirementsTechnical Services Group ~ 1-800-283-5936 USA ~ Hardware Setup Connect the unitPhoenix connector Installation ~ Hardware SetupCreating a G-Link network Connecting power Device ID DIP switch settingsBinary DIP Switch Address Position Assigning device ID numbersTechnical Services Group ~ 1-800-283-5936 USA ~ Noise burst/auto-adapt DIP Switch SettingsReceive boost Receive AGC Auto-answerAuto-disconnect Call progression/loopReceive reduction CalibrationNoise burst adapt RingingReceive level adjustment Transmit level adjustmentAuto-adapt To answer a call Using the AP10To make and disconnect a call Using the Telco Interface FoundTo mute Other telco optionsControllers Custom control through DB-25 portTechnical Services Group ~ 1-800-283-5936 USA ~ Appendix a Specifications AppendicesRemote connector pinout Appendix B PinoutsAppendices ~ Appendix B Pinouts Pin DescriptionSet connector pinout Line connector pinoutAppendix C Serial Commands ConventionsExample Command structureConvention Description AP10 Serial Commands Appendices ~ Appendix C Serial CommandsCommand Function Command form Device AACommand form Device Hookd Command form Device HookExample Command form Device LVL CH Command form Device Mute CH ExplanationCommand form Device Null Command form Device TECommand form Device Terl Return values Return valuesCommand form Device UID Command form Device TerleCommand form Device VER Appendix D Warranty This Warranty is Void ifAppendices ~ Appendix D Warranty Appendix E Compliance FCC Part 15 ComplianceFCC Part 68 Compliance Usoc Jacks This device uses RJ-11C and RJ21X terminal jacksIC Compliance Safety InformationAppendices ~ Appendix E Compliance Appendix F Block Diagram Acoustic Echo Cancellation AEC GlossaryGlossary Index Index