Questions tagged [twilio-sdk]

8 questions
1
vote
1 answer

PHP SDK Lookup API and SMS Pricing

I would like to validate a phone number and get the price that it would cost to send a SMS to that phone number. I can do this with 2 API calls, however according to https://www.twilio.com/docs/sms/api/pricing you can do this with 1 call? "Prices…
0
votes
0 answers

How to retrieve "to" number in Twilio Voice callbacks when using React frontend and Python backend?

I have created a Twilio application in Python using the client like this: application = client.applications.create(voice_method='POST', voice_url='', …
0
votes
1 answer

Listen live calls on Twilio

I'm trying to create an interactive dashboard that shows Twilio calls with the ability to listen to any ongoing calls. Is it possible? And what is the best approach I should take? I saw two methods on the documentation which are Twiml Voice: and…
0
votes
1 answer

RestException is not a valid phone number on Twilio trial account

I use twilio/sdk package, with the following code. $sid = "AC3###############"; $token = "100################"; $from = $to = "+628********99"; $otp = rand(1111111, 9999999); $client = new Twilio\Rest\Client($sid, $token); $message = $client …
Win
  • 353
  • 1
  • 8
0
votes
0 answers

Twilio Conversations requirement to send messages to all participants except one

I am using Twilio Conversation SDK in ReactJS project and that is working pretty fine for one to one participants. Now we have a new requirement, where there will be at least 5 participants in a Group Conversation and most often than not all these…
Sanjib Behera
  • 101
  • 1
  • 13
0
votes
0 answers

Twilio Studio Flow connect call to Android / iOS SDK

I'm trying to integrate Twilio Studio Flow with our mobile app (Android SDK) and web browser (Javascript SDK). On the mobile app, I configured following this guide. The Request URL of Twiml App is configured to the Webhook URL of the first Widget of…
Daniel
  • 840
  • 1
  • 8
  • 9
0
votes
1 answer

Twilio Voice SDK - Capture Client Identity for Incoming and outgoing calls

I have implemented Twilio Voice JS SDK to make/receive outgoing/incoming calls from within browser. Using the status callbacks, I get to know when the call was initiated, ringing, in progress and completed. However, I am not able to find and record…
Manish Jain
  • 65
  • 1
  • 6
0
votes
1 answer

error when I instantiate Twilio.Call function - Undefined 'info'

I am trying to make an outbound call with Twilio Voice SDK in HTML. I am getting the following error when I instantiate Twilio.Call function const device = new Device(token); params = { params: { To: phone } }; const…
Piyush Bansal
  • 1,635
  • 4
  • 16
  • 39