asnCtiLineSetDoNotDisturb

Set or remove "Do not Disturb" feature on the a line.

Most PBX support "Do not Disturb" (DnD) on phone lines, so the user can prevent being disturbed by phone calls by setting this feature on his phone line.

A Client can call this function to set or remove this feature from the line. See AsnCtiLineSetDoNotDisturbArgument for the arguments needed.

ArgumentType: AsnCtiLineSetDoNotDisturbArgument

AsnCtiLineSetDoNotDisturbArgument is an Object

Name Type Optional Comment
u8sLinePhoneNumber string Identifier of the line

bDoNotDisturb boolean Set DnD (1, true) or remove it (0, false)

optionalParams AsnOptionalParameters yes No optionals yet

ResultType: AsnCtiLineSetDoNotDisturbResult

AsnCtiLineSetDoNotDisturbResult is an Object

Name Type Optional Comment
optionalParams AsnOptionalParameters yes No optionals yet

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