带有通话录音的 Twilio 呼叫前转 [英] Twilio call forward with call recording

查看:31
本文介绍了带有通话录音的 Twilio 呼叫前转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手,想做一些我认为很简单的事情.来电者拨打 Twilio 号码,呼叫将被转接并在转接号码接听时被记录下来.我制作了一个可以很好地转发呼叫的 Twimlet - 如何将记录功能添加到转发 Twimlet?转发代码是:http://twimlets.com/forward?PhoneNumber=952-xxx-2362&CallerId=714-xxx1848&Timeout=20&FailUrl=http%3A%2F%2Ftwimlets.com%2Fforward%3FPhoneNumber%3D952-xxx-2362%26CallerId%3D714-xxx-1848%26Timeout%3D20%26&

I am new to this and want to do something I thought was simple. Caller dials Twilio Number and the calls gets forwarded and recorded upon answer at the forwarded number. I made a Twimlet that forwards the call just fine - how do I add the record function to the forwarding Twimlet? The forwarding code is: http://twimlets.com/forward?PhoneNumber=952-xxx-2362&CallerId=714-xxx1848&Timeout=20&FailUrl=http%3A%2F%2Ftwimlets.com%2Fforward%3FPhoneNumber%3D952-xxx-2362%26CallerId%3D714-xxx-1848%26Timeout%3D20%26&

非常感谢任何建议.我也不清楚记录的对话存储在哪里.

Any suggestions greatly appreciated. It is also unclear to me where the recorded conversations are stored.

谢谢

推荐答案

您尝试实施的方法将不起作用.前向 twiml 没有设置记录属性.

what you are trying to implement will not work. the forward twiml does not set the record attribute.

您需要创建自己的版本,并将记录属性设置为 true.这将是您的第一步,然后您需要配置 StatusCallback 方法,因为当调用结束时,将调用此方法,您将能够接收 RecodingUrl,然后继续处理您的业务需求.

you would need to create your own version of this where you are setting the record attribute to true. that would be your first step, you would then need to configure the StatusCallback method, because when the call has ended, this method will get called and you will be able to receive the RecodingUrl and then continue with your business requirements.

您可以在此处查看有关调用动词的更多详细信息https://www.twilio.com/docs/api/rest/making-calls#post-parameters-optional

you can see more details about the call verb here https://www.twilio.com/docs/api/rest/making-calls#post-parameters-optional

这篇关于带有通话录音的 Twilio 呼叫前转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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