Questions tagged [twilio-php]
Use to identify questions related to use of, or problems with, Twilio's PHP Helper Library.
721
questions
0
votes
0
answers
15
views
How to send an emoji in Twilio Whatsapp Template
I have a WhatsApp template on Twilio and I want you to have some emojis but I don't know how to do it. How can I add them? I want to do the same on a webhook.
public function SendMessage(){
$sid = ...
0
votes
0
answers
12
views
How to get the ID of Whatsapp Template in Twilio
Is there any way to access the content of the Twilio Whatsapp template with PHP ? Something like accessing the template ID. In the detail of the template created the ID is not shown.My problem is that ...
0
votes
0
answers
11
views
template sms [SAMPLE TEST] by default
our template always put [SAMPLE TEST] as friendly name and we can not replace it. Somebody know the answer ?
we need know why the template always put [SAMPLE TEST] and how replace by our business name....
-1
votes
0
answers
13
views
"Issue During Twilio Account Sign-Up: Account Suspension"
Stack Overflow community,
I hope you are doing well. I am a new user who is facing an issue while attempting to sign up for a Twilio account. Specifically, when I click on the "Submit" ...
0
votes
0
answers
22
views
[Twilio][Whatsapp] My message stuck in Queued
Before, the WhatsApp sending service via Twilio has been running for almost 2 months, and currently all the messages I send have stopped being Queued.
I have tried creating a new number, a new sender,...
0
votes
0
answers
15
views
How to ring multi numbers at the same time, but qualify pick up with a digit response?
I want to set Twilio up to ring multiple numbers at the same time with a 30s time out. I see this can be done with a dial verb but I need to add some logic that <say>s a message to the recipient ...
0
votes
1
answer
26
views
Twilio no response from api server when messaging invalid number
I am testing some app code that is supposed to catch responses from messages sent to bad/invalid numbers on the Twilio API. However, I am testing a bad number, a bad landline number, and I am not ...
0
votes
1
answer
19
views
How to send a voicemail for outbound call in twilio when machine answer?
hello I'm currently developing dialer using Twilio API, how can I drop a voice message when machine answered the call?
i already tried searching documentation but i can't find any.
0
votes
0
answers
20
views
Disable Ringtone for outbound Calls - earlyMedia: false
I'm a beginner and we have a few Queues, when we make an outbound call from the "everyone" queue we are getting a loud Ringtone.
I got to know that I need to update earlyMedia: false
But I ...
1
vote
1
answer
26
views
Twillio SMS statusCallback not firing to webhook in PHP
I am using Twillio's sending of an SMS message,
$client = new Client($GLOBALS['twSID'], $GLOBALS['twToken']);
$client->messages->create(
// the number you'd like to send the ...
0
votes
1
answer
27
views
How can I retrieve Twilio incoming calls between two dates using PHP?
I've checked a number of related articles, and the script returns all of the calls, no matter what dates I use.
I am using the following, but get the same results every time I change the dates, it ...
0
votes
0
answers
18
views
Issues with Adding Verified Caller IDs in Twilio Sandbox for Different Countries
In the context of a Twilio sandbox account created for India, there's a need to add verified caller IDs. The process works smoothly when adding Indian numbers to the verified caller IDs list; however, ...
0
votes
0
answers
56
views
How to send bulk SMS message with Twilio API from PHP
As many other people have asked here, I am trying to figure how to send bulk SMS messages from PHP (Laravel) using the Twilio SMS API, and it is not simple (I am a paying customer and have a support ...
0
votes
0
answers
46
views
Get message text when using Twilio template (with content variables) for WhatsApp API
I'm using a Twilio template that has variables to send a message on WhatsApp, but I want to store the message text in my own tables. However, because it's a template there is no defined "body&...
0
votes
0
answers
41
views
Receiving Smileys/Emojis in Twilio conversation webhooks and API calls
My application retrieves SMSs sent to a Twilio number.
When looking at the twilio backend message log, the emojis are displaying correctly.
However, when the webhook is triggered or if the API is ...
0
votes
0
answers
46
views
when send SMS by Twilio contain link in body become SMS undelivered
when send SMS by Twilio contain link in body become SMS undelivered by php Laravel ?
can any one help me in this problem please !
note:
my account in Twilio paid
i use laravel
name package $ composer ...
0
votes
1
answer
274
views
Twilio - HTTP Authentication for Call Recordings and MMS Media - How to access the media with HTTP authentication?
I have received an email from Twilio saying they will be enforcing HTTP Authentication for Call Recordings and MMS Media.
I have coupled applications where we store the mms media url and voice call ...
0
votes
0
answers
87
views
Twilio Audit Tracking?
I have been searching and searching, and my Google skills have failed me. I was hoping for webhooks from the audit logs, but I found the API endpoints, so I can make calls to gather information. But ...
0
votes
0
answers
30
views
Implementing Call Diversion Feature with Laravel, Twilio PHP SDK, and Twilio JS Client
I have successfully implemented a browser call feature using Laravel, the Twilio PHP SDK, and the Twilio JS Client. My setup involves three endpoints:
One endpoint works in conjunction with the Twilio ...
0
votes
0
answers
36
views
Problems with getting the number entered by the user during the call
I have a customer service IVR. At a certain point of this service, I ask the user to choose a license he owns by typing a number on the phone keypad, but when typing a number, the "action" ...
0
votes
0
answers
21
views
Twilio: Sms is getting send through API but not through studio flow in php
I am sending SMS using twilio and it is working fine when sending directly from php but its is not sending when we send it through flow.
require_once "vendor/autoload.php";
use Twilio\Rest\...
0
votes
0
answers
25
views
How to integrate PHP Twilio Video in Wordpress
How will can I integrate this quickstart app (https://github.com/twilio/twilio-video-app-react) in a wordpress application as a separate application. Something like when you click the button in ...
-1
votes
1
answer
123
views
Is it possible to check if an SMS number is blocked in twilio before sending it?
I need a way to detect if a number is blocked by twilio from receiving SMS from my number or not(has opted out with a STOP command).
I am using the Lookups_Services_Twilio class from twilio-php-master ...
0
votes
1
answer
120
views
Laravel/Twilio WhatsApp Chatbot: 11200 - Http Retrieval Failure Error
I have tried replicating the whatsapp chatbot built in the below blog post using Twilio and Laravel:
https://www.twilio.com/blog/build-whatsapp-currency-conversion-bot-twilio-laravel
I have tried ...
0
votes
1
answer
63
views
Twilio - efficient outbound call through conference
I'm using the Twilio JavaScript Voice SDK and TwiML App handled by PHP to make an outbound voice call.
My first implementation was to dial the number directly..
Client side...
device.connect({
...
0
votes
1
answer
74
views
Why doesn't Twilio/Rest/Client throw exception with bad credentials?
I've written a php class to initialize the Twilio rest client and provide methods for sending and deleting messages to reduce the code in my ivr a bit.
When writing an integration test, I wanted to ...
0
votes
1
answer
26
views
How to set reply number?
I keep receiving sms from short number and not from the number i have.
const botMessage = chatGPTResponse.data.choices[0].message.content.trim();
const twiml = new MessagingResponse();
twiml.message(...
0
votes
0
answers
42
views
Using Twilio PHP SDK, Twilio JS Client and Laravel, how to implement browser calls with a diversion feature to gsm numbers?
I want to implement the following: I want to be able to call someone via web browser, which is working perfectly fine. Now I want to implement a diversion feature, meaning the user of my app should be ...
0
votes
0
answers
42
views
Create conference which allows to add different users successively by providing their twilioNumber using Twilio JS CLient, Laravel & Twilio PHP SDK
I am struggling with implementing a feature, where a user will be able to call someone, and then he will be able to call another one, and another one… so that 3 participants are in one conference for ...
0
votes
1
answer
98
views
TwiML: Enqueueing inbound call with custom parameters
I am using a TwiML app and PHP to handle inbound calls. I handle the inbound call in the TwiML voice xml call back.
I enqueue the call to the task router...
$voiceResponse = new VoiceResponse;
$...
0
votes
0
answers
12
views
Do I need to declare $_REQUEST['From'] and $_REQUEST['To'[ ahead of time
I am trying to follow this API tutorial, but I get errors with the $_REQUEST['From'] and $_REQUEST['To'] array variables
I am expecting to see a response like what I got for this Tutorial so I can ...
0
votes
0
answers
18
views
Not getting an exception for undelivered (landline) SMS messages? (PHP)
I am trying to test my error handling by sending an SMS to a landline number. I'd expect for Twilio to return an error code, for the PHP SDK to throw it as an exception and for my code to handle the ...
0
votes
0
answers
69
views
Fetch Twilio inbound and outbound prices of a Twilio Phone number when calling/ receiving
I am trying to find out what are the call prices before make / Receive calls.
Let's say I have a Twilio phone number ABC and customer Phone number XYZ. I want to know the twilio pricing in below ...
0
votes
1
answer
88
views
Twilio MMS: GIFs sent via Twilio do not play inline
I am using the Twilio PHP SDK within a Laravel app to send MMS messages.
When I send JPG or PNG files, the images display inline. When I send GIF files, the GIFs are sent as objects that the user must ...
-3
votes
1
answer
245
views
How to send a WhatsApp message with buttons using Twilio in Laravel? [closed]
I am using Twilio with Laravel to build a chatbot.
And I want to attach buttons with each message to like a quick reply.
0
votes
1
answer
74
views
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, ...
0
votes
1
answer
63
views
How to get Twilio Usages data every few minutes?
Requirement: I need to monitor the Twilio account and subaccount usages in near real-time.
Any solution in java, php, python or even curl will do for me.
Twilio provides Usage Records API and allows ...
0
votes
0
answers
43
views
Conversations API: Participant leaving errors out for certain participants
The error message returned from conversation.leave() (along with conversation.removeParticipant) is:
Uncaught (in promise) Error: Transport failure: UPSTREAM_REQUEST_PARSING_FAILURE
Using this code ...
0
votes
0
answers
72
views
Twilio Voice SDK React Native: Caller is not able to end the call
We are using v1.10.0, the issue we are facing is when caller cuts the call, the call is still active.
We are not getting the event callDisconnect and so.
When caller is making a call and it is ringing ...
1
vote
1
answer
118
views
Twilio REST API - Fetching call logs seems to be an infinite loop
I am using the Twilio SDK to make REST requests to fetch the calls made during the last day and the amount of calls is bigger than the total amount of calls on my account. It just keeps running ...
0
votes
0
answers
18
views
What will be the best practice to create call requests to a group of users in the most optimal order
So I have a call queue flow in our app, on incoming call the caller is put in queue based on the verb and then I call to a group of users who needs to get this call using the Twilio REST api for ...
0
votes
0
answers
36
views
$response->redirect not works
I have an IVR that plays some audios for the user and then I need to redirect to another php file. The strange thing is that this redirect does not work.
NOTE 1: the redirect that does not work is the ...
0
votes
0
answers
75
views
Twilio Voice-SDK device.register doesn't register device, instead keeps spamming signal websocket
I have a Laravel+Vue application that I'm trying to connect to Twilio to receive incoming calls.
Below is my Vue Method, /token gets the device token no problem, I have included the code for this so ...
2
votes
1
answer
135
views
Whatsapp Media Messages
In the docs, it is mentioned that only during session images we can send media images. But I know some companies out there are sending media messages if no session starts. How are they doing it? Is ...
0
votes
0
answers
102
views
What is the best way to achieve a constant callback every X seconds to a script within Twilio?
I need to be able to alert a caller the moment an event (external database change) occurs.
This change can occur anytime from a few seconds into their call or after a few minutes, leaving them on hold ...
0
votes
0
answers
100
views
Twilio error 63015 can only send messages to phone numbers that have joined the Sandbox , how do I fix that?
Im having a trouble using whatsapp notifications that says:
"Channel Sandbox can only send messages to phone numbers that have joined the Sandbox"
but in the page "Twilio Sandbox for ...
0
votes
0
answers
74
views
Cannot Access Remote Participant Tracks from Room
Can anyone help me to show the Participants video call on my app using twilio video api. I tried a lot but can't able to find any solution.
Everything works without any error but why video is not ...
0
votes
1
answer
135
views
Twilio Two Factor Authentication Model for Web
I've got a system setup to send a 2FA code that I generate at login to a users cell phone, the basics work fine. User logs in, they get an automatic SMS message with the code, cool...BUT, I want to ...
0
votes
1
answer
26
views
Twilio - How Generate a key from the main key
Is it possible to generate a standard key from a "main" key?
I'm trying to generate dynamic keys via api and using it instead of using the account token.
// Generate the key form ...
0
votes
0
answers
282
views
Sending caller ID verification code through SMS with Verify API
I want to create a page on my website where a user can verify their number as an Outgoing Caller ID for my Twilio account. I understand that I can initiate this process by hitting the ...