twilio

Twilio REST API HTTP 400 error: “SendDigits must be less than 32 characters long”

会有一股神秘感。 提交于 2019-12-12 03:02:21
问题 One of my apps has been making Twilio REST API calls for more than a year without problems. For the last week, I consistently get this error now: HTTP 400 error: {"message": "SendDigits must be less than 32 characters long", "status": 400} My request looks like this (some information redacted): (method='POST', uri='https://api.twilio.com/2010-04-01/Accounts/xxxxxxxxxxxxxxxxxx/Calls.json', **kwargs={'auth': ('xxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxx'), 'data': {'From': '+1415DDDDDDD', 'SendDigits':

Twilio Alphanumeric Sender id doesn't work from MS Access

心已入冬 提交于 2019-12-12 02:40:07
问题 I am using Devin Rader's VBA code to send SMS from MS Access, and it works fine. But Alphanumeric Sender Id (as specified in the FAQ/Doc, all one needs to do is to replace FromNum with the Id (<=11 chars)) only works for me when I do it from Twilio API Explorer. From MS Access, I end up with error 21212 ("Invalid 'From' Phone Number". 回答1: Twilio evangelist here. Sounds like you might be calling the older /SMS endpoint which does not support SenderID instead of the newer /Messages endpoint

Twllio : Play Sound during call

前提是你 提交于 2019-12-12 02:15:33
问题 I want play sound during call, so receiver will able to listen that sound. Suppose, I am in office, And I want play sound of traffic during Twilio Call. Is this possible using Twilio in iOS ? If I select button to play traffic sound, then only receiver can able to listen the same. If receiver select to play sound of Party, then only caller can listen that sound, not both the parties. If yes, What are the possible ways to implement the same. 回答1: Twilio developer evangelist here. You could use

Can outbound calls be made through Twilio TaskRouter

痞子三分冷 提交于 2019-12-12 02:15:31
问题 Currently we have a call center application that is built on Twilio Client for JavaScript (for the WebRTC call handling capabilities) and we have started to use Twilio TaskRouter for managing the workflows of incoming calls. We have incoming calls properly being routed to our TaskRouter Workers using the Twilio Client WebRTC client. We previously had outbound calling working through the Twilio Client library in our JavaScript client and this worked well. Now that Twilio TaskRouter has been

Twilio + Nodejs react app. Cannot find module “net”

风格不统一 提交于 2019-12-12 01:36:34
问题 I'm trying to create a web app using React and Express and using webpack-dev-server for development. I want to send text messages but I keep getting this error when I try to use Twilio or Plivo Uncaught Error: Cannot find module "net" Another error I get is: ./~/twilio/package.json Module parse failed: /Users/H/github/app/node_modules/twilio/package.json Line 2: Unexpected token : You may need an appropriate loader to handle this file type. | { | "_args": [ | [ | "twilio", @ ./~/twilio/lib

Getting error while adding the new RestSharp update using nuGet.

随声附和 提交于 2019-12-11 22:06:35
问题 I am getting error in my windows service when I instantiate the TwilioRestClient. It gives the following error: Could not load file or assembly 'RestSharp, Version=104.3.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. I updated my references to the latest RestSharp, Twilio.Mvc and Twilio.Api from the Nuget and am getting the above error. How to fix this? 回答1: Twilio evangelist here. I just pushed a new Nuget package with an

How can I display my Twilio number for inbound calls

夙愿已清 提交于 2019-12-11 21:24:58
问题 I want to display my Twilio line on my caller ID when I receive calls through this line, like Google Voice does. Does anyone know if this is possible and if so, how? Thanks! 回答1: Twilio evangelist here. When you write the TwiML to place a call to a number, you can change the callerId attribute in the <Dial> TwiML tag. See the documentation here. The caller ID number has to be one you have verified with Twilio beforehand. You can verify numbers on your account portal here. Here is an example

HttpClient Angular CORS Twilio

倾然丶 夕夏残阳落幕 提交于 2019-12-11 21:11:35
问题 I'm trying to do a "GET" request to Twilio API using HttpClient module import { HttpClient } from '@angular/common/http'; I'm Using Angular CLI: 6.0.8 Node: 8.11.3 OS: darwin x64 I'm testing using Firefox and Chrome, getting the same error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.authy.com/protected/json/phones/verification/check?api_key=****. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). This is the function I'm

Twilio Call Forwarding Number Always Blank

别来无恙 提交于 2019-12-11 19:44:29
问题 I'm currently trying to connect two users via twillio and am masking their identities. I am doing this by having: User A dials my Twillio # ---> hits my app URL endpoint --> dials User B and has the call ID show up as my Twillio # When trying this, the TwiML is being rendered with the dialed/forwarded number always blank. Even when I hardcode it, Twillio never forward the call anywhere. def make_twillio_call_PSTN incoming_number = params[:From] #strip +1 from number incoming_number = incoming

Http Post from Fiddler giving nullpointreference error and cannot understand why

孤者浪人 提交于 2019-12-11 19:29:01
问题 When I am trying to test my HTTP post via fiddler my MVC4 Webapi gives me Null Pointer reference error right at the first If condition that is checking for the smsReq.Body. The smsReq is coming as NULL. What am I doing wrong? Here is my Post Method and the fiddler request. I am using MVC4 Web Api using System.Web.Http; using System.Web; using Twilio.TwiML.Mvc; using Twilio.Mvc; public class ValuesController : ApiController { [HttpPost] public HttpResponseMessage Postsms([FromBody]SmsRequest