Gets the current state of a line and attach for call and change notifies on this line.

In order receive events about calls and line state changes a client can call asnCtiLineMonitorStart The result will contain a current snapshot of the line, the calls and additional information.
To stop these events call asnCtiLineMonitorStop

Attention: To get this information just once without further events, call asnCtiSnapshotPhoneLine instead.

ArgumentType: AsnCtiLineMonitorStartArgument

AsnCtiLineMonitorStartArgument is an Object

Name Type Optional Comment
u8sLinePhoneNumber string Identifier of the line

optionalParams AsnOptionalParameters yes

ResultType: AsnCtiLineMonitorStartResult

AsnCtiLineMonitorStartResult is an Object

Name Type Optional Comment
u8sMonitorCrossRefID string CrossrefID to identify the corresponding events after calling asnCtiLineMonitorStart.

lineInfo AsnCtiLineInfo Current line state.

seqCalls AsnCtiCallInformationList Current calls on the line.

iDoNotDisturb number Current state of DoNotDisturb is set (1) or not (0).

seqLineForwards AsnLineForwards Current list of forwarding settings on the line.

remoteOfficeState AsnRemoteOfficeState Current state of remote office feature.

optionalParams AsnOptionalParameters yes Optionals

ErrorType: AsnRequestError

AsnRequestError is an Object

Name Type Optional Comment
iErrorDetail number A number representing the error

u8sErrorString string A string representing the error

optionalParams AsnOptionalParameters yes No optional params yet

Version 7