twilio

twilio conference - get dialedin participants phone input

别等时光非礼了梦想. 提交于 2019-12-12 04:24:08
问题 All the participants to my twilio conference are muted except the presenter. I need to implement a feature where the dialed in participant wants to ask a question by dialing a key on his phone. Essentially a 'raise hand' feature. He can then be unmuted by the moderator and allowed to ask his question. I already have a build in dashboard to mute/unmute the participants. is there a way that the caller can hit *1 or some combination of keys that I can then use in my callback. I've tried using *

Callback service on the website using Twilio

ⅰ亾dé卋堺 提交于 2019-12-12 04:22:03
问题 Let's say I need to implement a callback service on a website. I'm curious if it's possible to develop it using Twilio. For example, if a website visitor provides his mobile phone number from one side, from another side I have a manager using his web CRM application. Is it possible to: Make a call (using WebRTC?) to a manager When the manager replies the incoming call, call to the website visitor (on his mobile phone) Connect both sides together I know there are lots of ready-to-use callback

Twilio Messaging - Correlating SID

こ雲淡風輕ζ 提交于 2019-12-12 04:12:56
问题 We use twilio for sending message. We are not sure how to correlate the response with the message we send. We might send multiple messages to the same Mobile. But, not sure how to correlate response with the messages we sent as the SID's are different. Is there anyway to relate the response with the message. Thanks 回答1: No, SMS doesn't work like that. I you send me 5 text messages from your cellphone and then I reply to one you have no way of telling which one I'm replying to. It's not a

Twillio Call Screening silence on answer

£可爱£侵袭症+ 提交于 2019-12-12 04:07:06
问题 I am using the call screening example at https://www.twilio.com/docs/howto/callscreening When I place a call to my incoming Twilio number via landline, it is forwarded to my mobile and I am prompted to "press a key to accept" Problem is that as soon as I answer it on my mobile the incoming call stops getting the ringing tone and has silence until about 5 seconds after I press any key. As soon as I answer the call on my mobile the user is presented with silence and has the impression that the

Twilio origination and termination SIP URI's with Java

▼魔方 西西 提交于 2019-12-12 03:43:32
问题 What I'm actually looking for are the termination and origination SIP URI's for a given trunk. The closest I found so far was: getCredential public Credential getCredential(String credentialSid) Gets the credentials from the credential list Returns: the credentials https://twilio.github.io/twilio-java/com/twilio/sdk/resource/instance/sip/CredentialListInstance.html#getCredential-java.lang.String- How do I get a credentialSid , and, what is a credentialSid ? SID is Security IDentifier? see

Sinon - How to stub authentication library (Authy -Twilio)

懵懂的女人 提交于 2019-12-12 03:42:34
问题 I am currently new to Sinon, Mocha, Supertest and in the process to writes tests. In my current scenario, i have authentication library which verifies my "OTP" and after verifying it proceeds to do operation within the callback function. I am unable to mock the callback to return null and carry on to test rest of the code. Following is my code snippet: Controller.js var authy = require('authy')(sails.config.authy.token); authy.verify(req.param('aid'), req.param('oid'), function(err, response)

iOS failing to render vcf file

微笑、不失礼 提交于 2019-12-12 03:33:08
问题 I use twilio to share contact information of my users. I've been doing this for 6 months with no problems. Recently, I started receiving bug reports that the contact card isn't coming through. iOS is receiving it as an unknown attachment with a file name such as 'text_0.x-vcard' [see screenshot] I'm unable to reproduce this on my device - I've received reports of this from users with an iPhone 7, iPhone 6, and iPhone 5 - nothing consistent. No consistency in OS either. The vcf file is valid,

Why does my twilio web application work in XAMPP but not in AZURE

不打扰是莪最后的温柔 提交于 2019-12-12 03:31:00
问题 I've created an application in php that sends texts out to people using the twilio api. It works perfectly in XAMPP but the php code doesn't run in Azure. Everytime I call it I get an error message saying "Failed to load resource: the server responded with a status of 500 (Internal Server Error)". Is there a way I can solve this problem without having to create my own virtual server? 回答1: Usually, when we get 500 response, it means we get some errors on server scripts. And we can set the

Heroku Scheduler - set up daily task

廉价感情. 提交于 2019-12-12 03:25:11
问题 I'm having trouble understanding Heroku's scheduler documentation. They give this as example code, but I'm not sure what's what: desc "This task is called by the Heroku scheduler add-on" task :update_feed => :environment do puts "Updating feed..." NewsFeed.update puts "done." end task :send_reminders => :environment do User.send_reminders end I am hoping to use this scheduler to call method from my NotificationsController on a daily basis. I've tried modifying their code to: desc "This task

Async call in API made in Django

萝らか妹 提交于 2019-12-12 03:24:12
问题 I am using DRF with Twilio SMS sending service. I have added this code on some object save - which I do in some of the API calls. But as I can see Django waits for Twilio code to be executed (which probably waits for response) and it takes around 1-2 seconds to get response from Twilio server. I would like to optimize my API, but I am not sure how should I send a request for Twilio SMS asynchronously. This is my code. def send_sms_registration(sender, instance, **kwargs): start = int(round