twilio

Twilio check if phone number has been blacklisted

旧城冷巷雨未停 提交于 2019-12-08 17:12:06
问题 I am currently integrating into the twilio rest api and need to perform a check on a users phone number to determine if that user has blacklisted themselves or not. I have little experience with this api and scouring through the documentation and google has turned up nothing. In our application we are going to have a notification center and if the user has blacklisted themselves I do not want to give them the ability to turn on their SMS notifications. Potentially a user could have SMS

Twilio Callback URL not Called - PHP & Wordpress

假如想象 提交于 2019-12-08 14:45:37
问题 I'm trying to integrate Twilio onto my Wordpress site. The idea is to allow users to type in their phone number to get a download link to our app. We've put up a simple form here - http://evntr.co/download - and upon submitting the form, the EvntrPHP.php code is run. Using template code, we've easily been able to get the form to send a message to a verified number (the one currently in the To field) using a free Twilio number. However, when we add the StatusCallback parameter, it never calls

Allow iOS app users to place calls and texts to each other through Twilio numbers, Parse backend

不打扰是莪最后的温柔 提交于 2019-12-08 14:28:10
问题 EDIT: This question is very moot with the rollout of Twilio Proxy! Check that out instead. It basically does what I wanted to do but way better, and with less manual organization on my own end. I am building an app with a feature that let's you call or text another user you are matched with. However, I don't want to give out user's information, so I am trying to mask the user's numbers with a number I have through Twilio. I am using Parse as my backend, which allows me to run cloud code and

Twilio call function - Always repeating “Please enter your ID”?

╄→гoц情女王★ 提交于 2019-12-08 13:57:53
问题 Here's my code exports.handler = function(context, event, callback) { let twiml = new Twilio.twiml.VoiceResponse(); let gather = twiml.gather({ input: 'dtmf', finishOnKey: '#' }); gather.play("Please enter your user ID"); callback(null, twiml); var got = require('got'); var requestPayload = event; got.post('http://www.test.com/test.php?test=' + JSON.stringify(requestPayload), { body: JSON.stringify(requestPayload), headers: { 'accept': 'application/json' }, json: true }) .then(function

Twilio $_REQUEST['From'] equivalent for node.js

左心房为你撑大大i 提交于 2019-12-08 13:03:40
问题 I'm trying to use 'twilio' to grab the caller ID from an incoming phone call. I managed to do this easily in my call.php file using the following: $callerId=($_REQUEST['From']); I have now redirected my twilio phone number to access a different URL so that I can use it with node.js (ie call.php is now call.js). However, I cannot seem to request the ['From'] field in a similar manner as with the .php file. Is this possible? What is the easiest way to grab a caller Id and store it in a variable

Twilio Voice - Add a person to an exisiting confrence call

拟墨画扇 提交于 2019-12-08 12:50:54
问题 I am using Twilio Voice, Now what i want to do is, If i already created a conference call between 2 people, and then while they are talking, they decided to add a 3rd person to the call with them on the conference, Can someone please help me how to have this done with a sample or something ? Thanks! 回答1: Twilio Developer Evangelist here. So, it depends on how this is setup. I presume your conference call TwiML looks like this: <Response> <Dial> <Conference>someroom</Conference> </Dial> <

Use TWILIO for calling from computer

[亡魂溺海] 提交于 2019-12-08 12:49:49
问题 I'm doing a project in grails and I have to implement a feature in which one can call on specific telephone number from 'web browser'. Is it possible with TWILIO ? If yes how can I do it? And do I need to install anything on my machine ? 回答1: Twilio employee here. Yes, you can use Twilio to do in browser phone calls, using Twilio client. We have extensive documentation and a Quick Start guide in Java, which you can easily adapt for Grails. 来源: https://stackoverflow.com/questions/23246699/use

Twilio - why i get in call status is in-progress also completed and my phone not ringing yet

别等时光非礼了梦想. 提交于 2019-12-08 11:37:55
问题 this is my code : require_once 'library/Twilio/autoload.php' use Twilio\Rest\Client account_sid ='ACXXXXXXX' auth_token ='xxxxx' twilio_number ='+1xxxx' to_number = "+212xxxx" client = new Client($account_sid, $auth_token) client->account->calls->create( to_number, twilio_number, array("method" => "GET","statusCallback" => "https://xxx.php", "statusCallbackEvent" => array('initiated', 'ringing', 'answered','completed'), "statusCallbackMethod" => "POST", "url" => "http://xxx.php" ) ) And this

How to set up Twilio SMS from USA to international without upgrading?

我的梦境 提交于 2019-12-08 11:37:49
问题 I am following the instructions on https://www.twilio.com/help/faq/sms/can-i-try-twilios-global-sms-without-upgrading However, in Step 2 Give your account calling permission, the countries are quite limited. Does this mean that I cannot set up my Twilio API with a USA number and text to Thailand? It appears that texting to Thailand is not the issue, but rather the ability to call to verify the number to begin with. In Step 3, "Verify the phone number where you will be sending SMS messages."

Twilio call forwarding for specific time of day

旧时模样 提交于 2019-12-08 11:14:32
With Twilio I'd like to implement a service that sends inbound calls to a voice recording during specific times of day. Can Twilio provide this behavior? Twilio developer evangelist here. You can absolutely do that! I'm not sure what language or framework you're using, but here's an idea of how you'd accomplish this. When Twilio receives a call on a Twilio number it makes a webhook request to your server to respond and tell it what to do with the call. The instructions are built in XML ( TwiML ). So, to do time based stuff you probably want to do something like this (my example is in Ruby