twilio

Twilio incoming calls not working for iOS

a 夏天 提交于 2019-12-11 15:37:13
问题 I'm really lost here. At first, all calls between iOS-Android, Android-iOS, Android-Android and iOS-iOS, was working. Even so I still was getting errors like: 52143 - The push notification was rejected by APNs 52134 - Invalid APNs device token But since was woking I ignored those errors. Now, I had to change the client app to a new account - Apple and Google. And all start to fall apart. I've already lost how many times that I deleted and create all the Apple Certificates and upload them to

Setting up status callbacks for Twilio Video

旧城冷巷雨未停 提交于 2019-12-11 15:27:32
问题 I'm having trouble getting status callbacks working for Twilio Video. Here's where I create a room on the Ruby server: group_room = client.video.rooms.create( unique_name: room, type: 'group', record_participants_on_connect: true, status_callback: https://www.example.com/room_events, status_callback_method: 'POST' ) Note that this isn't just an issue of localhost not being accessible from the Internet— The problem occurs in production as well, with no signs of status callbacks occurring. 来源:

Twilio - how to open activity when calling web to phone

微笑、不失礼 提交于 2019-12-11 15:18:50
问题 I have implemented the Twilio in my app and have made it so that web to web calls can be made and also web to phone calls. The only thing is that if I call Voice.call() with my user's phone number, it'll call him but the call will not open my activity on his device. The phone call UI will be the default decide's UI for incoming calls. If I, on the other hand, use the user's defined identity on his device, it'll go nicely via my activity. Any ideas on how I can make the web to phone call using

twilio receive sms without responding back

一笑奈何 提交于 2019-12-11 15:07:22
问题 Good Day, How do I properly receive an SMS on my web app using twilio without responding back to the sender. I read about this.. https://support.twilio.com/hc/en-us/articles/223134127-Receive-SMS-messages-without-Responding but I need to use the webhook to send the sms to my webapplication too, if I do receive it without setting a response, It will generate an Error - 11200 (HTTP retrieval failure) how do I prevent this? also by setting up respones. my code is var resp = new twilio.twiml

Is it possible to set the bit rate for twilio video?

大兔子大兔子 提交于 2019-12-11 14:46:05
问题 I am developing a video chat application with twilio-video. I observed that the video chat gets stuck in low bandwidths. Is it possible to set the bitrate for the video so that the video chat works in low bandwidths too? The documentation says that twilio will automatically rescale the video to make it work in low bandwidths. But in my experience, this hasnt been the case. How can I ensure that the chat works fine in low bandwidths? var connectOptions = { name: roomName, logLevel: 'debug',

Unable to send message back to Twilio after running Tensorflow

那年仲夏 提交于 2019-12-11 14:42:42
问题 I am making a chatbot that sends an HTTP request through ngrok to a local python file which runs a image recognition script using Tensorflow. The script will then return a string back to Twilio that will be sent back to the user. The file runs until the end without error and all the debugging print statements printed the right things in my terminal. However, Twilio says I have an error 81014 and the string I returned isn't received my Twilio. Some trial and error showed me that the following

Using twilio-chat with NativeScript and Angular

天大地大妈咪最大 提交于 2019-12-11 14:08:38
问题 I have the folowing chat service: import { Injectable, EventEmitter } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as Twilio from 'twilio-chat'; import Client from 'twilio-chat'; import { Channel } from 'twilio-chat/lib/channel'; @Injectable({ providedIn: 'root' }) export class ChatService { chatClient: Client; currentChannel: Channel; chatConnectedEmitter: EventEmitter<any> = new EventEmitter<any>();

Having an issue using Twilio to receive texts in Rails. Receiving nil when storing to the database.

坚强是说给别人听的谎言 提交于 2019-12-11 13:59:59
问题 I have set up the request URL in my Twilio account to have it POST to: myurl.com/receivetext. It appears to be successfully posting because when I check the database using the Heroku console I see the following: Post id: 5, body: nil, from: nil, created_at: "2012-06-14 17:28:01", updated_at: "2012-06-14 17:28:01" Why is it receiving nil for the body and from attributes? I can't figure out what I'm doing wrong! The created and updated at are storing successfully but the two attributes that I

Does the twilio-ruby gem take parameters other than 'from', 'to', and 'url' when making calls?

半世苍凉 提交于 2019-12-11 13:44:59
问题 Looking at https://github.com/twilio/twilio-ruby/blob/master/lib/twilio-ruby/rest/calls.rb, it appears that only 'from', 'to', and 'url' are used. How do I pass a value for 'IfMachine'? For example, the following doesn't seem to work. # set ACCOUNT_SID and AUTH_TOKEN twilioClient = Twilio::REST::Client.new(ACCOUNT_SID, AUTH_TOKEN) twilioAccount = twilioClient.account twilioAccount.calls.create({ :from => 'from_number', :to => 'to_number', :url => '/url', 'IfMachine' => 'Hangup' }) # IfMachine

Twilio: Put caller on hold

百般思念 提交于 2019-12-11 13:17:13
问题 Is it possible in twilio to put a caller on hold then the agent can call someone to verify something. Then after verifying the agent will get back to the hold caller. Thank You, 回答1: Twilio developer evangelist here. I think you will find most of the information you're looking for here. But in summary, using the REST api you can put users on/off hold and do much more. Using the CallSid you can do anything with a call via the Rest API. Have a look at Twilio change call state for more