asnCtiSnapshotPhoneLine

Call this function to get the current status of a line.

With asnCtiSnapshotPhoneLine a client can retrieve the current status of a line inclusive calls, forwardings, DnD and remote office states.

Attention: Do not poll with this function get changes of the line state. Use asnCtiLineMonitorStart instead, to be notified if something on the is changing.
asnCtiEnumPhoneLines is not necessary be called before asnCtiLineMonitorStart

ArgumentType: AsnCtiSnapshotPhoneLineArgument

AsnCtiSnapshotPhoneLineArgument is an Object

Name Type Optional Comment
u8sLinePhoneNumber string Identifier of the line

optionalParams AsnOptionalParameters yes

ResultType: AsnCtiSnapshotPhoneLineResult

AsnCtiSnapshotPhoneLineResult is an Object

Name Type Optional Comment
lineInfo AsnCtiLineInfo Current line information

seqCalls AsnCtiCallInformationList Current calls on the line

iDoNotDisturb number Do Not disturb is set (1) oder not (0)

seqLineForwards AsnLineForwards Current list of forwardings set 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