1. API
  2. /ReplaceCall

HTTP methods

POST

Request parameters

参数为json数组,数组元素为json对象,对象包含2个属性:

ParametersDescription
call_id发起或者接通呼叫返回的call_id
to发起或者接通呼叫返回的call_id,refer-to字段的目标呼叫

Curl Request Example

$ curl -H 'Content-type:application/json' -d '[{"call_id":"d900c685-8427-4eaf-8269-aa289d2973c8", "to":"a34c7a9f-eda4-4be8-817a-e4fc7eb108be"}]' http://127.0.0.1:11111/ReplaceCall

Response

None