How do I get a call recording url in twilio when programming in PHP?

拥有回忆 提交于 2019-12-11 06:48:44

问题


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?


回答1:


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

The url for MP3 format is

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

You can also get the url for WAV fromat

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

Also, observe the Download=false query string parameter.



来源:https://stackoverflow.com/questions/40582466/how-do-i-get-a-call-recording-url-in-twilio-when-programming-in-php

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