twilio-api

TwiML App - Invoke AWS Lambda when user replies STOP / START for Twilio Number

↘锁芯ラ 提交于 2019-12-02 04:53:06
Here is my scenario: I am using Twilio to send SMSes to my clients. When user decides not to receive these SMSes they reply STOP and START to receive again. This is automatically handled by Twilio. But, i need to invoke a AWS Lambda function and update my database accordingly. This is what i am doing till now: 1. I have created a TwiML App 2. I have added this TwilML App to my Twilio number. 3. Created a Lambda Function and API Gateway. Added the end-point in TwiML App. Adding AWS Lambda - API Gateway to TwiML App Adding TwiML App to my Twilio Phone Number I am getting the SMS Logs saying that

Twilio quick_start project is not working

放肆的年华 提交于 2019-12-02 02:04:14
问题 I'm following Twilio Quickstart to launch Twilio for the first time. I deployed Twilio on Heroku using this link. Giving it parameters required like twilio_account_sid, twilio_auth_token, twilio_caller_id and twilio_app_id . I created a TwiML app and entered my app URL deployed on Heroku to it and set its method to GET. Then imported Twilio Quickstart project into Android Studio, and set TOKEN_SERVICE_URL to my application URL on Heroku. I run the application, got no error but this message on

Trigger an incoming VoIP call using CallKit and Twilio-Video API

强颜欢笑 提交于 2019-12-02 02:02:41
By using one of the sample video calling app provided by Twilio ( VideoCallKitQuickStart ), I am trying to trigger an incoming call by sending a VoIP notification to the App. But the App doesn't trigger an incoming call. I also tried keeping the App opened while sending a VoIP notification and the App crashes, by throwing the below exception NSInvalidArgumentException: Attempt to insert non-property list object 'PKPushPayload: 0x16e44af0' for key payload Could someone, please help me or point me in the right direction on how to trigger an incoming call in the App, when a VoIP notification is

Twilio quick_start project is not working

a 夏天 提交于 2019-12-02 01:32:57
I'm following Twilio Quickstart to launch Twilio for the first time. I deployed Twilio on Heroku using this link . Giving it parameters required like twilio_account_sid, twilio_auth_token, twilio_caller_id and twilio_app_id . I created a TwiML app and entered my app URL deployed on Heroku to it and set its method to GET. Then imported Twilio Quickstart project into Android Studio, and set TOKEN_SERVICE_URL to my application URL on Heroku. I run the application, got no error but this message on logcat Device has stopped listening for incoming connections . I'm running the app on two devices,

Twilio sms reply feature

夙愿已清 提交于 2019-12-01 20:45:38
I've created a system based on cron job which generates new tasks for user. When new task is generated cron file sends a sms to user using twilio sms api. Now I want make something like when user reply to that sms with word "Done" that task associated with sms will be completed in my database. I've set reply URL in twilio account. And everything is working fine. My point is how can I complete that task in database. Is there any feature exist in twilio that can help me to send extra parameter as task id, so that I can fetch that id from reply and update the status of task. Twilio developer

Make a call between two numbers not registered in twilio

风格不统一 提交于 2019-12-01 11:18:53
There's some way of make a call between two of my users? I mean... I have a twilio acount with a registered number and I have to make a call to my client "Bill" so when he answer that, the call should be redirected to another client, that Bill choosed, let's say "Joe". So, Bill click's a button and he's phone rings, he answer that and start to call Joe. When some of them hangup, the all call should be over. Have someone ever made that? Help me! And I'm sorry about my bad english (oh yeah, I'm using php for that) This is just something simple to get you going, you can also look at connecting to

Adding multiple people to a conference call from caller Twilio

陌路散爱 提交于 2019-12-01 05:56:16
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> <Dial> <Number>877-555-1212</Number> <Number>877-999-1234</Number> <Number>877-123-4567</Number> <

Can we do VOIP push notification using Twilio iOS SDK?

喜夏-厌秋 提交于 2019-11-30 19:39:01
I have to implement App to App functionality using Twilio iOS SDK. I have successfully implemented voice calls when the app is running. Now I am facing a problem when the app is killed. How can I get VOIP push notifications for an incoming call? I am referring to this link : https://www.twilio.com/docs/api/notifications/guides/sending-notifications There is no VOIP push documentation for VOIP incoming calls. Please provide me with some useful ideas/solutions as soon as possible. philnash Twilio developer evangelist here. I answered over email, but thought I better include the answer here too

Twilio retrieve call on hold back

旧时模样 提交于 2019-11-30 09:45:50
问题 In my application, I need to do Twilio holding and retrieving back a call. I researched and got this link : https://www.twilio.com/docs/api/rest/change-call-state. javascript function holdCall() { // hold a call var callSid = connection.parameters.CallSid; $.ajax({ url: "http://www.domain.com/phone/phone_ajax.php", type: 'POST', data: { callSid: callSid }, success: function(data) { console.log(data); }, error: function() { }, complete: function() { } }); } The ajax call will go to this page.

Can we do VOIP push notification using Twilio iOS SDK?

空扰寡人 提交于 2019-11-30 03:28:16
问题 I have to implement App to App functionality using Twilio iOS SDK. I have successfully implemented voice calls when the app is running. Now I am facing a problem when the app is killed. How can I get VOIP push notifications for an incoming call? I am referring to this link : https://www.twilio.com/docs/api/notifications/guides/sending-notifications There is no VOIP push documentation for VOIP incoming calls. Please provide me with some useful ideas/solutions as soon as possible. 回答1: Twilio