Relative Content

Tag Archive for twiliotwilio-api

Unable to Hear Audio Message Sent via WebSocket During Twilio Voice Call

Question: I’m working on a Node.js WebSocket server that integrates Twilio Voice and Google Cloud Speech-to-Text. The goal is to send audio messages during a Twilio voice call by streaming them back through the WebSocket. However, I’m unable to hear the audio message during the call when it’s sent. require(“dotenv”).config(); const WebSocket = require(“ws”); const […]

Unable to Hear Audio Message Sent via WebSocket During Twilio Voice Call

Question: I’m working on a Node.js WebSocket server that integrates Twilio Voice and Google Cloud Speech-to-Text. The goal is to send audio messages during a Twilio voice call by streaming them back through the WebSocket. However, I’m unable to hear the audio message during the call when it’s sent. require(“dotenv”).config(); const WebSocket = require(“ws”); const […]

Unable to Hear Audio Message Sent via WebSocket During Twilio Voice Call

Question: I’m working on a Node.js WebSocket server that integrates Twilio Voice and Google Cloud Speech-to-Text. The goal is to send audio messages during a Twilio voice call by streaming them back through the WebSocket. However, I’m unable to hear the audio message during the call when it’s sent. require(“dotenv”).config(); const WebSocket = require(“ws”); const […]

Twilio messaging – how to turn of retries and clear the queue?

I am using messaging (whatsapp and texting) with Twilio. I am having an issue with the message queue. Today I only sent 3 messages, but I had 20,000 failed messages per hour with error indicating bad “To” phone numbers. There are 22 distinct numbers (based on spreadsheet export of the page displaying the failures). I have fixed the numbers on my end, so I believe these must be old messages in the queue and/or retries.

How to attach Phone Number to Twilio Messaging Service “IS..” Sid via API

I’m trying to create a Twilio messaging service via api as documented here: https://www.twilio.com/docs/messaging/api/service-resource#request-body-parameters
and add a phone number to it as described here: https://www.twilio.com/docs/messaging/api/phonenumber-resource#create-a-phonenumber-resource-add-a-phone-number-to-a-messaging-service.

Not able to attach Phone Number to Twilio Messaging Service “IS..” Sid via API

I’m trying to create a Twilio messaging service via api as documented here: https://www.twilio.com/docs/messaging/api/service-resource#request-body-parameters
and add a phone number to it as described here: https://www.twilio.com/docs/messaging/api/phonenumber-resource#create-a-phonenumber-resource-add-a-phone-number-to-a-messaging-service.