2.2.3.2.6 PHONEHOOKSWITCHDEV_Constants
The PHONEHOOKSWITCHDEV_Constants are bit-flag constants that describe various audio I/O devices, each with its own hookswitch that is controllable from the computer.
|
Constant/value |
Description |
|---|---|
|
PHONEHOOKSWITCHDEV_HANDSET 0x00000001 |
A standard earpiece and mouthpiece phone. |
|
PHONEHOOKSWITCHDEV_SPEAKER 0x00000002 |
A built-in loudspeaker and microphone. This can also be an externally connected adjunct speaker to the telephone set. |
|
PHONEHOOKSWITCHDEV_HEADSET 0x00000004 |
A headset that is connected to the phone set. |
These constants are used in the PHONECAPS packet to indicate the hookswitch device capabilities of a phone device. The PHONESTATUS packet reports the state of the phone's hookswitch devices. The packets SetHookSwitch and GetHookSwitch MUST use it as a parameter to select the I/O device of the phone.