5.7.4 api call hangup
The /api/call/hangup helps you hang up an active incoming or outgoing call.
The function is part of the Phone/Call service and the user must be assigned the Phone/Call Control privilege for authentication if required. The GET or POST method can be used for this function.
Request parameters:
Parameter | Description |
---|---|
session | Active incoming/outgoing call identifier |
reason | End call reason: normal ā normal call end (default value) rejected ā call rejection signalling busy ā station busy signalling |
The reply is in the application/json format and includes no parameters.
Example:
GET /api/call/hangup?session=4 { "success" : true }