setMaxPresenceSessions

Sets the maximum presence sessions.

Syntax

setMaxPresenceSessions session_count
Parameter Description
session_count

Maximum presence sessions in the Sametime® Gateway Server.

Set to -1 to allow unlimited sessions.

Set to 0 to allow no sessions.

Purpose

The setMaxPresenceSessions command sets the maximum presence sessions or subscriptions for the Sametime Gateway Server. Note that maximum sessions set with this command override community-based settings.

Data type: Integer

Sample

This sample allows 1000 presence sessions in the Sametime Gateway Server:
set ons [$AdminControl completeObjectName type=RTCAdminMbean,*]
$AdminControl invoke $ons setMaxPresenceSessions 1000