1. API
  2. /ReferCall

HTTP methods

POST

Request parameters

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

ParametersDescription
call_id发起或者接通呼叫返回的call_id
to标准SIP uri,refer到的目的地。

Curl Request Example

$ curl -H 'Content-type:application/json' -d '[{"call_id":"e92e8c85-6336-41c9-8fe8-ec76929d6aca", "to":"sip:1007@client.aiwcc.com"}]' http://127.0.0.1:11111/ReferCall

Response

None