你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

VoiceAgentsTelephonyOperations interface

管理语音代理电话的运营。

属性

cancelCallJob

请求取消持久外呼任务。 连接通话允许结束。

createBinding

为路径中指定的语音代理创建电话绑定。

createCallJob

创建一个持久的外呼任务。 每次尝试都会将代理端点的执行版本固定用于验证,并锁定其语音会话。

deleteBinding

删除路径中指定的语音代理所拥有的电话绑定。

deleteCallJob

删除一个终端、已对账的作业(否则为 409),而不取消通话或删除活动结果/通话记录。 Later GET 返回 404;重复 DELETE 返回 204。 删除SIP呼叫任务需要用户主动 VoiceAgents=V1Preview 选择。

endCall

结束路由中指定的语音坐席所拥有的活跃入站呼叫。

getBinding

取回路径中提到的语音代理拥有的电话绑定器。

getCall

获取路径中指定的语音代理拥有的持久入线通话记录。

getCallJob

获取持久的直接或活动创建的外呼任务。

getTransferTargets

返回路径中指定的语音代理所有配置的转接目标。

listBindings

返回路径中所命名语音代理的电话绑定。

listCallJobs

列出当前的直接/战役任务,不包括已删除或被替换的回合。 页面已上线。 活动光标在边界删除/取消时存活,但不被替换或名称重用(400 invalid_cursor)。

listCalls

返回路径中指定的语音代理的持久入线通话历史。

replaceTransferTargets

替换路径中指定的语音智能体所有已配置的转接目标。

transferCall

将一个活跃的入站呼叫转接到路径中指定的语音代理的配置目标。

updateBinding

更新路径中指定的语音代理拥有的电话绑定。

属性详细信息

cancelCallJob

请求取消持久外呼任务。 连接通话允许结束。

cancelCallJob: (agentName: string, callJobId: string, ifMatch: string, options?: VoiceAgentsTelephonyCancelCallJobOptionalParams) => Promise<TelephonyCallJob>

属性值

(agentName: string, callJobId: string, ifMatch: string, options?: VoiceAgentsTelephonyCancelCallJobOptionalParams) => Promise<TelephonyCallJob>

createBinding

为路径中指定的语音代理创建电话绑定。

createBinding: (agentName: string, binding: TelephonyBindingCreateUnion, options?: VoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>

属性值

(agentName: string, binding: TelephonyBindingCreateUnion, options?: VoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>

createCallJob

创建一个持久的外呼任务。 每次尝试都会将代理端点的执行版本固定用于验证,并锁定其语音会话。

createCallJob: (agentName: string, idempotencyKey: string, job: TelephonyCallJobCreate, options?: VoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>

属性值

(agentName: string, idempotencyKey: string, job: TelephonyCallJobCreate, options?: VoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>

deleteBinding

删除路径中指定的语音代理所拥有的电话绑定。

deleteBinding: (agentName: string, bindingId: string, ifMatch: string, options?: VoiceAgentsTelephonyDeleteBindingOptionalParams) => Promise<void>

属性值

(agentName: string, bindingId: string, ifMatch: string, options?: VoiceAgentsTelephonyDeleteBindingOptionalParams) => Promise<void>

deleteCallJob

删除一个终端、已对账的作业(否则为 409),而不取消通话或删除活动结果/通话记录。 Later GET 返回 404;重复 DELETE 返回 204。 删除SIP呼叫任务需要用户主动 VoiceAgents=V1Preview 选择。

deleteCallJob: (agentName: string, callJobId: string, options?: VoiceAgentsTelephonyDeleteCallJobOptionalParams) => Promise<void>

属性值

(agentName: string, callJobId: string, options?: VoiceAgentsTelephonyDeleteCallJobOptionalParams) => Promise<void>

endCall

结束路由中指定的语音坐席所拥有的活跃入站呼叫。

endCall: (agentName: string, callId: string, options?: VoiceAgentsTelephonyEndCallOptionalParams) => Promise<TelephonyCallRecord>

属性值

(agentName: string, callId: string, options?: VoiceAgentsTelephonyEndCallOptionalParams) => Promise<TelephonyCallRecord>

getBinding

取回路径中提到的语音代理拥有的电话绑定器。

getBinding: (agentName: string, bindingId: string, options?: VoiceAgentsTelephonyGetBindingOptionalParams) => Promise<TelephonyBindingUnion>

属性值

(agentName: string, bindingId: string, options?: VoiceAgentsTelephonyGetBindingOptionalParams) => Promise<TelephonyBindingUnion>

getCall

获取路径中指定的语音代理拥有的持久入线通话记录。

getCall: (agentName: string, callId: string, options?: VoiceAgentsTelephonyGetCallOptionalParams) => Promise<TelephonyCallRecord>

属性值

(agentName: string, callId: string, options?: VoiceAgentsTelephonyGetCallOptionalParams) => Promise<TelephonyCallRecord>

getCallJob

获取持久的直接或活动创建的外呼任务。

getCallJob: (agentName: string, callJobId: string, options?: VoiceAgentsTelephonyGetCallJobOptionalParams) => Promise<TelephonyCallJob>

属性值

(agentName: string, callJobId: string, options?: VoiceAgentsTelephonyGetCallJobOptionalParams) => Promise<TelephonyCallJob>

getTransferTargets

返回路径中指定的语音代理所有配置的转接目标。

getTransferTargets: (agentName: string, options?: VoiceAgentsTelephonyGetTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

属性值

(agentName: string, options?: VoiceAgentsTelephonyGetTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

listBindings

返回路径中所命名语音代理的电话绑定。

listBindings: (agentName: string, options?: VoiceAgentsTelephonyListBindingsOptionalParams) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion, TelephonyBindingListItemUnion[], PageSettings>

属性值

(agentName: string, options?: VoiceAgentsTelephonyListBindingsOptionalParams) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion, TelephonyBindingListItemUnion[], PageSettings>

listCallJobs

列出当前的直接/战役任务,不包括已删除或被替换的回合。 页面已上线。 活动光标在边界删除/取消时存活,但不被替换或名称重用(400 invalid_cursor)。

listCallJobs: (agentName: string, options?: VoiceAgentsTelephonyListCallJobsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallJob, TelephonyCallJob[], PageSettings>

属性值

(agentName: string, options?: VoiceAgentsTelephonyListCallJobsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallJob, TelephonyCallJob[], PageSettings>

listCalls

返回路径中指定的语音代理的持久入线通话历史。

listCalls: (agentName: string, options?: VoiceAgentsTelephonyListCallsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallSummary, TelephonyCallSummary[], PageSettings>

属性值

(agentName: string, options?: VoiceAgentsTelephonyListCallsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallSummary, TelephonyCallSummary[], PageSettings>

replaceTransferTargets

替换路径中指定的语音智能体所有已配置的转接目标。

replaceTransferTargets: (agentName: string, ifMatch: string, transferTargets: TelephonyTransferTarget[], options?: VoiceAgentsTelephonyReplaceTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

属性值

(agentName: string, ifMatch: string, transferTargets: TelephonyTransferTarget[], options?: VoiceAgentsTelephonyReplaceTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

transferCall

将一个活跃的入站呼叫转接到路径中指定的语音代理的配置目标。

transferCall: (agentName: string, callId: string, target: string, options?: VoiceAgentsTelephonyTransferCallOptionalParams) => Promise<TelephonyCallRecord>

属性值

(agentName: string, callId: string, target: string, options?: VoiceAgentsTelephonyTransferCallOptionalParams) => Promise<TelephonyCallRecord>

updateBinding

更新路径中指定的语音代理拥有的电话绑定。

updateBinding: (agentName: string, bindingId: string, ifMatch: string, body: UpdateTelephonyBindingRequest, options?: VoiceAgentsTelephonyUpdateBindingOptionalParams) => Promise<TelephonyBindingUnion>

属性值

(agentName: string, bindingId: string, ifMatch: string, body: UpdateTelephonyBindingRequest, options?: VoiceAgentsTelephonyUpdateBindingOptionalParams) => Promise<TelephonyBindingUnion>