使用 PHP 编程时,如何在 twilio 中获取通话录音 URL? [英] How do I get a call recording url in twilio when programming in PHP?

查看:47
本文介绍了使用 PHP 编程时,如何在 twilio 中获取通话录音 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Twilio 的新手,我需要多个电话的通话录音 URL,这些电话来自一个帐户,但具有不同的子帐户和授权令牌.怎么办?

I am completely new to Twilio and I need the call recording url of multiple phone calls, made from one account but with different sub-accounts and with an authority token. How to go about it?

推荐答案

每个录音都有一个 ID,类似于`RExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.

Each recording has an ID, something like `RExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.

MP3 格式的网址是

https://api.twilio.com/2010-04-01/Accounts/ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Recordings/RExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.mp3?Download=false

你也可以从at获取WAV的url

You can also get the url for WAV fromat

https://api.twilio.com/2010-04-01/Accounts/ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Recordings/RExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.wav?Download=false

此外,请注意 Download=false 查询字符串参数.

Also, observe the Download=false query string parameter.

这篇关于使用 PHP 编程时,如何在 twilio 中获取通话录音 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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