2N TELEKOMUNIKACE a.s., www.2n.cz
31/42
4.2.3.1 Call Dialling
URL:
https://<IP>/api/v1/call/dial?number=<sip_address>
HTTP method:
GET
Request body:
N/A
Response code:
Standard HTTP response code, treating syntactic errors
Response data:
{"data":{"success":true}}
4.2.3.2 Call Accept
Accepts currently ringing incoming call.
URL:
https://<IP>/api/v1/call/accept
HTTP Metoda:
GET
Request body:
N/A
Response code:
Standard HTTP response code, treating syntactic errors
Response data:
{"data":{"success":true}}
4.2.3.3 Call Termination
Terminates the active call.
URL:
https://<IP>/api/v1/call/hangup
HTTP method:
GET
Request body:
N/A
Response code:
Standard HTTP response code, treating syntactic errors
Response data:
{"data":{"success":true}}