twilio-api

The requested route [/sms] has not been mapped in Spark for Accept: [null]

点点圈 提交于 2019-12-11 18:25:42
问题 INFO spark.http.matching.MatcherFilter - The requested route [/sms] has not been mapped in Spark for Accept: [null] Below i have shown my code. It throws an error. I have tried different solutions but it not solve my problem. Android code: public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); submitbt = findViewById(R.id.submitbt); submitbt

Muting local tracks on Twilio Video?

核能气质少年 提交于 2019-12-11 17:02:41
问题 Following guides, I'm attempting to disable and enable localAudioTracks . Within the roomJoined function, I have these two functions: document.getElementById("audio-toggle-off").onclick = function() { console.log("muting this users audio"); room.localParticipant.audioTracks.forEach(function(trackId, track) { track.disable(); }); }; document.getElementById("audio-toggle-on").onclick = function() { console.log("enabling this users audio"); room.localParticipant.audioTracks.forEach(function

Twilio API - Conference call announce_url returns 20404, but status update works

夙愿已清 提交于 2019-12-11 17:01:23
问题 I'm attempting to announce a "please wait" message periodically in an ongoing conference call using the Twilio API. I found some guidance via: https://stackoverflow.com/a/17846262/85359, however when I attempt to client.conferences('CXXXXXXXID').update(announce_url: Rails.application.routes.url_helpers.please_wait_message_url) I receive: Twilio::REST::RestError: [HTTP 404] 20404 : Unable to update record The requested resource /2010-04-01/Accounts/asdf/Conferences/CXXXXXXXID.json was not

Twilio : Not able to set channel attribute

梦想与她 提交于 2019-12-11 16:55:31
问题 I am using twilio chat sdk in my iPhone application, on twilio website I have settled role permission editChannelAttributes is true for creator. and trying to set attribute like TwilioChatHelper.sharedInstance.selectedChannel?.setAttributes(attr, completion: { (result) in print(result?.isSuccessful() ?? "Not able to set attributes") }) but getting error in result The operation couldn’t be completed. (signal.sdk.domain.error error 102.) Please suggest me what I am missing. 回答1: Twilio

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',

Redirect Twilio call to voicemail if all Workers explicitly rejected the reservation

那年仲夏 提交于 2019-12-11 07:07:21
问题 I'm using Twilio Task Routing to route calls to available Workers with a custom app UI built using TaskRouting.js. Let's say I have 2 Idle Workers and a call comes in. UI shows a screen Accept or Reject on both workers' screens Worker 1 hits reject Worker 2 hits reject At this point, the task apparently goes back into the task routing queue and steps 2 and 3 are repeated. After all workers rejected a call, how do I redirect it to voicemail instead? 回答1: Twilio developer evangelist here. I

How do I get a call recording url in twilio when programming in PHP?

拥有回忆 提交于 2019-12-11 06:48:44
问题 I am completely new to Twilio and I need the call recording url of multiple phone calls, made from one account but with different sub-accounts and with an authority token. How to go about it? 回答1: Each recording has an ID, something like `RExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'. The url for MP3 format is https://api.twilio.com/2010-04-01/Accounts/ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Recordings/RExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.mp3?Download=false You can also get the url for WAV fromat https://api