twilio

Is it possible to access the live audio stream in a Twilio call?

大城市里の小女人 提交于 2019-12-04 00:11:02
问题 Twilio can provide call recording, but that's not real-time. Is it possible to write an app that processes the caller's audio in real-time and responds after processing the audio? I'd like to have some software "listen" to the speaker and respond programmatically. 回答1: Two years later, Twilio has released the use case I was trying to do on my own. They have a real-time speech recognition service built into Programmable Voice now. It's in public beta: https://www.twilio.com/blog/2017/05

Test telephone numbers for Twilio

好久不见. 提交于 2019-12-03 23:26:43
Does Twilio have any "test" telephone numbers that I can use to emulate outbound calls? For example, I'd like to be able to test my app to the fullest, getting back asynchronous responses (like I would normally expect to) for calls that are busy, answering machines, out-of-order, invalid numbers etc. There are a few numbers you can use for SMS messages - but these all return simple, immediate responses, and not the kind of asynchronous ones you'd expect through voice calls that are being handled through TwilXML. How am I supposed to test all this functionality without making calls to tons of

Can I forward SMS to an email using ONLY a twiml bin?

喜夏-厌秋 提交于 2019-12-03 22:02:36
问题 It's very clear how you should forward an SMS to an email address using twilio - they have a good example of doing it with php code hosted on a third party server. However, I would like to forward an SMS to an email address using ONLY a twiml app and no other third party request / code. I attempted this using the function: <Response> <Message to="user@example.com">{{From}}: {{Body}}</Message> </Response> ... but this did not work, presumably because only accepts a phone number as the "to:".

How to make live voice phone call using Twilio instead of just playing an MP3 when call is answered?

别等时光非礼了梦想. 提交于 2019-12-03 21:10:58
To call phone number from notebook through Twilio I created ASP.NET-MVC 5.2 application. I can call a number and answer the phone but I don't know how to achieve live voice(to be able to talk) connection instead of just playing music. I created an action method inside HomeController : public ActionResult Call(string to) { client = new TwilioRestClient(Settings.AccountSid, Settings.AuthToken); var result = client.InitiateOutboundCall(Settings.TwilioNumber, to, "http://twimlets.com/message?Message%5B0%5D=http://demo.kevinwhinnery.com/audio/zelda.mp3"); //it causes to play zelda theme when call

Postman Twilio Rest Api

删除回忆录丶 提交于 2019-12-03 16:21:17
问题 Hi I was wondering if someone could help me ,I am trying to use twilios' rest api and im running into some trouble. MyAccountIdSid,mySid and phone numbers are filled in in the actual request,Is there something i am doing wrong, I get Your "AccountSid or AuthToken was incorrect" . Can someone show me the correct way to make this request for sending an sms please. I am trying to send a text message Post Request Url i am using : https://api.twilio.com/2010-04-01/Accounts/MyAccountIdSid/Messages

How to use twilio to guarantee a live answer or voicemail?

依然范特西╮ 提交于 2019-12-03 15:30:35
Update: I got it working https://github.com/coolaj86/bizilio I have this scenario where a customer makes a call and that call should be forwarded to the first representative to answer (let's just focus on one for the moment). The problem is that occasionally the rep butt-answers or the phone is off and goes straight to voicemail, which is detected as an answer. What I would like to do is put up a challenge such as using gather & say "press 2 to answer" with a 5 second timeout and then connect the call (or drop the call) and if no rep responds go to voicemail. I'm not clear on how to connect

Grasshopper Voice + Twilio Text

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My company is currently using Grasshopper as our voice system for receiving and routing inbound customer support calls. It's working pretty well. Except that it's 2014 and people expect to be able to text issues to our toll free customer support number and get responses. Grasshopper doesn't support receiving/forwarding SMS. So I want to use Twilio just for receiving inbound text and Grasshopper for voice on the same number . It seems like a number has to be registered either with Twilio or Grasshopper and can't be shared. Does anyone know if

Good way for the client to know when a Twilio Capability Token has expired

▼魔方 西西 提交于 2019-12-03 09:32:40
问题 Question What is a good way for a client application to know when its Twilio Capability Token has expired? More info In my case, the client application is a Javascript application running inside a web browser. The reason I ask is because I want to make sure that the client application (running in the web browser) is always ready to receive incoming calls that are intended for it. It occurs to me that if the Capability Token that the client application is using has expired, then calls to that

Receiving SMS and storing it in database using Twilio

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i am using Twilio API to send and receive sms from the customers. Every time i send the sms to my customers, i store the feilds like to , body in to my database. I have implemented the API for send message that works fine and am simply saving the fields in to my database. My Problem When i receive SMS from my customers to my twilio number. i want to get the fields like from number and the body and save to my databse. i looked that the documentation here https://www.twilio.com/docs/api/twiml https://www.twilio.com/blog/2012/04/get-started

Sending SMS via Twilio on ios?

£可爱£侵袭症+ 提交于 2019-12-03 08:43:50
How can i send SMS through twilio , i have tried already and doing following. - (IBAction)sendButtonPressed:(id)sender { NSLog(@"Sending request."); // Common constants NSString *kTwilioSID = delegate.sessionId; NSString *kTwilioSecret = delegate.twilioToken; NSString *kFromNumber = delegate.twlioNumber; NSString *kToNumber = @"+14126620408"; NSString *kMessage = @"Hi there......"; // Build request NSString *urlString = [NSString stringWithFormat:@"https://%@:%@@api.twilio.com/2010-04-01/Accounts/%@/SMS/Messages", kTwilioSID, kTwilioSecret, kTwilioSID]; NSURL *url = [NSURL URLWithString