Questions tagged [twilio-functions]

Twilio Functions provides a serverless environment for you to build and run your code, easily interacting with other Twilio APIs and getting to production faster.

197 questions
0
votes
2 answers

Twilio PCI Compliant in Function Widget with Studio

I've been stalking around here and have gotten most of my answers as I make my way through this new tool, but I'm now stuck and need some direct advice. The Gather function in Studio is not PCI compliant, so I have to shift my call to a Function…
rasstwo
  • 1
  • 2
0
votes
1 answer

How to get the verification code while registering mobile number in Twilio?

I want to get the verification code when I made a request for the registration of a new number on twilio. The call gets made and ask for the verification number but I can't see the verification number.
0
votes
1 answer

How to integrate Twilio MMS web hook in my java application

I was working with twilio mms integration in my java application.i have some questions. what will be the webhook request URL format? how do I get the sender phone number? how do I test it from the country other than US/Canda?
Shamseer PC
  • 787
  • 2
  • 9
  • 20
0
votes
1 answer

How to use a variable in a custom function in Twilio Studio?

I would like to use variables from the Trigger widget in Twilio Studio, for example the trigger.message.From variable (that I believe contains the sender's phone number). Unfortunately, these variables are not passed to the event object in my…
Jezor
  • 3,253
  • 2
  • 19
  • 43
0
votes
1 answer

undefined:undefined Twilio Studio Flow SMS Forwarding Function Error

I've been attempting to create a two-way conversation using SMS forwarding in Twilio Studio flow. I know there are multiple ways to set up SMS forwarding in Twilio, and I have been successful in doing so using functions on their own, TwiML and…
0
votes
2 answers

Twilio function used in autopilot task should send SMS but returns "an application error has occured"

(2nd updated version after input - there is progress - thank you) I want to use a Twilio function to send a SMS during a call (to avoid to make a full external application). The goal is to send a confirmation SMS at the end of an automated call…
0
votes
1 answer

How to use a Twilio function to transfer a call to a phone number with an extension?

I'm trying to use a Twilio function to transfer a call to a phone number with an extension. The Twilio function is called from a Twilio flow. Right now, the call transfer to the phone number. However, the extension is never invoked. I added some "w"…
0
votes
1 answer

Does Twilio chat support recording audio messages

We are using Twilio chat in one of our website and some users are asking if it is possible to record audio recordings to be sent as chat messages (like it happens on Whatsapp and other chatting App). Does Twilio API support this kind of messages ?
0
votes
1 answer

TwiML Trying to create Hold music during call forwarding

I'm trying to create an customized Music for Call forwarding. When someone calling the it's redirecting to Enqueue named by "support". waitMusic.xml (Playing the…
Roy Tal
  • 1
  • 3
0
votes
1 answer

How to record a conference call within a Twilio runtime function?

This Twilio runtime function creates a conference, but I am unable to figure out how to activate recording. exports.handler = function(context, event, callback) { let twiml = new Twilio.twiml.VoiceResponse(); twiml.say("You have joined my…
Alerteye
  • 51
  • 10
0
votes
1 answer

Twilio Studio Function Parameter

I am trying to pass a parameter to a function in a flow using Twilio Studio. I can add the parameter no problem to the function widget, but how do I retrieve the parameter in the function? Studio Screenshot I've tried looking at the logs and can't…
Jephph
  • 13
  • 2
0
votes
1 answer

Twilio update resource async after previous verb has completed

How do I stop the async update call from completely interrupting the call? I would like response.Say("Let me think about that.") to finish before the async call is made, currently it just stops the Say() verb mid sentence. [HttpPost] public…
Harry Stuart
  • 1,781
  • 2
  • 24
  • 39
0
votes
1 answer

Does twilio have message scheduling feature

I want to schedule message according to week days using twilio dashboard or any api. And Does twilio have message scheduling feature?
0
votes
1 answer

I want to respond to a twilio SMS with a simple text and at the same time forward the SMS to some emailId

Configured a webhook URL which calls the below code ::: String body = request.getParameter("Body"); String fromNumber = request.getParameter("From"); String message; Message sms = new Message.Builder().body(new Body(message)).build(); …
pa_One
  • 35
  • 1
  • 2
  • 11
0
votes
0 answers

Twilio voicemail when call is cut

I have created a function for call forwarding on Twilio and if the call is not answered in 16 seconds, it will get redirected to voicemail. This function works fine but if the call is cut before 16 seconds, the local service provider's voice email…
Apurva
  • 181
  • 2
  • 2
  • 8