结束后如何获得 Twilio 会议参与者? [英] How to get Twilio conference participants after it is over?

查看:29
本文介绍了结束后如何获得 Twilio 会议参与者?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 Twilio docs curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Conferences/CFbbe4632a3c49700934481addd5ce1659/Participants.json -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX't 在会议结束后获取参与者列表,我只在会议 inprogress 时取回数据.而如果我转到 Twilio 控制台,我可以在会议日志部分看到所有参与者的详细信息(时间戳、电话号码、持续时间等).

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.

有没有什么办法可以在会议完成后通过API获取所有参与者的信息?

Is there a way I can get all the participant information through APIs after conference is completed?

推荐答案

Twilio 开发人员布道者在这里.

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).

如果您想在会议期间存储所有参与者的列表,那么我建议您使用 statusCallback` 接收每个加入会议的参与者的网络钩子,并将详细信息存储在您的应用程序中.

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.

这篇关于结束后如何获得 Twilio 会议参与者?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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