twilio

Twilio RestSharp Dependency

不羁岁月 提交于 2019-12-21 12:59:17
问题 I have just updated a MVC web application running on the ASP.NET Framework version 4.5.2. I am using Twilio to send an SMS message: var twilio = new TwilioRestClient(twilioSid, twilioAuthToken); var result = twilio.SendSmsMessage(twilioNumber, message.Destination, message.Body); After the update, I am getting the following error: System.TypeLoadException: Could not load type 'RestSharp.HttpBasicAuthenticator' from assembly 'RestSharp, Version=105.2.1.0, Culture=neutral, PublicKeyToken=null'.

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

风流意气都作罢 提交于 2019-12-21 06:08:17
问题 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

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

一笑奈何 提交于 2019-12-21 06:07:32
问题 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

Sending SMS via Twilio on ios?

别来无恙 提交于 2019-12-21 02:55:12
问题 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

What this syntax meaning in Javascript

萝らか妹 提交于 2019-12-20 06:39:03
问题 I am looking for API of TWILIO in javascript , and i found something like const { connect, createLocalTracks } = Twilio.Video; navigator.mediaDevices.enumerateDevices().then(devices => { var videoInput = devices.find(device => device.kind === 'videoinput'); return createLocalTracks({ audio: true, video: { deviceId: videoInput.deviceId } }); }).then(localTracks => { return connect('my-token', { name: 'my-room-name', tracks: localTracks }); }).then(room => { console.log('Connected to room ' +

Twilio sandbox webhook url returning timeout execution error

这一生的挚爱 提交于 2019-12-20 06:26:51
问题 can anyone please tell me how to increase timeout for twilio sandbox http post url. I am trying to building one programmable chat application using whatsapp twilio sandbox using asp.net technology. Normally my application methods takes 20 plus seconds to run but when i did same thing on twilio sandbox then its returning execution timeout error. is there any way to increase timeout for twilio sandbox using .net. 回答1: Twilio developer evangelist here. The Twilio webhook timeout is 15 seconds

twilio callbackurl called with SendMessage method but not with SendSmsMessage method

喜夏-厌秋 提交于 2019-12-20 06:21:29
问题 I am using twilio paid account for sending sms messaging. I have also configured a callback to do some status update in my application when message is delivered to client. One odd behavior i am having is that when I am sending message with SendSmsMessage (as it is a simple sms message) then though message is delivered to the mobile but callbackurl is not called but when I am sending me message with SendMessage method Callbackurl is working fine and status also changed to delivered on twilio

Getting CallSID for Twilio Softphone / Twilio.js incoming/outgoing calls

六眼飞鱼酱① 提交于 2019-12-20 03:17:47
问题 I have created an application using https://www.twilio.com/docs/howto/twilio-client-browser-soft-phone as the template. I am trying to log the CallSid for incoming and outgoing calls so that I can tag calls locally and use the Callsid to link between my local data and twilio's call store. I am able to get the CallSid for incoming calls easily with: Twilio.Device.incoming(function (conn) { if (confirm('Accept incoming call from ' + conn.parameters.From + '?')){ connection=conn; conn.accept();

When using Twilio iOS sdk and building Cordova app openssl crashes

若如初见. 提交于 2019-12-20 02:37:05
问题 I am building a cordova app for iOS and I am using Twilio Plugin with the corresponding Twilio iOS SDK. For some reason, after calling the setup method from Twilio plugin ( which then calls native code ), the app crashes. Here is the link of stack trace: The exception I get is EXC_BAD_ACCESS . I know that the problem may not be in cordova because i downloaded phonekit app and it does not crashes. https://github.com/jconst/PhoneKit This is cordova plugin I am using: The method I call is :

Adding multiple people to a conference call from caller Twilio

∥☆過路亽.° 提交于 2019-12-19 07:58:20
问题 I read lots of articles about Twilio conference call. I created a php function which creates a Twilio conference which can add any one who have access to that link to the Conference with this link. so then I read this article about Dialing Multiple Numbers Simultaneously with Twilio. This article shows how to dial multiple clients or numbers in the same time but the first one who accept the call will connect while the others will be hung up on. <?xml version="1.0" encoding="UTF-8"?> <Response