Vodia PBX REST API

Calls

GET calls in domain

GET

Return a list that shows the current calls in the domain.

/rest/domain/domain_name/calls

Parameters

Field Type Description
domain_name String Name of the existing domain.

Success (200 OK)

Example:

Request:

curl -u username:password -D - http://<PBX_IP/NAME:PORT>/rest/domain/<domain_IP OR Name>/calls -X GET
[{ "id":"54", "from":"&lt;sip:123@test.com&gt;", "to":"&lt;sip:456@test.com&gt;", "start":1529067472, "connect":1529067477, "cmc":"5456", "state":"connected" }]
Response Code Description
Success 200 OK
Permission Denied 403 Forbidden
Not Found 404 The id of the User was not found or there are errors in the URL.