Barge-in Monitor

Through this interface, an extension can barge in another extension's call. As a result, all the three parties can talk to each other.

Operations

  1. Extension A is idle, extension B is in a call (query extension list to get the extension status);
  2. Make extension A barge in extension B's call;
  3. If the operation is successful, extension A will auto answer and barge in the extension B's conversation.
    Note: Some IP phone models or softphones may not support auto answer. In this case, IP phones or softphones will ring first, and users need to pick up the call manually to start monitoring.

Conditions

  • The monitor extension's monitor mode should be Extensive or Barge-in;
  • The monitored extension should allow being monitored;
  • The call monitor only happens to extensions registered on the same PBX.

Endpoint

POST /api/v1.1.0/extension/barge?token={token}

Request Parameters

Name Importance Type Description
bargein Required Int The monitor extension.
bargedext Required Int The monitored extension.

Examples

Request Example
POST /api/v1.1.0/extension/barge?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
    "bargein": "1005",
    "bargedext": "1002"
}
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
    "status": "Success"
}