Twilo Message Broadcast - message

Hi all dose anybody have any simple basic workings to send a prerecorded message to a phone like a broadcast using Twiillo
Make a call to a phone number
User picks up
Twilo plays a message
the users select a option Yes or No
Hangs up
also how can we determine if its a voice mail box if the user dose not pick up and goes into if a voice mail
I am using PHP and have fair idea on what to call

The best way to avoid playing messages to answering machines is to have a simple human-detector ('press 1 to hear the message').
https://www.twilio.com/help/faq/voice/can-twilio-tell-whether-a-call-was-answered-by-a-human-or-machine
The workflow sounds very doable by Twilio. I'm not a php programmer, but Twilio has a lot of documentation with examples in php. I'd check out the following if I were you:
to make a call
https://www.twilio.com/docs/api/rest/making-calls
you're going to probably want to start a gather before playing the message as some people will reply before the message finishes
https://www.twilio.com/docs/api/twiml/gather
and here's how to play
https://www.twilio.com/docs/api/twiml/play
alternatively if you want to use the TTS you can use the say tag instead
https://www.twilio.com/docs/api/twiml/say

Related

Integrate Audio Voice Change into Twilio Voice Call

I want to Integrate Audio Voice Change into Twilio Voice Call Steps and Questions
Call Rest API for an introductory call from one device to another
Now how to implement a Voice changer in-between a Call?
For Changing Voice I would re-commend Aroga Voice changer Functionality
Now How to provide Agora voice changer output to Twilio Input?
Most Importantly How can we Connect two Functionalities with Each Other? #TwilioHelp #TwilioSupport
I want to Modify outgoing Voice Call input and Pass towards the End Call
How am I Gonna do that?
Firstly, I'll Make call Streams using Web-sockets, SO that I can get a input Stream from User
Then-after I can Modify the Voice according to Users Perspective
First question -> Is this possible? to get Voice from Stream?
I'll use Some Voice Algorithm and the Out-put of that Algorithm will be Redirect to Twilio Voice, So that the End User can Listen the Modified Voice!
Please Help me to Implement this Functionality!
Thanks in Advance and regards

Issue with character limit in Twilio and responding back manually

I'm facing some challenges with Twilio and was wondering if someone knows how to resolve them. First, would like to highlight that I don't have a programming background but I can write low-level code.
Current Case:
A session is booked > Record is created in Airtable via a Zap with calendly > Twilio sends a message using the info in Airtable via a zap with calendly.
Problems:
I'm currently only able to send 160 characters in the message. If the message is longer, only the first 160 characters are sent and the message is cut short (e.g. looking forwa....)
I don't have an easy way to respond back to messages. Currently Twilio forward all messages to a Voice number in one big thread and I have to respond back in this format
+1123456789: Message.
This is confusing and causes a lot of issues.
Is there any way to build something in Twilio which allows for manual responding?
Thank you all in advance!
Twilio developer evangelist here.
I'm currently only able to send 160 characters in the message. If the message is longer, only the first 160 characters are sent and the message is cut short (e.g. looking forwa....)
This sounds like a limitation of the Zap you are using. SMS messages are 160 characters in length, but Twilio can stitch together up to 10 messages, allowing you to send up to 1600 characters. Twilio doesn't truncate the messages either, so it sounds like something the Zap is doing. In 2017 Zapier did announce that you could send longer messages with their integration, you just had to update your Zap with the right setting.
I don't have an easy way to respond back to messages. Currently Twilio forward all messages to a Voice number in one big thread and I have to respond back in this format +1123456789: Message. This is confusing and causes a lot of issues. Is there any way to build something in Twilio which allows for manual responding?
You could certainly build something. Or integrate with an app like Front which can give you a shared inbox for things like incoming SMS from Twilio.

Twilio: How do I always place a "All calles are being monitored message" for incoming calls?

For incoming calls:
1) I am new to twilio, but I always want a "All calls are being monitored or recorded" to play for all incoming calls. What is the best way to do this?
2) I would like to create two messages after the "monitoring" message is played. one message during open hours and a second message during closed hours.
What is the best way to do this? Any good documentation?
Twilio developer evangelist here.
Welcome to using Twilio! I'll give you a quick overview of how incoming calls to Twilio work then point you to some useful parts of our documentation that will help you achieve what you are working towards.
When a Twilio phone number receives an incoming call, Twilio will send an HTTP request to your web application, asking for instructions on how to handle the call. Your web application will respond with an XML document containing TwiML. That TwiML contains the instruction that Twilio will follow to say some arbitrary text, play an MP3 file, make a recording and much more.
In your case you want to read messages to the caller, you could either do that by returning TwiML that uses <Say> to read out the messages using our text to speech engine. Or you could record yourself reading the message and play that to the caller using the <Play> TwiML.
To learn more:
Follow the Programmable Voice Quickstart
If you need more specific instruction on a particular Twilio feature, check out the Twilio Guides
If you need to see Twilio features as part of a complete application, check out the Twilio Tutorials which cover more specific use cases
Let me know if that helps at all.

Twilio Dynamic Text-To-Speech Conversation

I'm new to using the Twilio API and I essentially want someone to be able to send text and have it be read out in the phone call, but then keep the line open so that more text can be sent at a later time.
It seems like I should be using the Programmable Voice API along with TwilML, but the problem I am having is that once the TwilML instructions are completed the call ends. Is there anyway I can stop this from happening and have the call wait for a Rest API update to be sent to the phone call to have it say new text?
Twilio developer evangelist here.
There are a few ways you could deal with this, but I believe the best would be to use <Enqueue>. Once your TwiML is played out, you can <Enqueue> the call and then provide a waitUrl that points to an endpoint that returns more TwiML to play to the user while they wait. This will automatically loop while the user remains in the queue. You could use this to simply <Pause> indefinitely or <Play> background music. Then, once you have more text to read to the user you can redirect the call by updating it.
Let me know if that helps at all.

Twilio - Play an audio file to the person call is transferred to before connecting

The answer to this my be out there, but I'm having trouble locating it do to I don't know what the feature would be called.
I have a phone system setup where people call in with an option to press zero to be transferred to a live person. The person it goes to also receives calls from other places and I would like to notify them with an audio file and possibly a action with a little more info about the call before it's connected.
Example of what I would like to happen:
A call is placed to our system and they press zero, they hear on-hold music while a action is started.The phone rings in our office and the receptionist picks it up. After answering they hear something like 'incoming call from some company, connecting now', and then the call connects to the other person.
I have everything working in the system right now minus the piece of audio the receptionist would hear before the call is connected.
Is there a feature like this built into Twilio?
Twilio evangelist here.
What you're describing is called a 'whisper' and its pretty easy to set up with Twilio. I'd start by reading through the Call Screening and Recording How to which includes an example of a whisper.
Specifically, check out examples 4 and 5 which shows how to include the url attribute on the <Number> noun. The url you provide there will be requested when the second call is answered and allows you to return TwiML that Twilio will execute to that call before we bridge the two calls together.
Hope that helps.

Resources