Questions tagged [twilio-php]

Use to identify questions related to use of, or problems with, Twilio's PHP Helper Library.

Use the tag for questions about use of any API or service via the PHP Helper Library.

Twilio refers to a set of web services, APIs and tools provided by the company of the same name, used to send and receive text/picture messages, make and receive phone calls, and embed VoIP calling into web and native mobile applications.

Related tags

  • Use to identify questions related to use of, or problems with, Twilio's APIs.
  • Use to identify questions related to use of, or problems with, Twilio's Click-to-Call service or API.

Documentation

715 questions
2
votes
1 answer

Unable to send gifs using Twilio

I am trying to send this gif - https://media.giphy.com/media/YVBC4HdSpB7z2/giphy.gif - using Twilio but I am getting this error - Channel did not accept given content. Please see Channel specific error message for more information. This is my code -…
shekwo
  • 1,411
  • 1
  • 20
  • 50
2
votes
0 answers

Twilio channel already exists

How can I fix this porblem: Channel with provided unique name already exists Here is the code for creating channel: tc.joinGeneralChannel = function () { console.log('Attempting to join ' + $channelName + 'chat channel...'); if…
user3779015
  • 499
  • 1
  • 4
  • 19
2
votes
1 answer

Get the cost of SMS after SMS has delivered using Twilio

I am working on a project where under certain events it will send an SMS message. What I was planning was when the SMS was delivered, I would keep a record, both for debugging purposes if required, and to keep a history of what's happening with my…
Boardy
  • 35,417
  • 104
  • 256
  • 447
2
votes
1 answer

Twilio programmable voice call android

I just want to integrate twilio programmable voice on my project(android + PHP) so when i dial a VOIP call using android app than the person who will receive call will hear twiml programmable message on call. I have tried a lot and VOIP call is…
user8610600
  • 73
  • 1
  • 1
  • 4
2
votes
4 answers

Twilio Programmable Chat throwing Can't connect to twilsock

When I'm trying to use the programmatic chat I'm constantly getting this error Error: Can't connect to twilsock at t (twilio-chat.min.js:204) at t (twilio-chat.min.js:204) at new t (twilio-chat.min.js:204) at e.value (twilio-chat.min.js:204) at…
2
votes
1 answer

Twilio exception giving error in codeigniter

I am sending SMS to a number in codeigniter using twilio. This is my code
Ali Zia
  • 3,825
  • 5
  • 29
  • 77
2
votes
1 answer

Twilio SDK PHP - Set mediaRegion in room?

I see the documentation https://www.twilio.com/docs/video/api/rooms-resource#rooms-list-resource But i cannot find how to set the mediaRegion. Can you tell me how please? This is what i try but it not works : use…
Bruno P.
  • 51
  • 6
2
votes
2 answers

Twillio Notify Bulk Sms With Custom Number

I want to send bulk sms using twillio notify in php having a custom text in place of the number ("From") but dont seem to know how to go about it. Am using a messaging service. I would like to show the custom text instead of my sending number when…
2
votes
2 answers

When using twilio's php notify API, how do you set your callback URL?

I have the following code and it sends SMS notifications to my phone: $notification = $twilio->notify->services($serviceSid) ->notifications->create([ 'toBinding' =>…
Gazillion
  • 4,822
  • 11
  • 42
  • 59
2
votes
1 answer

Twilio - how is the switch made?

I am implementing Twilio SDK in the app and I've managed to make web to web calls and also web to phone calls. I can't seem to manage to figure out how the switch from web to phone should be made. I initially call the Voice.call() with an identity…
AndreiBogdan
  • 10,858
  • 13
  • 58
  • 106
2
votes
1 answer

How to pass start and end date in Twilio call logs using PHP Curl

I need to get the call logs from my twilio account. I used following links https://api.twilio.com/2010-04-01/Accounts/AC199564de248bcb4df3968fab5481bf8a/Calls.csv?PageSize=1000 Here I need to pass start and end date.
2
votes
1 answer

Twilio hangup call through REST API not working?

How to hang up the call whent it's status is in queued state(ringing or initiated)? None of the codes below have any effect on call, call continues to ring untill receiver picks up.Sometimes when agent realizes they are dialing wrong number they…
N Nem
  • 743
  • 8
  • 14
2
votes
1 answer

Want to use Whisper in Twilio Studio

I want to use the Whisper in Twilio Studio, is this possible?? Now I using only Twilio Studio and TwiML Bin my goal is... User calls to my Twilio number Connect call to the support team phone. After starting the calls between the User(client) & the…
2
votes
1 answer

Twilio conference recordingStatusCallback URL not triggering

I am using the recordingStatusCallback for conference as stated here https://www.twilio.com/docs/voice/twiml/conference#attributes-recording-status-callback However, this URL is never been hit at all. I am not able to get the recording, but when I…
ecorvo
  • 3,559
  • 4
  • 24
  • 35
2
votes
1 answer

Twilio PHP SDK, make outbound call, receive DTMF input from user and redirect call

I'm trying to make an outbound call from Twilio using Twilio PHP SDK. But I'm unable to figure out how to fetch DTMF input from that call and then perform some action based on that input e.g. connect the called number to another number if pressed…
ITFreak
  • 83
  • 2
  • 10