LINEMuteRings

Purpose

This function sets the ring muting status for the given line. Ring muting is the ability to not pass the incoming ring to the phones inside your home. This feature is only available on hardware that supports it. This includes devices such as the Way2Call Hi-Phone device.

Parameters

Parameter: Line
Type: Integer
Description: The phone line to retrieve the voice from.

Parameter: Mode
Type: Integer
Description: The mute mode to set. Modes are:

0 = No muting.
1 = Mute only the rings before caller ID is detected. After the second ring, muting is disabled, even if Caller ID is not detected.
2 = Mutes all rings. Ring signal is never passed to internal phones.

Returns

None.

Examples

sub main()

hsp.LINEMuteRings 1,0       ' disable muting
hsp.LINEMuteRings 1,1       ' enable muting until Caller ID is detected

end sub