SipServerBean

Use the SipServerBean to configure SIP timer values, session timeout duration, the default Converged Application Server behavior, server header format, call state caching, DNS name resolution, timer affinity, domain aliases, report support, diagnostic image format, stale session handling, Max-BreadthCheck Support, SIP outbound support, and automatic responses to a non-INVITE request.

URL Syntax

For a GET:

/management/weblogic/latest/serverConfig/customResources/sipserver/customResource

For a POST:

/management/weblogic/latest/edit/customResources/sipserver/customResource

HTTP Methods

  • GET
  • POST

Note:

A DELETE request on /management/weblogic/latest/serverConfig/customResources/sipserver will permenantly delete the SipServerMBean instance. If this happens, you will have to reinstall the Converged Application Server.

Parameters

Table 17-1 URL Parameters for the customResource endpoint

Names Description
links Set to none if you want to remove the links from the response. Set to an enumerated list of the links to return. For example:
.../customResource?links=none
fields Set to an enumerated list of the fields to return. For example:
.../customResource?links=none&fields=serverHeader,enableLocalDispatch

Examples

Example 17-9 Get the SIP server information

curl -u 'weblogic:<password>' \
    "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource"

Example response:

{
    "links": [{
            "rel": "parent",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver"
        },{
            "rel": "self",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource"
        },{
            "rel": "canonical",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource"
        },{
            "rel": "connectionReusePools",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/connectionReusePools"
        },{
            "rel": "extensions",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/extensions"
        },{
            "rel": "filters",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/filters"
        },{
            "rel": "clusterLoadbalancerMaps",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/clusterLoadbalancerMaps"
        },{
            "rel": "proxy",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/proxy"
        },{
            "rel": "sipSecurity",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/sipSecurity"
        },{
            "rel": "appRouter",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/appRouter"
        },{
            "rel": "messageDebug",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/messageDebug"
        },{
            "rel": "overloadProtection",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overloadProtection"
        },{
            "rel": "persistence",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/persistence"
        },{
            "rel": "routeHeader",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/routeHeader"
        },{
            "rel": "overload",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/overload"
        },{
            "rel": "MPSConfig",
            "href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/sipserver/customResource/MPSConfig"
        }
    ],
    "identity": [
        "customResources",
        "sipserver",
        "customResource"
    ],
    "timerMTimeoutInterval": 32000,
    "enableTimerAffinity": false,
    "enableSipOutBound": true,
    "useHeaderForm": "long",
    "t2TimeoutInterval": 4000,
    "globallyRoutableUri": null,
    "serverHeader": "none",
    "timerNTimeoutInterval": 32000,
    "replicationEnabled": false,
    "enableDnsSrvLookup": false,
    "enableLocalDispatch": false,
    "defaultBehavior": "proxy",
    "t1TimeoutInterval": 500,
    "maxApplicationSessionLifetime": -1,
    "domainAliasNames": [],
    "timerFTimeoutInterval": 32000,
    "timerBTimeoutInterval": 32000,
    "t4TimeoutInterval": 5000,
    "defaultServletName": null,
    "enableContactProvisionalResponse": false,
    "enableRport": false,
    "serverHeaderValue": "WebLogic SIP Server",
    "engineCallStateCacheEnabled": true,
    "enableSetMaxBreadth": true,
    "timerLTimeoutInterval": 32000,
    "name": null,
    "enableSend100ForNonInviteTransaction": true,
    "staleSessionHandling": "error",
    "imageDumpLevel": "basic",
    "retryAfterValue": "180"
}

Example 17-10 Update the SIP server

Send a POST request to update the SIP server.

Note:

The serverConfig portion of the URL changes to edit when sending a POST to update the configuration

curl -X POST \
    -u 'weblogic:<password>' \
    -d'{"timerNTimeoutInterval":320}' \
    -H "X-Requested-By: MyClient" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/sipserver/customResource"