SIP TCP Keepalive

The Oracle® Enterprise Session Border Controller supports a special TCP keepalive mechanism for SIP. By enabling this feature either for a session agent or for a SIP interface, you allow the Oracle® Enterprise Session Border Controller to use standard keepalive probes to determine whether or not connectivity with a remote peer has been lost.

This feature adds to the Oracle® Enterprise Session Border Controller’s pre-existing TCP keepalive functionality that you can enable in the network parameters configuration. Using existing functionality, you can customize keepalive timing by:

  • Specifying the number of unacknowledged packets the Oracle® Enterprise Session Border Controller sends to the remote peer before it terminates the TCP connection.
  • Specifying the number of seconds of idle time before TCP keepalive messages are sent to the remote peer.

You can now set three modes for TCP keepalive for session agents and SIP interfaces:

  • none—(Default) Keepalives are not enabled for use with the session agent/SIP interface; when you select this setting for a session agent, it will use the setting for this feature from the SIP interface.
  • enabled—Keepalives are enabled for the session agent/SIP interface.
  • disabled—Keepalives are disabled for the session agent/SIP interface.

Note that the setting for this feature for a session agent takes precedence over that for a SIP interface. In addition, the session agent offers you a way to set the re-connection interval.

SIP TCP Keepalive Configuration for Session Agents

To enable SIP TCP keepalive for session agents:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
    ORACLE(configure)#
  2. Type session-router and press Enter to access the signaling-level configuration elements.
    ORACLE(configure)# session-router
    ORACLE(session-router)#
  3. Type session-agent and press Enter.
    ORACLE(session-router)# session-agent
    ORACLE(session-agent)#

    If you are adding support for this feature to a pre-existing session agent, then you must select (using the ACLI select command) the session agent that you want to edit.

  4. tcp-keepalive—Enable or disable standard keepalive probes to determine whether or not connectivity with a remote peer is lost. The default value is none. The valid values are:
    • none | enabled | disabled

      ACMEPACKET(session-agent)# tcp-keepalive enabled
  5. Save and activate your configuration.

SIP TCP Keepalive Configuration for SIP Interfaces

To enable SIP TCP keepalive for SIP interfaces:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
    ORACLE(configure)#
  2. Type session-router and press Enter to access the signaling-level configuration elements.
    ORACLE(configure)# session-router
    ORACLE(session-router)#
  3. Type sip-interface and press Enter.
    ORACLE(session-router)# sip-interface
    ORACLE(sip-interface)#

    If you are adding support for this feature to a pre-existing SIP interface, then you must select (using the ACLI select command) the SIP interface that you want to edit.

  4. tcp-keepalive—Enable or disable SIP TCP keepalive. The default value is none. The valid values are:
    • none | enabled | disabled

      ORACLE(session-agent)# tcp-keepalive enabled
  5. Save and activate your configuration.