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
1
vote
0 answers

Twilio remaining participant is disconnected when gets alone

I've already posted an issue in the official git repository but no answers so far. https://github.com/twilio/twilio-video.js/issues/1698 I'm creating a Twilio programmable video Go room by using the PHP API. Then participants connect to the room…
Luciano
  • 2,052
  • 1
  • 16
  • 26
1
vote
0 answers

Twilio accept incoming call

I'm trying to allow users to accept incoming calls but I can't get it to work. This is what I have tried. If it is an incoming call, it will pause for 20 seconds. The user can then choose to accept the call on the client side which will invoke…
1
vote
0 answers

I can't access Twilio Studio Execution Contexts via PHP library?

I have a simple flow where callers record a message using the "Record Voicemail" widget, then I post the execution's Flow SID, the Execution SID, and the Call SID to my PHP app so I can download the recorded MP3. The PHP app successfully gets the…
Jim C.
  • 11
  • 1
1
vote
1 answer

Unable to send Programmable sms to Philippines numbers (Twilio)

am finding it difficult to send an sms to a Philippines number using the example from the Twilio SMS PHP Quickstart documentation... here's my code require __DIR__ . '/vendor/autoload.php'; use Twilio\Rest\Client; $account_sid = 'XXXXXXXXXXXX';…
1
vote
1 answer

Twilio Not Throwing Error on Try/Catch block when user opted out of messaging service [PHP/Laravel]

I create a conversation with my phone number to opt out of the texting service to test. Once opted out, I will delete the conversation so my application doesnt try to add the message onto the current Conversation->sid. But when I create a…
1
vote
1 answer

Can't Decrypt Twilio recording using PHP

I'm trying to decrypt encrypted Twilio recording using PHP https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption#step-5 This is my Encryption Details: I have successfully perform first step: $privateKey =…
1
vote
1 answer

Twilio put call on hold and unhold a call in symphony

If i put a call on hold means the primary number is on hold but the secondary number was disconnected.. $arrR = array(); $callSid = "sample callsid here"; $client = new Client(SmsSpool::$arrTwilioSetting['sid'], …
Gautham M
  • 13
  • 5
1
vote
2 answers

Twilio\Exceptions\RestException: [HTTP 400] Unable to create record: Cannot CREATE credentials record

I am getting an error when I try to create a Twilio Push Notification credential using Rest Api for my Subaccount in Twilio , Here is the response : Twilio\Exceptions\RestException: [HTTP 400] Unable to create record: Cannot CREATE credentials…
syed mahroof
  • 281
  • 6
  • 19
1
vote
1 answer

You attempted to initiate an outbound phone call to a phone number that is not enabled on your account

I have implemented twilio client calling future using PHP. But sometimes the call is getting disconnected after ringing. When I look into the error log in twilio I can see the message 'You attempted to initiate an outbound phone call to a phone…
skm
  • 1,650
  • 2
  • 10
  • 17
1
vote
1 answer

Twilio Showing Wrong Number of Segments

I am calling Twilio API to fetch messages history. The number of messages and segments returned by the API are different than it shows in the Twilio Usage section. The end point I am calling to fetch the messages list…
user1404963
  • 415
  • 3
  • 6
  • 17
1
vote
1 answer

Twilio Laravel Send Whatsapp Message not in same channel

I have try to create MEssage from php(laravel) using twilio, when i send messsage and system reply it well, but i have some problem when i want directly send message directly from system,I call my service from POSTMAN but it will always show error…
1
vote
1 answer

Twilio Symfony - The controller must return a \"Symfony\\Component\\HttpFoundation\\Response\" but returned Twilio\\TwiML\\VoiceResponse."

I want to implement Twilio browser to browser call with Symfony5 and ApiPlatform I'm following this…
1
vote
1 answer

Twilio API PHP : Retrieve only the latest SMS message received from a certain mobile number (FROM)

Here's the code I use to retrieve SMS messages received to a specific number on a specific date: $receivedMessages = $twilio->messages ->stream(array( "to" => $activeTwilioNumber, …
1
vote
0 answers

Twilio Call disconnects after one ring

Twilio calls gets automatically disconnect after one ring. When it's the case for cell phone, everything works just fine but for the landline having ring back-tone the call gets disconnected after one ring. I have checked the call logs; and the…
Aayush Karna
  • 80
  • 1
  • 7
1
vote
0 answers

How to generate TWILIO_SDK_STARTER_SERVER_URL for android app

Hi I am doing video chat using Twilio.I am follow https://github.com/twilio/video-quickstart-android link for development.I am facing problem for generate TWILIO_SDK_STARTER_SERVER_URL.My demo app running successfully but video call not…