twilio

Twilio call forward with call recording

人盡茶涼 提交于 2019-12-08 03:09:59
问题 I am new to this and want to do something I thought was simple. Caller dials Twilio Number and the calls gets forwarded and recorded upon answer at the forwarded number. I made a Twimlet that forwards the call just fine - how do I add the record function to the forwarding Twimlet? The forwarding code is: http://twimlets.com/forward?PhoneNumber=952-xxx-2362&CallerId=714-xxx1848&Timeout=20&FailUrl=http%3A%2F%2Ftwimlets.com%2Fforward%3FPhoneNumber%3D952-xxx-2362%26CallerId%3D714-xxx-1848

How to provide proxy information to Twilio API with Python

ε祈祈猫儿з 提交于 2019-12-08 02:43:45
问题 It looks like the Twilio API was updated and they no longer have the ability to import from twilio.rest.resources import Connection which means that the docs/answers that show you how to set the proxy with the Connection class no longer work. ie: from twilio.rest.resources import Connection from twilio.rest.resources.connection import PROXY_TYPE_HTTP Connection.set_proxy_info( "proxy.server", 3128, proxy_type=PROXY_TYPE_HTTP )` Does not work, since there is no resources class to import from.

Twilio client voice call speaker ON/OFF issue

倖福魔咒の 提交于 2019-12-08 01:57:24
问题 I am using Twilio client voice call service for calling. Here I am facing issue in spearke ON/OFF feature.I am able to Mute/Unmute call but not able to turn On/OFF speaker. I have a same instance for both functionality. I have also checked their demo project basic phone in that this speaker ON/OFF is working and I am doing same thing in my project bur not able to do the same. Here is my code: if(isSpeaker == NO) { isSpeaker=YES; [self.phone setSpeakerEnabled:YES]; } else{ isSpeaker=NO; [self

TwiML Bin - Anyway to access parameters?

回眸只為那壹抹淺笑 提交于 2019-12-08 01:14:25
问题 I am setting up a demo for a product, and we are using Twilio two connect two people together. To host the XML response, I set up new TwiML bin files that Twilio offers. I am using the <Gather> call to prompt the first caller to hit 1 to accept or 2 to decline. Is there anyway to check the Digits parameter from the Gather in a TwiML bin file? 回答1: Twilio developer evangelist here. Unfortunately, to get the value from the <Gather>, you will need a backend server as Twilio will make and HTTP

With Twilio, is it possible to receive user input during a conference call?

五迷三道 提交于 2019-12-08 01:04:09
问题 The Twilio documentation mentions that you can collect user keypad input while they are listening to a message: You can nest the following verbs within Gather: Say, Play, Pause. But you can't nest Gather within any other verbs. The Conference tag cannot be nested within the Gather tag, so is there another way to collect user digits once they are connected to a conference room using the Conference tag? 回答1: Twilio evangelist here. There isn't a way to <Gather> while in a conference call, but

Get phone number of SMS sender, using Twilio

旧街凉风 提交于 2019-12-08 00:51:50
问题 I am trying to retrieve the phone number of a user who sends SMS to my Twilio number, but I can't fetch it in my program. I have tried these: $message = $client->account->sms_messages->get("$Smssid"); $number = $message->From; But no matter what I try $number is still blank. I have tried to get $sid , sid , $SMSSid . Nothing. What am I doing wrong? 回答1: When a user sends you an SMS, we make an HTTP request to your server. This HTTP request contains info about the SMS, such as the From, To,

Flash Security Error #2048: Is there a workaround or does Twilio have to change their meta-policy?

六月ゝ 毕业季﹏ 提交于 2019-12-08 00:37:07
问题 My Flash/Flex application is having a problem. For a few months it was able to download files from Twilio but now I'm getting the following error: (I've had to remove hyperlinks, so imagine "ttp" is really "http". :) SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: ttp://localhost/myapp.swf?v=1 cannot load data from ttp://api.twilio.com/." I enabled policy logging on my flash plugin and get the following

Twilio Ruby SMS: undefined method `empty?'

半腔热情 提交于 2019-12-07 22:56:46
问题 I am trying to use twilio in a rails application. As part of the development I set up a simple controller using some hard-coded values (the input from the form that submits the POST request is, essentially, ignored). Here is the code of the controller: class SmsController < ApplicationController def send (dummy) twilio_sid = "removed-for-privacy-reasons" twilio_token = "removed-for-privacy-reasons" twilio_phone_number = "removed-for-privacy-reasons" number_to_send_to = "removed-for-privacy

Send MMS using Twilio in ios

风流意气都作罢 提交于 2019-12-07 19:06:01
问题 I want to send MMS using Twilio. I am request one twilio url which is work fine on SMS but not MMS and I want to know what should change so i am sending MMS using Twilio in iOS. Here is my code. NSLog(@"Sending request."); // Common constants NSString *kTwilioSID =@"Twilio SID"; NSString *kTwilioSecret =@"Twilio Secret"; NSString *kFromNumber = @"From Phone Number"; NSString *kToNumber = @"To Phone number"; NSString *kMessage=@"Hello This is Pintu vasani"; // Build request NSString *urlString

Failed to push call stats, status code: 403 | ERROR TCMetricsPublisher | Twilio

点点圈 提交于 2019-12-07 15:20:43
问题 I am integrating the voip , thus integrated twilio. I also setup the server code on heroku successfully. I create the token successfully, and getting the callback on handler as well. When I run the application on device, then callback in delegate comes Device: <TCPresenceEvent 0x17de3840 name=jenny, available=YES> didReceivePresenceUpdate After some time, below error occurred: [ERROR TCMetricsPublisher] Failed to push call stats, status code: 403 Delegates callback: I got the callback in