Mute an Extension
After muting an extension, other users could not hear the voice of the muted extension user.
Endpoint
POST /api/v0.0.1/extension/mute?token={token}&type={type}
Request Parameters
Name | Importance | Type | Description |
extid | Required | Int | Mute an extension. |
Examples
Request Example
Request to mute the call of extension 101.
POST /api/v0.0.1/extension/mute?token=813b621cfe8eecf445a2ce1f4a079ffe&type=json HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
{
"extid": "101"
}
POST /api/v0.0.1/extension/mute?token=813b621cfe8eecf445a2ce1f4a079ffe&type=xml HTTP/1.1
Content-Type:application/xml; charset=utf-8
Host: 172.16.6.150
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<extid>101</extid>
</xml>
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
"status": "Success"
}
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<status>Success</status>
</xml>