Sun GlassFish Enterprise Server v2.1.1 Administration Guide

Editing the Properties of the SIP Container

To view SIP container settings on the default domain, use the following asadmin command:

get server.sip-container.*

Typical output is as follows:


server.sip-container.external-address =
server.sip-container.external-sip-port = 5060
server.sip-container.external-sips-port = 5061p

By default, the external address is empty. The SIP Container has a heuristic that tries to find a suitable address by examining all network interfaces on the machine. In a cluster setup, it is mandatory to change the external address .External SIP and SIPS port settings of the SIP container are overridden by the external SIP and SIPS port settings of the SIP listener.

To change the port settings of the SIP container, use the following asadmin command:

set server.sip-container.external-sip-port=5065

The sub-elements of the SIP container are session-managerand session-properties. store-properties, manager-properties are sub-elements of session-manager.

To change the properties of the SIP container using the Admin Console, select the Configuration node, select the configuration name, and the SIP Container node. Use the General, Session Timeout, SIP Container Manager, or SIP Container Store tabs to view and change SIP container properties.

You can use the following CLI commands to list and view the sub-elements and attributes of the SIP container.

To view the sub-elements of the SIP container, use the following command: list server.sip-container.*

To view the attributes of the SIP container, use the following command: get server.sip-container.*

Editing SIP Container Session Properties

To view the attributes of the SIP container session properties, use the following command: get server.sip-container.session-config.session-properties.*

To set the attributes of the SIP container session properties, use the get and set commands:

get server.sip-container.session-config.session-properties.*

set server.sip-container.session-config.session-properties.timeout-in-seconds=0

Editing SIP Container Session Manager Properties

To view the sub-elements of the SIP container session manager properties, use the following command: list server.sip-container.session-config.session-manager.*

The two sub-elements are store-properties, manager-properties.

To view the attributes of store-properties, use the following command: get server.sip-container.session-config.session-manager.store-properties.*

To view the attributes of manager-properties, use the following command: get server.sip-container.session-config.session-manager.manager-properties.*

To set the attributes of the SIP container session manager properties, use the get and set commands:

get server.sip-container.session-manager.manager-properties.reap-interval-in-seconds

set server.sip-container.session-manager.manager-properties.reap-interval-in-seconds=2

For a complete list of SIP container properties, see the TBDlink,