问题
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