setPresence

Syntax

setPresence(group, presence, extension, reason)

Description

Set the presence for the current state.

Parameters

Parameter Description

group

The group on which the user is changing presence.

presence

The presence for the state.

extension

The extension with which the user is changing presence.

reason

The reason to set the presence.

Returns

Request number.