 | CtiRawActionsUnPark 方法 |
取出驻留电话。
命名空间: Ipxchina.Sdk.Cti.Actions程序集: CtiSdk (在 CtiSdk.dll 中) 版本:1.0.0.2 (1.0.0.2)
语法public Task<ResponseOriginate> UnPark(
string channel,
string parklot,
int timeout = 60000,
string callerid = null,
NameValueCollection variables = null,
bool async = false,
bool earlymedia = false,
string actionid = null,
string channelid = null,
string otherchannelid = null,
string codecs = null
)
Public Function UnPark (
channel As String,
parklot As String,
Optional timeout As Integer = 60000,
Optional callerid As String = Nothing,
Optional variables As NameValueCollection = Nothing,
Optional async As Boolean = false,
Optional earlymedia As Boolean = false,
Optional actionid As String = Nothing,
Optional channelid As String = Nothing,
Optional otherchannelid As String = Nothing,
Optional codecs As String = Nothing
) As Task(Of ResponseOriginate)
public:
Task<ResponseOriginate^>^ UnPark(
String^ channel,
String^ parklot,
int timeout = 60000,
String^ callerid = nullptr,
NameValueCollection^ variables = nullptr,
bool async = false,
bool earlymedia = false,
String^ actionid = nullptr,
String^ channelid = nullptr,
String^ otherchannelid = nullptr,
String^ codecs = nullptr
)
member UnPark :
channel : string *
parklot : string *
?timeout : int *
?callerid : string *
?variables : NameValueCollection *
?async : bool *
?earlymedia : bool *
?actionid : string *
?channelid : string *
?otherchannelid : string *
?codecs : string
(* Defaults:
let _timeout = defaultArg timeout 60000
let _callerid = defaultArg callerid null
let _variables = defaultArg variables null
let _async = defaultArg async false
let _earlymedia = defaultArg earlymedia false
let _actionid = defaultArg actionid null
let _channelid = defaultArg channelid null
let _otherchannelid = defaultArg otherchannelid null
let _codecs = defaultArg codecs null
*)
-> Task<ResponseOriginate> 参数
- channel String
- 拨号标识
- parklot String
- 驻留位置
- timeout Int32 (Optional)
- 等待被叫channel接听的时间(单位毫秒)(可缺省)
- callerid String (Optional)
- 显示的主叫号码(可缺省)
- variables NameValueCollection (Optional)
- 通道变量(可缺省)
- async Boolean (Optional)
- 异步呼叫(可缺省)
- earlymedia Boolean (Optional)
- 是否在早期媒体(前向语音)阶段桥接(可缺省)
- actionid String (Optional)
- 事务ID,在事件中返回(可缺省)
- channelid String (Optional)
- 指定通道的呼叫编号(可缺省)
- otherchannelid String (Optional)
- 指定另一个通道的呼叫编号(可缺省)
- codecs String (Optional)
- 以英文逗号分隔的语音编码(可缺省)
返回值
TaskResponseOriginateAPI 响应
参见