Twilio call forward with call recording

血红的双手。 提交于 2019-12-07 02:47:20

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

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.

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

Take your existing twimlet, add a record parameter to it:

record="record-from-answer"

Then take the entire thing and paste it into the echo twimlet. This becomes your new Request URL. Super easy, especially if you don't want to write and host your own XML.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!