Twillio call whispers and recordings - twilio

I want to do the following in Twilio Studio:
I want an incoming call to be recorded and I want the person answering the call to hear a voice whisper - not the person calling. How do I set this up in Studio?
I'm not a coder and don't have a technical background. That's why I want to keep to the drag and drop features.

Twilio Studio doesn’t currently support the capability to handle whisper (playing a text to speech message or mp3 to the dialed party before connecting the calls together. You should be able
to do this with the Studio TwiML Redirect Widget and a TwiML Bin or Twilio Function providing the necessary TwiML.
The TwiML Number noun has a URL attribute which provides this whisper functionality.

Related

Transfer incoming call to zello channel app by twilio

I want to build IVR system when user press one ->
Direct to my zello channel
Or
Direct to app have zello channel api
So converting incoming call as zello walkie-talkie conversation
Note that calls are wave
And zello play with opus system
This helps me in ptt option also tracking location..if there any solution for this
Even in programmable voice or twiml bin to direct call directly to zello channel in function in twilio studio?
Thanks alot

Whisper message & voicemail functionality in Twilio

I would like to have a tracking number in Twilio that will forward to my cell phone, provide a whisper message, record the call, and go to voicemail if I don't answer. Then I would like the voicemail recording emailed to me.
I've figured out how to use Twilio Studio and Twimlets to do everything, except the Whisper message.
I've found several threads that teach how to integrate a Whisper message using TwiML Bins, but I none of them include voicemail capability that I need.
I'm not a programmer and I want to be able to duplicate these functions on other tracking numbers that I own.
Can anyone assist me with this? Thanks!
Check out this blog post.
Outsmart Voice Mail with Human Detection Using Keypress Prompts
https://www.twilio.com/blog/voice-mail-human-detection-studio-functions
You can use <Say></Say> verb to whisper message and use the <Record> verb to record the call.
You'll get the recording of your call in an endpoint, which you can then email to your address with sendrid or whatever you want.

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 Outbound Call Speech to Text

How does Twilio Speech Recognition work for outbound calls? For incoming calls, I'd assume creating Twilio functions under developers tools, handle with VoiceResponse and set the A CALL COMES IN option to the create function
Assume calling into an IVR system, listening to the IVR prompts, use Speech Recognition and then have twilio perform an action.
Is it possible?
Twilio developer evangelist here.
When you make an outbound call, you need to set a URL within the API request that Twilio will make an HTTP request to to find out what to do once the call connects. From then it's basically the same as the inbound call.
You would return the <Gather> TwiML with input set to speech with an action defined for the URL to call once the speech recognition has a full result. You can use that URL to respond to further prompts from the IVR that you're calling, or do other things like <Dial> onto another number once you've, say, connected with an agent via the IVR.
Let me know if that helps at all.

Twilio stop recording of a call

We are currently developing an autodialler using twilio - we are using conferences. The call center operator will be sitting in a conference room and then calls are initiated via twilios rest api and then moved into the conference. We are not wanting to record the entire conference but just the calls within the conference. We will be transferring calls as part of this but when we transfer to a third party we want to ensure this isn't recorded. Is there a way to stop recording with Twilio.
Twilio developer evangelist here.
There isn't an API native way to stop the recording of a conference part way through. What I'd recommend here is that, when you want to initiate the call to the third party to bring them into the conference, also initiate a couple of requests the use the Twilio API to redirect the current calls into a new, non-recording conference and direct the third party into that conference instead.
Let me know if that helps at all.

Resources