How to get Twilio conference participants after it is over?

别来无恙 提交于 2019-12-11 04:58:24

问题


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

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