twilio

How to not offer a task to specific worker on Twilio

橙三吉。 提交于 2019-12-22 06:55:31
问题 I am new in Twilio and i have been facing an issue while designing outbound dialer currently preview dialing. If a worker rejects a task than the same task should not be offered to that worker again. How do i handle this case? 回答1: Typically if a worker rejects the task, the worker should be moved to an unavailable activity. Otherwise, if the worker is the only available and qualified worker, TaskRouter will continue to create new reservations. You can specify a new activitySid upon rejection

Slow down Twilio's TwiML “Say” command for text-to-speech numbers

六眼飞鱼酱① 提交于 2019-12-22 04:35:17
问题 I've created a Twilio application that involves using Twilio's TwimL <Say> command to read off a list of numbers that constitute an ID that the user has previously input (e.g., 3638194746219190 or something along those lines). Since it's a long list of numbers, I have the application read back the list of numbers to confirm that the user has input them correctly. Since it's dynamic, I can't pre-record it--it has to be with <Say> , but Twilio reads it back way too quickly. I currently have the

Twilio permission to send sms has not been enabled for the region indicated

元气小坏坏 提交于 2019-12-22 01:37:36
问题 I'm a new Twilio user and am trying to test sending an SMS using my Live credentials, purchased From number, and valid To number. I'm receiving this error: Unable to create record: Permission to send an SMS has not been enabled for the region indicated by the 'To' number AFAIK, sending IS enabled for the United States. Is there something else that I'm missing? Thank you. 回答1: Twilio developer evangelist here. What you need to do is go to your Twilio console, to the Geographic permissions for

Is it possible to use the signed RestSharp NuGet package with Twilio?

匆匆过客 提交于 2019-12-21 20:38:13
问题 We're using both DocuSign's API which requires the signed version of RestSharp, and we're looking to integrate Twilio which requires the unsigned version. I've spent a bit of time trying to get both DLLs to resolve for each of their dependencies, and haven't had any luck. At this point, I'm hoping there's a way to use the signed RestSharp dll with Twilio. Has anyone had any experience with this before? When I attempt to remove the unsigned RestSharp, my DocuSign code works fine, but now

Combining a multi-message incoming SMS message from Twilio

£可爱£侵袭症+ 提交于 2019-12-21 20:34:39
问题 I'm building an SMS-enabled app that allows the user to communicate with an external contact. As incoming messages arrive, I save them to my database so that they can be displayed in the app. In testing, everything is working great for one-off messages, but I'm having trouble with messages longer than 160 characters, which are actually broken up into multiple messages. When an incoming message comes in via SMS, I'm checking whether we already got a message from that number within the past few

What is the deal with Twilio and International SMS?

[亡魂溺海] 提交于 2019-12-21 19:53:51
问题 I've been working with Twilio to program SMS functionality on my app, and it seems that Twilio works best with US numbers and not so well with international numbers. I've done some research and have learned about an August 16th fiasco that resulted inthe SMS functionality being shut off by Twilio. Also through testing I have learned that some international carriers are not supported by Twilio. So some of my friends abroad aren't receiving my Twilio SMS messages. Can anyone provide further

Generate VCard and Send Via Twilio

三世轮回 提交于 2019-12-21 17:55:10
问题 I am writing a Twilio + Parse app which lets users share their contact info via SMS. I have a sample Vcard as a string in javascript: message = ''; message += 'BEGIN:VCARD'; message += 'BDAY;VALUE=DATE:1963-09-21'; message += 'VERSION:3.0'; message += 'N:Stenerson;Derik'; message += 'FN:Derik Stenerson'; message += 'ORG:Microsoft Corporation'; message += 'ADR;TYPE=WORK,POSTAL,PARCEL:;;One Microsoft Way;Redmond;WA;98052-6399;USA'; message += 'TEL;TYPE=WORK,MSG:+1-425-936-5522'; message += 'TEL

Is Twilio API_KEY_SECRET is same as the Twilio Auth Token in console?

我的未来我决定 提交于 2019-12-21 16:37:18
问题 I am trying to use Twilio Video for which I need to obtain access tokens(jwt) from my app server. Below is the NodeJS app server code that generates an Access token. In the below credentials, API_KEY_SECRET is required, I thought this is same as Twilio Auth token that can be found in the Twilio console. Is my understanding correct ? if not, where can I find the API_KEY_SECRET ? var AccessToken = require('twilio').AccessToken; // Substitute your Twilio AccountSid and ApiKey details var ACCOUNT

Twilio javascript client callback on call answer

旧街凉风 提交于 2019-12-21 15:15:40
问题 I am using Twilio JavaScript client. I am able to make calls, capture callback events, connect, and disconnect. How do I implement a callback when a call is answered? I need to show a call timer after answering the call. 回答1: The Twilio js client has a Device property which has the following methods that you can use. Twilio.Device.incoming(softPhoneIncoming); Twilio.Device.connect(softPhoneConnect); function softPhoneIncoming(conn) { console.log(conn.parameters.From); // who is calling conn

Twilio RestSharp Dependency

∥☆過路亽.° 提交于 2019-12-21 12:59:45
问题 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'.