ActiveCalls API

get specific entry

GET /api/rest/admin/active-calls/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MjQsInN1YiI6MTh9.CFjvhsPMMCZlJKdntMw3nlvk7qoibhoudsy_1pG8qOY
Host: example.org
Cookie: 

Route

GET /api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF

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/"47a4f923e8b86cd8b7844cb9ad34d3ce"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: b2a6ba7a-bb70-4acd-95bb-1c2f23af9f15
X-Runtime: 0.018534
Content-Length: 5111

Status

200 OK

Body

{
  "data": {
    "id": "2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF",
    "type": "active-calls",
    "links": {
      "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF"
    },
    "attributes": {
      "start-time": "2024-03-12T14:32:37.000Z",
      "connect-time": "2024-03-12T14:33:24.000Z",
      "duration": 29,
      "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": "A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF",
      "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": 2,
      "pop-id": 4
    },
    "relationships": {
      "customer": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/customer",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/customer"
        }
      },
      "vendor": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/vendor",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/vendor"
        }
      },
      "customer-acc": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/customer-acc",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/customer-acc"
        }
      },
      "vendor-acc": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/vendor-acc",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/vendor-acc"
        }
      },
      "customer-auth": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/customer-auth",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/customer-auth"
        }
      },
      "destination": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/destination",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/destination"
        }
      },
      "dialpeer": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/dialpeer",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/dialpeer"
        }
      },
      "orig-gw": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/orig-gw",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/orig-gw"
        }
      },
      "term-gw": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/term-gw",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/term-gw"
        }
      },
      "routing-group": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/routing-group",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/routing-group"
        }
      },
      "rateplan": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/rateplan",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/rateplan"
        }
      },
      "node": {
        "links": {
          "self": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/relationships/node",
          "related": "http://example.org/api/rest/admin/active-calls/2*A6-CB0F-18002F30B353314A6A33DBD398132FCF-993A57CCEDB534BF/node"
        }
      }
    }
  }
}