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
2
votes
1 answer

cannot set the Sync document's ttl from a twilio function runtime client

I need my twilio sync documents to be deleted automatically after few minutes. I followed the documentation for the Runtime.getSync(), which by the way seems to be introduced here https://www.twilio.com/docs/runtime/client and extended by the …
2
votes
1 answer

Twilio functions: press intercom key

Im trying learn Twilio by making a practical simple app. I have a phone number setup to Twilio Studio flow. The flow will execute a Runtime Function. I'm trying to make it so that the function will press the number "9" key. The idea is that this…
2
votes
1 answer

With twilio: Mute a specific participant in a room

I made a lot of searches, and tried many things. Let's take the same scenario from this question. Bob, Alice, and Jane are in a conference. I want Bob (the hoster of the room) to be able to mute Alice so sounds from Alice will not come through the…
Lemayzeur
  • 8,297
  • 3
  • 23
  • 50
2
votes
1 answer

Twilio Send Message API Error 21603

I'm using postman to see the response format of send message api in Twilio. The Api that I'm using is https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages. I have entered the basic authentication parameters (Account_Sid and AuthToken as…
Janmajay
  • 49
  • 1
  • 9
2
votes
1 answer

Twilio sending texts on android problems

am creating an android app for school which will need to send text messages. I have had twilio recommended by several people so I decided to go with it. Following this tutorial:…
lehmanj3
  • 23
  • 2
2
votes
1 answer

WebSocket handshake error when connection to endpoint

We were using Twilio Video for development of our system, I am able to use the system with my own laptop but working laptops have an error while trying to connect with Chrome browser. I am getting below error: WebSocket connection to…
Utku Olcar
  • 21
  • 1
  • 3
2
votes
1 answer

Twilio Function - Using Moment for Open Office Hours

Hi Im trying to get this working properly. I'd like the open time to be set between 14:00 UTC and 22:00 UTC. But it doesn't seem to work. When I call the function url I get a return of "open" when I call it outside of the open times. Can anyone…
Redgular
  • 311
  • 2
  • 8
2
votes
2 answers

Twilio Inbound Text Message to Outbound Voice Call

I want Twilio to initiate an outbound call to my mobile phone when anyone sends a text message to my Twilio number. I would prefer to do this with a TwiML Bin or Twilio Function or something hosted by Twilio so I do not have to run my own web…
Zack Peterson
  • 56,055
  • 78
  • 209
  • 280
1
vote
1 answer

How to forward an incoming call to a Twilio number to another number?

I need to forward incoming calls to my Twilio number to a personal number. I need to do this by Java code because I have a few other Business logic executing when TwiMl App redirect the request and because of that, I can't use Twilio Studio. I tried…
1
vote
1 answer

How to delete a serverless function using Twilio CLI?

I'm getting Error 20001 when I try to delete a function from a previous build. Steps to reproduce error: twilio serverless:init my-project twilio serverless:deploy rm functions/private-message.js /functions/sms/reply.protected.js /assets/style.css…
1
vote
1 answer

Online docs for getTwilioClient() as used in "Functions and Assets"

I have found a few examples of context.getTwilioClient(), but I have not been able to locate any online documentation. It's probably right under my nose, but it is eluding me. In particular, I'm trying to get information about workers in a Task…
tcbeaton
  • 85
  • 7
1
vote
1 answer

Twilio Send & Wait for Reply widget

I'm using an incoming call flow that starts call recording, asks a bunch of questions, gathers responses, at the end of the call: stops recording and sends a sms to caller using send/wait for reply widget. A response is expected and based on what's…
1
vote
1 answer

How to access the param inside the function

I have created one flow from that I am sending some param to the function, how should I access the param inside the function? Here I am attaching the sample params I am sending from run_function to function.
jey
  • 11
  • 1
1
vote
1 answer

Parse a response of an API call in Twilio functions

I can't seem to parse the response of an API call I'm making in a Twilio function. I know the call is successful since I get the response in the success function but when i try to filter out the different results it always defaults to the else…
jack
  • 330
  • 3
  • 12
1
vote
1 answer

Twilio Reject Call Send To Voicemail and Email Link or Voicemail File (mp3)

I have a simple call structure folder with PHP and XML on my server. To handle my incoming calls for my business. I can't seem to get it to forward to voicemail without errors. (SOLVED 12/18/2021 - See Voicemail.php file update below) My only issue…
Ron O
  • 11
  • 4
1 2
3
13 14