LINESetRings

Purpose

This function sets the number of rings to answer the call. This is the same as setting the number of rings in the modem tab in the options. This is useful for setting a "Do not disturb" mode where you want to dump all callers to the voice system. Set the number of rings to 2 so that you can gather Caller ID information before answering.

Parameters

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

Parameter: Rings
Type: Integer
Description: The number of rings to set.

Returns

None.

Examples

Set the number of rings to answer to 4 on line 1:

hsp.LINESetRings 1,4