Twilio: Can a moderator mute specific participants in a conference call? - twilio

I can use the Twilio JavaScript API to have a participant mute/unmute themselves, but I'm looking for a moderator to be able to mute specific participants, whether they dial in by phone or by clicking to call.
Thank you!

Twilio evangelist here.
You could build a UI that lets a "moderator" see all of the connected conference participants by using the Participants resource in the REST API.
You can POST to a specific participant to mute them.
Hope that helps.

it would seem this would have your answer:
http://www.twilio.com/docs/howto/moderated-conference
Right below the top tells you to call a noun in {conference} to be able to mute a specific member.

Related

Twillio programable video how to notify from client 1 to client 2

I use Video WebRTC Go to build a peer to peer video chat app with Twilio.
Client 1 creates a room and gets access to that room. So how do we make client 2 aware of that this.
How do I pass the signal there is a call for him (Client 2).
Do I need to handle it my self? or Does Twillio provide a service to achieve that use case?
Hope my question is clear.
Any help!
Thanks in advance! =)
Twilio developer evangelist here.
When you create a room for the users to meet in you will need to make your users aware. There is nothing within Twilio Video specifically to do that.
There are service that Twilio provides that could be used for this, for example, you could SMS or email your user with a link to a page on your site where they can join the room. It depends on the user experience you want to create though.

How to detect Touch-tones (DTMF) in a Twilio video room

After following this document I can successfully add PSTN callers to a video room (Small Room type). What I haven't been able to do is to detect DTMF tones from the person calling in.
I tried two different approaches, both have failed
1) The one that I used before with a different provider and worked, but not with Twilio, was to have one of the other users in the room (not the PSTN caller but a javascript client) detect the DTMF client-side. This doesn't work with twilio because it sounds to me like twilio is manipulating the audio stream to remove the DTMFs before they reach the other users in the room (when the PSTN caller presses a number, you only hear a short "click" on the other side)
2) Inspired by this answer, I tried to reply with a TWIML
<Response>
<Connect>
<Room>my-room</Room>
</Connect>
<Gather input="dtmf">
</Gather>
</Response>
This would not be ideal since it wouldn't detect the DTMF while in the room; you would have to leave the room, but I tried it anyway to see if I could come up with a way to terminate the call to move on to the gather verb like in the linked answer. It looks like the call doesn't move to the gather part after the room ends (i tried completing the room and the PSTN call immediately ends)
Are there any other approaches that anyone has used for this? The simplest to me would be a way to tell twilio not to remove the DTMFs from the audio stream so my solution #1 would work, but I'm open to other ideas maybe leveraging twilio's gather
Twilio developer evangelist here.
It doesn't look like it's currently directly possible to detect DTMF tones in a phone call that has been connected to a video room.
One possibility is to use the new Media Stream capability to direct the live audio to your own server to detect the tones.
I have asked the team to see if there are other options though.

Twilio conference call participants can able to see other participants numbers or not?

I am trying to integrate Twilio call and conference call, before that I have few doubts on it.
While conference call time one participants can able to see other participants real numbers or not? If possible, how to restrict that?
Twilio developer evangelist here.
With a conference call, your participants will only see one number, the Twilio number that they called or that you make calls from.
With regular calls, you have the option to set a callerId when you forward a call. If you don't set this, then the incoming caller ID is used and the number will be shared with the person being called. If you set the callerId to a Twilio number, then the person being called will only see the Twilio number.
If you are looking to build masked number/anonymous communications, then I recommend you take a look at Twilio Proxy which can handle all of this for you too.

Twilio REST API Conference Select participants to listen to

Is it possible to select which participants to listen in a conference as a moderator?
In other words just mute a participant for the moderator not for all the other participants.
Twilio developer evangelist here.
The short answer is: no.
The slightly longer answer is:
Conference calls are all mixed together on a media server, not shared peer to peer. If one user is muted, they are muted for everyone as they are muted at that stage.

Twilio conference call live streaming in website

Hi everyone,
I am new to the Twilio API. I have successfully setup call conferencing and recording. But my requirement is to stream live conference call from website. Is it possible...? I have been searching in google from 2 days but no use. Please help...
Twilio developer evangelist here.
You can't exactly stream a conference call, but you could use Twilio Client to provide a way for users on a website to dial into the conference. You can then mute all of those callers so they are effectively just listening.
Do note that you can only get 40 participants on a call using Conference and up to 250 using Global Conference.
Let me know if this helps at all.

Resources