如何使用twilio taskrouter会议指令记录呼叫?

问题描述 投票:0回答:1

我正在创建一个呼叫中心应用程序,在其中我使用taskrouter会议指令连接座席和客户。以下是我在分配回调中的会议说明。

assignment_instruction = {
                instruction: 'conference',
                from: attributes["from"],
                Record: true,
                RecordingStatusCallback: "/handle-record?taskId="+attributes["sf_taskId"],
                post_work_activity_sid: "WA30809afd42e2972a13b5e90f138ece41"
            } 

我尝试了多种方法,例如record ='record-from-start'或record ='true',但仍然无法正常工作。有人可以让我知道我在想什么。

twilio twilio-api
1个回答
0
投票
"conference_record": "true"

使用上述参数,在分配回调中,会议开始后它将立即开始记录。

这里还有其他选项

conference_status_callback
conference_status_callback_method
conference_status_callback_event
conference_recording_status_callback
conference_recording_status_callback_method
conference_trim
conference_record
end_conference_on_exit
start_conference_on_enter
beep_on_customer_entrance (boolean)
end_conference_on_customer_exit (boolean)
© www.soinside.com 2019 - 2024. All rights reserved.