SpeakerPhoneEnable and SpeakerPhoneDisable

Commands to enable and disable speakerphone.

One or more command strings can be used. For example,

HKR, SpeakerPhoneEnable, 1,, "at#vls=6"
HKR, SpeakerPhoneDisable, 1,, "at#vls=6"
HKR, SpeakerPhoneDisable, 2,, "at#spk=0,15,,"
HKR, SpeakerPhoneDisable, 3,, "at#vls=0"
 

These commands are issued after a call has been connected in voice mode. The SpeakerPhoneEnable command is sent when the TAPI function phoneSetHookSwitchMode is called with the PHONESETHOOKSWITCHDEV_SPEAKERPHONE and PHONESETHOOKSWITCHMODE_MICSPEAKER or _SPEAKER or bits set.

See also

Overview of speakerphone modes in the Modem Development Kit documentation