LINEScriptHasControl

Purpose

This function tells HomeSeer Phone that a script is controlling the call. If called after the first ring, HomeSeer Phone will not answer the call. Ring events will still be fired. The script must answer the call with the function hsp.LINEAnswer.

Parameters

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

Parameter: Mode
Type: Boolean
Description: The mode to set. If TRUE, only the script can answer the call. If FALSE, HomeSeer Phone will answer the call normally. The mode is reset to FALSE before the first ring on each new call.

Returns

None.