问题
As per Twilio docs curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Conferences/CFbbe4632a3c49700934481addd5ce1659/Participants.json -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
should give list of participants but I don't get list of participants after conference is over, I only get data back when conference is in-progress
. Whereas if I go to Twilio console, I am able to see all the participants details(timestamp, phone numbers, duration etc) in conference logs section.
Is there a way I can get all the participant information through APIs after conference is completed
?
回答1:
Twilio developer evangelist here.
The Participants list resource really refers to the current participants of a conference, so that you can manipulate the current participants (by muting or ejecting them from the conference for example).
If you want to store a list of all the participants over the course of the conference then I recommend you use the statusCallback` to receive webhooks for each participant joining the conference and store the details in your application.
Let me know if that helps.
来源:https://stackoverflow.com/questions/42481929/how-to-get-twilio-conference-participants-after-it-is-over