SIP gate monitoring (SG)

Requests

HTTP verb Endpoint Description

GET

/api/monitor/v1/sg/currentload

Request counter through the gate

GET

/api/monitor/v1/sg/active

Request counter through the gate

GET

/api/monitor/v1/sg/sipusers

Active registrations of user devices through the gate

GET

/api/monitor/v1/sg/regcount

Counter of active SIP registrations through the gate

GET

/api/monitor/v1/sg/banned

Banned addresses (due to authentication failure)

GET

/api/monitor/v1/sg/cert

Certificate reload

Object aliases: gate, gatekeeper.

For all requests:
Domain type: master

Request counter through the gate

By sites, servers, and sg microservice instances.

Request counter through the gate

Alias for currentload

Active registrations of user devices through the gate

Counter of active SIP registrations through the gate

Banned addresses (due to authentication failure)

  • ?mode=read

  • ?mode=create

  • ?mode=clear

  • ?mode=delete

Certificate reload

Reloading SSL/TLS certificates from disk.

Request

Table 1. Request parameters
Specification Description

Name: site
Type: str
Default: not set

Filter by site(s). Possible values:

  • not set - all sites.

  • comma-separated list of sites.

Example request
GET /api/monitor/v1/sg/cert?mode=clear&site=central,site2 HTTP/1.1

Response

Example response
HTTP/1.1 200 OK

{
  "resultcode": 0,
  "resultmsg": "OK",
  "data": {
    "sites": [
      {
        "site": "central",
        "servers": [
          {
            "node": "mix1sipgate1@192.168.0.32",
            "status": "ok"
          }
        ]
      }
    ]
  }
}