VoiceChange news Content of documentation User documentation Administrator documentation Index of terms Technical Support Search on-line

VoiceChange COM objects reference - main list
Methoda GetLineState

Syntax

State = VXVoiceObject.GetLineState(Timeout)

Description

Within the range of maximum Timeout (in miliseconds) check the phone line status. Possible values State are:

Value Description
 0 Port is not open.
1 Port is open - nothing is happening.
2 The ring is on the phone line.
3 Line is busy.
4 Undefined error.
10 Dial-tone not detected.
11 Called party is busy.
12 Incoming call is processed.
101 VoiceChange is going to shutdown.

Object VXVoice can (during the method GetLineState) process the garbage collecting. If the method GetLineState is not called often enough (according to UMSTaskCfg setup), the management proces of this line will be restarted.