Twilio录制:暂停和恢复 [英] Twilio Recording: Pause and Resume

查看:279
本文介绍了Twilio录制:暂停和恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相信答案是否定的,但是Twilio是否提供暂停/恢复录音的功能?用例正在记录呼叫,但在收集敏感信息时暂停记录.从REST文档来看,它似乎不是受支持的功能.以为有人可能找到了此要求的一些选择.

I believe the answer is no, but does Twilio provide ability to pause/resume a recording? Use case is recording a call, but pausing recording when collecting sensitive information. From the REST documentation, it doesn't appear to be a supported capability. Thought someone might have found some options for this requirement.

推荐答案

这是可能的,尽管从文档中并不完全清楚.

This is possible, though it's not wholly obvious how from the documentation.

您可以根据 https:使用REST API修改通话状态://www.twilio.com/docs/api/rest/change-call-state ,我们基本上使用它来告诉呼叫重拨至同一座席(假设这是呼叫中心?)但没有记录,然后在完成后再次激活记录.

You can modify call state using the REST API, as per https://www.twilio.com/docs/api/rest/change-call-state , and we basically use it to tell the call to re-dial to the same agent (presumably this is a call centre?) but with no-record, and then again with record re-activated once we're done.

您最终获得了两个单独的通话录音,在我们的情况下,我们将其下载,拼接在一起并存储回我们的存储平台.

You end up with two separate recordings for the call, which in our case we download, stitch together, and store back to our storage platform.

已经在Twilio支持下讨论了这个问题,还有另一种可能性,它使您仅可以进行一次录制.

Having discussed this issue with Twilio support, there's another possibility which allows you to just have a single recording.

您无需将呼叫的两端同时拨号,而是将它们都放入会议中,该会议在您最初连接呼叫时会被记录下来.当您想使用REST API暂停会议时,可以在会议中添加一条新的保持"分支,然后将通话的两个实际端移动到未记录的新会议上.完成后,您可以再次将它们移回原处,并且它是未暂停"的.然后,您只有原始会议的一个录音.

Instead of dialling the two ends of the call together, you instead put them both into a conference that's recorded when you initially connect the call. When you want to pause it, using the REST API, you add a new "hold" leg into the conference, then move the two real ends of the call onto a new conference that isn't recorded. When you're done, you move them back again and it's "unpaused". You then only have one recording from the original conference.

这些都不是理想的,而且显然他们正在为此(显然很明显!)要求设计适当的支持设置,但这现在应该可以解决.

None of these is ideal, and apparently they are working on a proper support setup for this (fairly obvious!) requirement, but this should solve it for now.

这篇关于Twilio录制:暂停和恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆