Invite a member to a call
Invite a member to an established call.
Request URL
{base_url}/{api_path}/call/add_member?token={token}
Request parameters
Parameter | Required | Type | Description |
---|---|---|---|
channelid | Yes | String | The call channel ID of each member during the call. |
number | Yes | String | The callee number. Note: Only one member can be invited every
time the API interface is called. |
dialpermission | No | String | If number is an external number,
dialpermission must be the extension which
is of outbound call permission. |
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
callid | String | The unique ID of each call. |
Example
Request example
POST /api/v2.0.0/call/add_member?token=1a4d2fb22b1942ca34a3691b0c7234ab HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "channelid": "PJSIP/1023-000000c0", "number": "2023" }
Response example
HTTP/1.1 200 OK Server: Boa/0.94.14rc21 Accept-Ranges: bytes Connection: close Content-Type: application/json Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success", "callid": "1571646222.312" }