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
Route
GET /api/rest/admin/active-calls
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8",
"type": "active-calls",
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8"
},
"attributes": {
"start-time": "2024-11-14T09:53:31.000Z",
"connect-time": "2024-11-14T09:53:46.000Z",
"duration": 30,
"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": "AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8",
"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*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/customer",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/customer"
}
},
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/vendor",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/vendor"
}
},
"customer-acc": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/customer-acc",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/customer-acc"
}
},
"vendor-acc": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/vendor-acc",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/vendor-acc"
}
},
"customer-auth": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/customer-auth",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/customer-auth"
}
},
"destination": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/destination",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/destination"
}
},
"dialpeer": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/dialpeer",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/dialpeer"
}
},
"orig-gw": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/orig-gw",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/orig-gw"
}
},
"term-gw": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/term-gw",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/term-gw"
}
},
"routing-group": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/routing-group",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/routing-group"
}
},
"rateplan": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/rateplan",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/rateplan"
}
},
"node": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/relationships/node",
"related": "http://example.org/api/rest/admin/active-calls/1*AA-C962-F7EF5E5EAC655FDED13A6B2FB346B84E-D8B795342D02D9F8/node"
}
}
}
},
{
"id": "1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3",
"type": "active-calls",
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3"
},
"attributes": {
"start-time": "2024-11-14T09:53:27.000Z",
"connect-time": "2024-11-14T09:53:46.000Z",
"duration": 2,
"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-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3",
"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*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/customer",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/customer"
}
},
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/vendor",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/vendor"
}
},
"customer-acc": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/customer-acc",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/customer-acc"
}
},
"vendor-acc": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/vendor-acc",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/vendor-acc"
}
},
"customer-auth": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/customer-auth",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/customer-auth"
}
},
"destination": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/destination",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/destination"
}
},
"dialpeer": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/dialpeer",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/dialpeer"
}
},
"orig-gw": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/orig-gw",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/orig-gw"
}
},
"term-gw": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/term-gw",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/term-gw"
}
},
"routing-group": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/routing-group",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/routing-group"
}
},
"rateplan": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/rateplan",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/rateplan"
}
},
"node": {
"links": {
"self": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/relationships/node",
"related": "http://example.org/api/rest/admin/active-calls/1*03-FF8F-0E282E05BB844062C25C4F6C1A0AA08A-BBBC7F31792676E3/node"
}
}
}
}
],
"meta": {
"total-count": 0
}
}