twilio

Twilio chat channel getMembers() method access forbitten

旧街凉风 提交于 2020-05-17 06:26:46
问题 After creating a channel in the Twilio Programmable Chat service, I am listening to the client events. One of those events is the channelAdded event. In the hook, I have to retrieve the Members of the channel (in order to get the opposite members name in a binary room) like so channel.getMembers() When I do this, Twilio returns: name: "SyncError" message: "Access forbidden for identity (status: 403, code: 54007)" status: 403 code: 54007 It would make sense if the user that is accessing that

Play music while waiting an answer in TWIML <dial>

时间秒杀一切 提交于 2020-05-12 02:46:06
问题 How to dial numbers and diffuse a music to the caller while waiting a successful connexion ? The code below waits the music to end before doing the <dial> (which is logic) <?xml version="1.0" encoding="UTF-8"?> <Response> <Play>http://com.twilio.music.ambient.s3.amazonaws.com/gurdonark_-_Plains.mp3</Play> <Dial timeout="10" callerId="+1234567890"> <Number url="whisper?id=1">+1122334455</Number> <Number url="whisper?id=2">+1122334466</Number> <Number url="whisper?id=3">+1122334477</Number> <

Play music while waiting an answer in TWIML <dial>

烂漫一生 提交于 2020-05-12 02:45:32
问题 How to dial numbers and diffuse a music to the caller while waiting a successful connexion ? The code below waits the music to end before doing the <dial> (which is logic) <?xml version="1.0" encoding="UTF-8"?> <Response> <Play>http://com.twilio.music.ambient.s3.amazonaws.com/gurdonark_-_Plains.mp3</Play> <Dial timeout="10" callerId="+1234567890"> <Number url="whisper?id=1">+1122334455</Number> <Number url="whisper?id=2">+1122334466</Number> <Number url="whisper?id=3">+1122334477</Number> <

Can I use Firebase for sending SMS to users without using Twilio?

女生的网名这么多〃 提交于 2020-05-08 03:06:31
问题 I used to use Firebase + Twilio to send SMS to any devices, but I'm not sure that I can send SMS by using Firebase only or not? Does Firebase have an API for sending SMS? 回答1: You can send SMS Verification using Firebase and you cannot send ordinary SMS through Firebase. You can send using Twilio instead. Even for SMS verification, you have to wait until they release the API docs for SMS verification through Android. https://firebase.google.com/docs/auth/android/phone-auth 回答2: There is no

Twilio - The From phone number xxx is not a valid, SMS-capable inbound phone

和自甴很熟 提交于 2020-04-30 05:35:45
问题 I want to use Twilio for verifying phone number of users registering on my app. As a backend, I have Parse. I tried to send an SMS using the test credentials, so far I received a success message, but, I didn't received the SMS! I've tried to switch to the live credentials; however, I received the following: { "code": 141, "error": { "status": 400, "message": "The From phone number +12025550162 is not a valid, SMS-capable inbound phone number or short code for your account.", "code": 21606,

Twilio - The From phone number xxx is not a valid, SMS-capable inbound phone

爱⌒轻易说出口 提交于 2020-04-30 05:35:05
问题 I want to use Twilio for verifying phone number of users registering on my app. As a backend, I have Parse. I tried to send an SMS using the test credentials, so far I received a success message, but, I didn't received the SMS! I've tried to switch to the live credentials; however, I received the following: { "code": 141, "error": { "status": 400, "message": "The From phone number +12025550162 is not a valid, SMS-capable inbound phone number or short code for your account.", "code": 21606,

Incoming Voice Webhook is getting called twice for the same call

好久不见. 提交于 2020-04-30 05:11:32
问题 Trying to understand why the incoming voice call webhook is getting called twice. The phone numbers's voice webhook url is set up to point to my backend and the api endpoint rejects the call right away as follows. const voiceResponse = new VoiceResponse(); voiceResponse.reject({ reason: 'busy' }); res.type('text/xml'); res.end(voiceResponse.toString()); However, the same call with a different CallSid is pinging the webhook again after a couple of seconds. 来源: https://stackoverflow.com

Remote video from Safari iPhone showing black-screen

北城余情 提交于 2020-04-17 19:03:29
问题 I moved from zoom to twilio with one of my client's video conferencing project. I followed tutorials and docs to show 1 to 1 video between two participants. I developed it as web app with JS scripts in PHP. So far, it is working from desktop to desktop and from android chrome to desktop. But from iPhone safari to Chrome Desktop, its showing black screen. On mobile, it loads video of both local and remote, but on desktop, its showing remote user's video as black screen. I tried everything,

Remote video from Safari iPhone showing black-screen

筅森魡賤 提交于 2020-04-17 18:59:47
问题 I moved from zoom to twilio with one of my client's video conferencing project. I followed tutorials and docs to show 1 to 1 video between two participants. I developed it as web app with JS scripts in PHP. So far, it is working from desktop to desktop and from android chrome to desktop. But from iPhone safari to Chrome Desktop, its showing black screen. On mobile, it loads video of both local and remote, but on desktop, its showing remote user's video as black screen. I tried everything,

Convert 8kHz mulaw to 16KHz PCM in real time

最后都变了- 提交于 2020-04-11 04:36:23
问题 In my POC I'm receiving a conversation streaming from Twilio in 8kHz mulaw and I want to transcribe it using Amazon Transcribe that needs to get the audio in 16KHz and PCM. I found here how to convert a file but failed to do this in streaming... The code for a file is: File sourceFile = new File("<Source_Path>.wav"); File targetFile = new File("<Destination_Path>.wav"); AudioInputStream sourceAudioInputStream = AudioSystem.getAudioInputStream(sourceFile); AudioInputStream