LINEAnswerSpeakerPhone

Purpose

This function forces HomeSeer Phone to answer an external call, and it sets up the telephone interface for SpeakerPhone operation.  Use hsp.HandsetOnHook to detect when the user hangs up the phone.

Parameters

Parameter: Line
Type: Integer
Description: The phone line to access.

Returns

Parameter: Status
Type: Integer
Description: The status of the call - 0 = Failed, 1 = Success.

Examples

hsp.LINEAnswerSpeakerPhone 1