ActiveCalls API

get listing

GET /api/rest/admin/active-calls

Parameters

Name Description
filter[id] id filter
filter[node-id-eq] node id eq filter
filter[dst-country-id-eq] dst country id eq filter
filter[dst-network-id-eq] dst network id eq filter
filter[vendor-id-eq] vendor id eq filter
filter[customer-id-eq] customer id eq filter
filter[vendor-acc-id-eq] vendor acc id eq filter
filter[customer-acc-id-eq] customer acc id eq filter
filter[orig-gw-id-eq] orig gw id eq filter
filter[term-gw-id-eq] term gw id eq filter
filter[duration-equals] duration equals filter
filter[duration-greater-than] duration greater than filter
filter[duration-less-than] duration less than filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MjQsInN1YiI6MTd9.sjCWa-gFsKkHDFs8raClCd-qausz_aou8HKi4ub-2_s
Host: example.org
Cookie: 

Route

GET /api/rest/admin/active-calls

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"3bc96d383447bb96ea2378f175f70c55"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: c7915915-7fcc-4194-a80e-723191dd678f
X-Runtime: 0.021758
Content-Length: 10241

Status

200 OK

Body

{
  "data": [
    {
      "id": "1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6",
      "type": "active-calls",
      "links": {
        "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6"
      },
      "attributes": {
        "start-time": "2024-03-12T14:33:19.000Z",
        "connect-time": "2024-03-12T14:33:24.000Z",
        "duration": 16,
        "time-limit": 4909,
        "dst-prefix-in": "9810441492550028",
        "dst-prefix-routing": "3800000000000000000",
        "lrn": null,
        "dst-prefix-out": "3800000000000000000",
        "src-prefix-in": "10317",
        "src-prefix-routing": "10317",
        "src-prefix-out": "10317",
        "diversion-in": null,
        "diversion-out": null,
        "dst-country-id": 222,
        "dst-network-id": 1522,
        "customer-id": 5,
        "vendor-id": 123,
        "customer-acc-id": 25,
        "vendor-acc-id": 124,
        "customer-auth-id": 20085,
        "destination-id": 4201541,
        "dialpeer-id": 1376786,
        "orig-gw-id": 19,
        "term-gw-id": 20,
        "routing-group-id": 24,
        "rateplan-id": 18,
        "destination-initial-rate": "0.11",
        "destination-next-rate": "0.11",
        "destination-initial-interval": 1,
        "destination-next-interval": 1,
        "destination-fee": "0.0",
        "destination-rate-policy-id": 1,
        "dialpeer-initial-rate": "0.005",
        "dialpeer-next-rate": "0.001",
        "dialpeer-initial-interval": 1,
        "dialpeer-next-interval": 1,
        "dialpeer-fee": "0.0",
        "leg-a-remote-ip": "192.168.88.23",
        "leg-a-remote-port": 5060,
        "orig-call-id": "2141402782-1223087865-286388420",
        "leg-a-local-ip": "192.168.88.23",
        "leg-a-local-port": 5061,
        "local-tag": "47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6",
        "leg-b-local-ip": "",
        "leg-b-local-port": 0,
        "term-call-id": "8-5D73A55A-5CFB77360000494D-19C01700",
        "leg-b-remote-ip": "",
        "leg-b-remote-port": 0,
        "node-id": 1,
        "pop-id": 4
      },
      "relationships": {
        "customer": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/customer",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/customer"
          }
        },
        "vendor": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/vendor",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/vendor"
          }
        },
        "customer-acc": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/customer-acc",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/customer-acc"
          }
        },
        "vendor-acc": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/vendor-acc",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/vendor-acc"
          }
        },
        "customer-auth": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/customer-auth",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/customer-auth"
          }
        },
        "destination": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/destination",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/destination"
          }
        },
        "dialpeer": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/dialpeer",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/dialpeer"
          }
        },
        "orig-gw": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/orig-gw",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/orig-gw"
          }
        },
        "term-gw": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/term-gw",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/term-gw"
          }
        },
        "routing-group": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/routing-group",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/routing-group"
          }
        },
        "rateplan": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/rateplan",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/rateplan"
          }
        },
        "node": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/relationships/node",
            "related": "http://example.org/api/rest/admin/active-calls/1*47-9A95-6A776F12C8B6FBCF9630E92C9393DD5E-F0A1F51C97B506A6/node"
          }
        }
      }
    },
    {
      "id": "1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D",
      "type": "active-calls",
      "links": {
        "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D"
      },
      "attributes": {
        "start-time": "2024-03-12T14:33:19.000Z",
        "connect-time": "2024-03-12T14:33:24.000Z",
        "duration": 33,
        "time-limit": 4909,
        "dst-prefix-in": "9810441492550028",
        "dst-prefix-routing": "3800000000000000000",
        "lrn": null,
        "dst-prefix-out": "3800000000000000000",
        "src-prefix-in": "10317",
        "src-prefix-routing": "10317",
        "src-prefix-out": "10317",
        "diversion-in": null,
        "diversion-out": null,
        "dst-country-id": 222,
        "dst-network-id": 1522,
        "customer-id": 5,
        "vendor-id": 123,
        "customer-acc-id": 25,
        "vendor-acc-id": 124,
        "customer-auth-id": 20085,
        "destination-id": 4201541,
        "dialpeer-id": 1376786,
        "orig-gw-id": 19,
        "term-gw-id": 20,
        "routing-group-id": 24,
        "rateplan-id": 18,
        "destination-initial-rate": "0.11",
        "destination-next-rate": "0.11",
        "destination-initial-interval": 1,
        "destination-next-interval": 1,
        "destination-fee": "0.0",
        "destination-rate-policy-id": 1,
        "dialpeer-initial-rate": "0.005",
        "dialpeer-next-rate": "0.001",
        "dialpeer-initial-interval": 1,
        "dialpeer-next-interval": 1,
        "dialpeer-fee": "0.0",
        "leg-a-remote-ip": "192.168.88.23",
        "leg-a-remote-port": 5060,
        "orig-call-id": "2141402782-1223087865-286388420",
        "leg-a-local-ip": "192.168.88.23",
        "leg-a-local-port": 5061,
        "local-tag": "D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D",
        "leg-b-local-ip": "",
        "leg-b-local-port": 0,
        "term-call-id": "8-5D73A55A-5CFB77360000494D-19C01700",
        "leg-b-remote-ip": "",
        "leg-b-remote-port": 0,
        "node-id": 1,
        "pop-id": 4
      },
      "relationships": {
        "customer": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/customer",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/customer"
          }
        },
        "vendor": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/vendor",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/vendor"
          }
        },
        "customer-acc": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/customer-acc",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/customer-acc"
          }
        },
        "vendor-acc": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/vendor-acc",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/vendor-acc"
          }
        },
        "customer-auth": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/customer-auth",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/customer-auth"
          }
        },
        "destination": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/destination",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/destination"
          }
        },
        "dialpeer": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/dialpeer",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/dialpeer"
          }
        },
        "orig-gw": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/orig-gw",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/orig-gw"
          }
        },
        "term-gw": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/term-gw",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/term-gw"
          }
        },
        "routing-group": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/routing-group",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/routing-group"
          }
        },
        "rateplan": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/rateplan",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/rateplan"
          }
        },
        "node": {
          "links": {
            "self": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/relationships/node",
            "related": "http://example.org/api/rest/admin/active-calls/1*D3-4F26-DFA11295B5F3840A9F12FB2D233128E7-58A35B4A1FF9BD3D/node"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 0
  }
}