How to Receive IVR Voice without pressing any key to continue on call start on Twilio? - twilio

I have been using trail account. I have made a application to make a call and say Birthday greetings. I can able to make a call to the registered phone number and the message is speaking when i press a button. I need to receive the message without pressing any button. is there any option to do this? Kindly share if we can do that.
Is there any feature that makes straightforward call without prompting the caller to press any keys in dial pad ?
Thank you in advance.

Twilio developer evangelist here.
The message prompt to get the recipient to press a key is a feature of our trial account. The way to remove that message is to upgrade your Twilio account by adding a credit card or PayPal account and adding some funds.
Once you have done that, the message will go away and your call recipient will only hear the birthday greetings.

Related

Apple messages auto-call

have an interesting problem I need to solve, I was hoping if anyone could give me some sort of an idea.
For example, if I get a text from someone saying (string) “URGENT” on my iPhone, I want to call them immediately.
So say I get a message, it could be any message but if their message says “urgent”, I need to call them ASAP, even when my phone is turned off.
Is there a way to do this, using API or anything?? I have no idea!!
Example say I get a messages saying:
Number 042XXXXX sends me a text:
"Hi Name, I have some urgent work for you"
Number 1300 XXX XXX sends me a text:
"Urgent help needed"
Both of these messages would be read by iPhone and their respective numbers would be dialled urgently.
Is there such a way to do this/automate this??
Any advice would be appreciated!!
I have no idea what to do, I am blank!!
I think the problem you have needs an indirect solution because, as Paulw11 points out, Apple don't allow you to inspect the message directly.
It would be possible to make use of Twilio's Programmable SMS API to setup a special phone number that customers could send text messages to. Then you use the APIs of Twilio to read the messages and then send an Apple Push Notification message for those the had "urgent" in the message.
You could then write an iOS app which receives push notification messages and takes the actions you desire. For example, it could present a screen which could automatically dial the number in question.

Twilio SMS Webhooks and Group Text Messages

Is it possible to maintain both group text messages and single text messages with users and keep them separate? I understand there is no concept of a group message per se, but wanted to see if any recent advances in tech has made this possible with Twilio or other providers.
In short, I am creating a POC where a user inside an iOS App can send invoke an API call to my backend application. This application receives a phone number from someone's contact list, and then connects to Twilio to send the SMS message to that target user.
When the user replies, I was researching Twilio Web hooks to receive the message, and then save it in the database. The originating user, then, would be able to see the message on a screen.
I would guess that when a user responds to the twilio message, the only metadata that comes in is their message and phone number, so the "foreign key" is the phone number.. Thus when I save it in my database, I have their phone number and message.
This works up until someone decides to target two or more people in an SMS message using my API, and then target one of those people individually. For example they select me as a sole recipient, and then select me and someone else as a group text message.
In this case, how could my system/Twilio differentiate between if I was responding to the group message, or to the single message?
Any ideas or work arounds? Maybe another technology? Thanks!
I wanted to provide an answer to this in case anyone else was looking into this.
Essentially you pay 3 cents (0.03) per month per active user in each group. Basically you buy phone numbers for each group chat you need.
https://www.twilio.com/conversations/pricing
So if you're doing a million group chats obviously it can get costly, but for simple POCs this isn't the end of the world.
Enjoy!

Is it possible to send an SMS message from an iOS app to the current caller when a call is in progress?

I have searched and have not been able to find a definitive answer. I know that it is not possible to get the phone number of the current caller using Objective-C, but I don't need the number.
I want to send a text message to the current caller. Does iOS have a method to allow you to send a text message from an app to the current caller.
The scenario is this:
End user calls another user
They put the person they called on speaker phone and navigate to my app
The app has a button that allows them to share information via SMS to the person they are talking to while they are talking to them without having to do anything more than click a button (the user doesn't have to type the other person's phone number manually to send the SMS).
Sukhdeep is correct.iOS will never allow you to perform Messaging without user involvement.
The answer is No.
Apple will never allow you this.

Browser to browser calls with free account press any key to continue?

I am trying out twilio using the quick start tutorial. I am doing browser to browser calls. I have followed the tutorial. When I try to make a call it rings and connects. It then plays the "free account" message and asks me to press any key to continue. When I press a key it does nothing for a few seconds and then hangs up without going through to the other browser.
Is this happening because I am on a free account or is there something else I need to do in order for it to register the key press from the browser?
Twilio evangelist here.
I can see where this might be confusing and its good feedback. The prompt to press any key is apparently making the assumption that you are calling from an actual phone, which would include a keypad that lets you press any key. Obviously with a simple Twilio Client app there isn't by default a number pad to press, but the JavaScript SDK does include the sendDigits function, which makes it pretty trivial to wire up a button (or some other UI) in your app to send the equivalent of a key press (aka a DTMF tone) to Twilio.
Hope that helps.

How to setup twilio in my application

From the last days i am struggling to how to use twilio in my ios app to make and receive a call with test credentials.Do i have to set up server for that and if yes then how to use the server and make call ? And if twilio does not allow to make call with test credentials ,how to make call with live paid credentials?
Please guide me .And pardon in case of any spelling mistake.
Any help is appreciated.
Thnx
Twilio employee here. Check out the Quickstart docs on our website: it takes you step-by-step through the setup process for iOS: https://www.twilio.com/docs/quickstart/php/ios-client
Twilio will allow you to place phone calls and send SMS messages to numbers you have verified on your test account. Add your personal phone number to the Verified Called ID list here: https://www.twilio.com/user/account/phone-numbers/verified
I hope that helps!

Resources