Questions tagged [twilio]
Twilio provides APIs and tools to add communications-related functionality (SMS/MMS, voice, video, e-mail, chat, 2FA, and others) into web and mobile applications.
twilio
10,502
questions
0
votes
0
answers
6
views
How to implement WhatsApp Flows with Twilio
Meta has a feature - "WhatsApp Flows"|: https://developers.facebook.com/docs/whatsapp/flows
I'm using Twilio for WhatsApp, and looking for an efficient way to work with this feature on ...
0
votes
1
answer
17
views
End flow with human scalation with Twilio Flow
I am trying to end the interaction in my Dialogflow CX agent with the transition "End Flow With Human Escalation," as shown in the screenshot:
flow in DialogflowCX with the "End With ...
0
votes
0
answers
24
views
Twilio error while accepting the incoming call
Error of
@twilio_conversation…js?v=582255ec:11005 Uncaught (in promise)
Error: Forbidden
at Upstream2._callee$ (@twilio_conversation…v=582255ec:11005:27)
at tryCatch (chunk-NHAX666J.js?v=...
0
votes
0
answers
8
views
Twilio Voice Error Handling in case of application error has been occurs
I have setup Twilio Voice. any incoming call comes to twilio number is going to handle backend service which is running on instance with the /voice endpoint and same endpoint has been set up on twilio ...
1
vote
0
answers
19
views
Get user response as speech-to-text in Twilio
I am exploring Twilio programmable voice for the first time, and can't find how to get user speech input as text.
TwiML Gather with the speech input
gather: Gather = Gather(
input="...
-2
votes
1
answer
24
views
Twilio Voice and Meteor.js - Can’t Get req.body In WebApp.handlers.use()?
I’m working on getting Twilio Voice working with my Meteor app. Code on the client pings the Twilio server, which then sends a POST request to my server endpoint, including the ‘to’ phone number or ...
-4
votes
0
answers
46
views
Best Solution for Forwarding Messages from an WhatsApp Group to external applications? [closed]
I'm looking to forward all incoming message data to an endpoint of my own, specifically from a WhatsApp Group where my Business Number is a participant.
I've looked into the documentation for both the ...
0
votes
1
answer
52
views
Ruby on rails - Error Uninitialized constant twilio when initializing its instance
I am getting error while creating client instance in twilio. Below is the code and error
uninitialized constant LogInController::Twilio
Extracted source (around line #26):
...
0
votes
1
answer
24
views
Twilio Server Rings "to" Number, Then Hangs Up?
I am setting up Twilio Voice Calling. I have this code on my client:
function makeCall() {
if (!window.twilioDevice) {
console.error('Twilio Device not ready');
return;
}
...
0
votes
0
answers
14
views
how to use twilio voice node in thingsboard cloud
When using twilio voice rule chains node in thingsboard cloud
'com/ctc/wstx/stax/WstxInputFactory'
An error occurs.
Are there any cases of successfully using twilio voice node on thingsboard cloud?
I ...
0
votes
0
answers
34
views
Twilio webhook POST to app api endpoint (hosted on heroku) hits status 403
My app works great in development, coded my own text messaging route in sveltekit. In development I use nGrok over http and that works great.
once deployed to heroku the incoming POST webhook (from an ...
0
votes
0
answers
71
views
+50
Some Twilio inbound calls arrive with status of "no-answer"
I have built a Twilio call center which uses a TwiML app to deliver events to my PHP server. I've been monitoring the system over the last year and I am concerned that a few calls seem to arrive with ...
0
votes
1
answer
33
views
Use Twilio in Vue 3 to send message on Whatsapp
i looking the best way to send message on Whatsapp using twilio.
so here is my code :
twilio.js file
import { Twilio } from 'twilio';
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const ...
0
votes
0
answers
21
views
how to check in twilio, which number will be used to send text from & to, i need it to be my number & not any random no., how to verify or change?
So i'm a bit new and i tried to do this tutorial but i'm confused about the trial number provided by the twilio and was wondering how can i change it, i have linked the video i was referring to
#...
0
votes
0
answers
12
views
Setting up a Cypress test suite to test a Twilio Flex application
I have been trying to setup an automated integration test for our Flex applicaiton. We have a fairly complicated application and want to automate more tests before each release and if we could ...
0
votes
0
answers
33
views
How do you display an alphabetical caller name of a customer like 'Joe' for an incoming call when forwarding the call to an agent/staff cellphone?
We have developed a telephony CRM solution for our customers, many of whom are small businesses. I will refer to the businesses as our customers and the businesses customers as clients for the ...
0
votes
0
answers
20
views
Twilio Flex Unified Profile's History feature not working properly
I am trying to implement History feature in my Twilio Flex. This feature comes under Unified Profiles (which is under Beta version).
I have uploaded dummy users list containing phone number, email, ...
0
votes
0
answers
9
views
Error initializing background blur processor: TypeError: window.createTwilioTFLiteModule is not a function at GaussianBlurBackgroundProcessor
I'm trying to add a blur effect to a Twilio videoTrack, but I'm encountering an error and I'm unsure how to resolve it. Can you provide guidance on troubleshooting this issue?
import { ...
-1
votes
1
answer
26
views
How to use SMS API of Australia region for sending SMS with an Australian Number?
I am trying to use Australia Region API for SMS sending, But i am not able to use it i'm getting a 401 error code.
Let me know, How can i make Australia region sms sending Api Active by default it's ...
1
vote
1
answer
32
views
What is the real way to close a Twilio bidirectional audio stream?
I have a voice assistant that I want to use with the Twilio Voice API. I want to go back and forth, collecting user audio through a Gather and then using a bidirectional Stream to stream back the ...
0
votes
1
answer
27
views
Call Twilio studio REST API from Serverless API
I have a Twilio studio flow that triggers a serverless function, and this function should call the Twilio REST API to start the same Twilio studio flow but with a different "To" phone number....
0
votes
1
answer
30
views
How to Set Up a Webhook for WhatsApp Template Status Updates?
After creating a WhatsApp template, is there a way to set up a webhook to receive the status updates of the template?
0
votes
1
answer
37
views
How do I play a custom message in a Twilio function and then return to the Studio Flow?
How do I return to a Studio Flow after playing a custom voice message to a person?
Here's the code:
if(calledNumber == "+11234567890")
{
twiml.say("Biden is closed.");
}...
1
vote
0
answers
38
views
How to Minimize Delay in Twilio's Speech Recognition Gather Action Response?
I am developing a speech recognition system using Twilio and a Node.js application. The goal is to play an audio clip immediately after the user stops speaking during a call.
Twilio Calls Logs
However,...
0
votes
0
answers
38
views
SendGrid message API query
I am trying to use the SendGrid email activity API to retrieve a list activities from a celery task in python. I'm using the sendgrid library version 6.11.0 (https://pypi.org/project/sendgrid/). I ...
0
votes
0
answers
28
views
Conference call transcription using twilio
I am trying to transcribe the conference call from recording, as the conference is not directly supporting the transcription. Therefore, How I can achieve the transcription from the recording. What I ...
0
votes
1
answer
31
views
Automatic Machine Detection workflow is different when used under <Dial><Number> vs when used in an outbound call using API
I cannot control the flow of a call created using Dial keyword inside of amdStatusCallback webhook I provide in the Number tag. I'm using C# Twilio library and Voice JavaScript SDK. Apologies for the ...
0
votes
0
answers
38
views
Twilio Transcribe audio call Google Speech To Text
I'm trying to transcribe audio to text using Google Speech to Text using Python. For this, I'm using the WebSocket stream to receive the audio.
@app.route("/receive_call", methods=['GET', '...
0
votes
1
answer
68
views
Webhook error on Twilion when trying to communicate with OpenAI
I'm frustrated here, got stuck, can't overcome this :/
I'm trying ChatGPT but it can't correct it.
Project
My project is to communicate Whatsapp Business with OpenAI using Twilio.
Problem
Twilio is ...
0
votes
0
answers
38
views
Is there some kind of API to turn on Media HTTP Basic Auth?
https://help.twilio.com/articles/15827821586843-Prevent-unauthorized-access-to-your-Programmable-Voice-Media-with-HTTP-Basic-Auth
In our application, we have a lot of sub accounts which we want to ...
0
votes
0
answers
23
views
Error: Required parameter "opts['policySid']" missing. How to know which policy is needed dynamically
Our app needs to use Twilio so users can send sms to their customers. The architecture is as follows.
Our app has the main twilio account.
User signs up, we create a subaccount for them.
When they ...
0
votes
0
answers
24
views
Getting Twilio caller's phone number in socket
I have an endpoint accepting requests from Twilio.
I am connecting it to a websocket where I handle the actual conversation.
To get context about the caller, I need the caller's phone number in the ...
-1
votes
1
answer
30
views
Twilio whatsapp Otp failing even after getting template approv
I am using flutter to send this message. The template is approved and still i am getting error.
final TwilioFlutter twilioFlutter = TwilioFlutter(
accountSid:
'xxxxxxxxxxxxx', // replace ...
0
votes
0
answers
28
views
How do I create a Test toll free verification in twilio?
I am building an app that uses Twilio. Currently the app is in development. I have not deployed it to a server yet. When I attempt to create a trusthub profile it is denied because we havent deployed ...
0
votes
1
answer
45
views
Add Twilio phone number to WHATSAPP by cloud API
Through a Twilio account, I purchase a number and add it to WABA by CLOUD API as follows:
curl --location 'https://graph.facebook.com/WABA_ID/phone_numbers' \
--header 'Content-Type: application/json' ...
0
votes
0
answers
19
views
How to find mobile number is in real world existing using Twilio without country code
I am having an input field for mobile number which uses regex to validate number and on share it share some document to that number now my query is that i had verified that sometimes i receive message ...
-1
votes
0
answers
36
views
How to make a Ringless voicemails with Twilio and PHP
I am trying to leave a ringless voicemail using Twilio and PHP by first making a first call followed by a second call while immediately dropping the first so that the second goes directly into ...
-1
votes
0
answers
26
views
Twilio: 'dest' value specified in PASSporT claim does not match SIP To header value
While executing inbound calls, I've encountered a hitch specifically with those where I include the client_id in the IVR flow. Oddly, the code functions perfectly when I opt to pass the phone number ...
0
votes
0
answers
25
views
Twilio Access Token - how can I check that JWT token (created with Twilio) is expired, from Swift side?
I want to be able to check that a Twilio Access Token is expired. I have the Twilio account and I can generate the Access Token as JWT. I can manually clearly see the expiry time in jwt.io website, ...
0
votes
1
answer
43
views
Twilio Studio Flow and Send and Wait for Reply Widget Both Triggering on Incoming
I have a Twilio Studio Flow that is triggered through the REST API. Within the flow, I use a "Send and Wait for Reply" widget to wait for a user's response.
The issue I'm encountering is ...
1
vote
1
answer
75
views
Stream audio back to Twilio from Azure text to speech
I am trying to send an audio stream back to Twilio via a WebSocket and let Twilio play that voice to the caller. I have set up my bidirectional WebSocket connection following this guide. I can receive ...
0
votes
0
answers
39
views
Twilio JWT access token
I ran into an issue with Twilio's token. Namely, when the app is in the background, for some time, and (while in the background) it goes into the Twilio's 2 minute range for the token expiry - so it ...
-1
votes
0
answers
20
views
How to Build a React Native App with Features of Twilio's Frontline (Messaging, Voice, and Video Calls)
Need Solution !
Question:
I am a Senior React Native Engineer working on a project to build a React Native mobile app that replicates the features of Twilio's Frontline. My client currently uses ...
0
votes
1
answer
28
views
Twilio Flow with Split Based On... boolean argument
Considering widgets.get_sms_opt.parsed.SmsOpt is can be either true, false (boolean values), or null, like in:
"widgets": {
"get_sms_opt": {
"...
0
votes
1
answer
116
views
Calling private json file on Twilio serverless
I've upload 2 json file under Assets (as private) on Twilio serverless, I know that I need a function to let the code access this file, but it seams not working my code:
exports.handler = async ...
0
votes
1
answer
31
views
Need help handling testing of Twilio Flex application that has single signon enabled
I have a flex application that is using Single Signon. We are looking at doing some automated testing of our application and need to be able to have the CypressIO test login.
We are running into ...
0
votes
1
answer
42
views
Twilio Voice JavaScript SDK Error - 31206: Rate exceeded authorized limit details
There is limited documentation on Error: 31206 in the Twilio docs (https://www.twilio.com/docs/api/errors/31206). Was wondering if anyone can help go into more detail on what could trigger this error?
...
0
votes
1
answer
31
views
Enable less tech-savvy businesses for transactional SMS using default originator numbers
Our potential tenants (subscribers) to our solution want to be able to send transactional messages such as order-milestone updates to their customers or recipients. All the messages being sent from ...
0
votes
1
answer
73
views
Twilio Error 32017 Carrier blocked call due to calling number (caller ID)
I am trying to use twilio and make.com to create an outbound Agent, I made the connection, it worked for the first few times but after a few tries I cannot work with it. When I check the call logs I ...
0
votes
0
answers
40
views
Twilio transcription creating request (API, JS)
I was implementing some Twilio functionality, I found out how to start recording the call, and receiving it recordingSid in the end of the call, next goal was to create transcription from that ...