LINESetAnswerMode

Purpose

This function sets the current answer mode to one of four modes. A HomeSeer event can be used to control when the answering system is turned on and off. See the parameters for the values for mode.

Parameters

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

Parameter: Mode
Type: Integer
Description: The mode to set the answering system to. Must be one of the following:

1 = answer after the number of rings set (use LINESetRings to adjust the ring count)
2 = look for Caller ID information only and don't answer calls
3 = answer external call as internal call on first ring
4 = system is disabled

Returns

None.

Examples

Set the answering system to answer on the set number of rings on line 1.

sub main()

hsp.LINESetAnswerMode 1,1

end sub