get specific entry
GET /api/rest/admin/active-calls/:id
Request
Headers
Route
GET /api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8",
"type": "active-calls",
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8"
},
"attributes": {
"start-time": "2024-11-14T09:53:24.000Z",
"connect-time": "2024-11-14T09:53:46.000Z",
"duration": 53,
"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": "03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8",
"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*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/customer",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/customer"
}
},
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/vendor",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/vendor"
}
},
"customer-acc": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/customer-acc",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/customer-acc"
}
},
"vendor-acc": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/vendor-acc",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/vendor-acc"
}
},
"customer-auth": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/customer-auth",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/customer-auth"
}
},
"destination": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/destination",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/destination"
}
},
"dialpeer": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/dialpeer",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/dialpeer"
}
},
"orig-gw": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/orig-gw",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/orig-gw"
}
},
"term-gw": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/term-gw",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/term-gw"
}
},
"routing-group": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/routing-group",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/routing-group"
}
},
"rateplan": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/rateplan",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/rateplan"
}
},
"node": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/relationships/node",
"related": "http://example.org/api/rest/admin/active-calls/2*03-7FF1-35741687B46C6DFB77146C3C70EA4D11-58BFBB57016D0EA8/node"
}
}
}
}
}