Build the future of communications.
Start building for free

Voice posts

  • By Ricky Holtz
    Introducing the Twilio Dev Phone dev-phone-banner

    I used to be an adjunct professor at Berkeley City College. My class was learning about 3rd party APIs, and so I set aside a classroom day to work on Twilioquest. On the day of the event, my students showed up and fired up their laptops...

    And I learned that my classroom had no cell service.

    While it was funny to watch my students run outside to a window to try and get some service and "catch" the text message, situations like this show us a clear issue: sometimes, our personal cell phones can be a blocker to our Twilio development. That's why Twilio's Developer Advocacy team is excited to announce the Twilio Dev Phone, a Twilio CLI plugin that allows you to send and receive calls and SMS straight from your local development environment.

    A screenshot of the dev phone UI

    You can learn more about the dev phone and how to use it …

    Read More
  • By Niels Swimberghe
    What's new in the Twilio helper library for ASP.NET (v5.73.0 - April 2022) What's new in the Twilio helper library for ASP.NET (v5.73.0 - April 2022)

    The Twilio helper library for ASP.NET (Twilio.AspNet) is a community-driven open-source project to make integrating Twilio with ASP.NET easier, for both ASP.NET Core and ASP.NET MVC on .NET Framework. The library helps you with very common use cases like:

    • Responding to Twilio webhook requests with TwiML objects from the official Twilio SDK for C# and .NET.
    • Binding data from Twilio webhook requests to strongly typed .NET objects.
    • Validating webhook requests originate from Twilio and rejecting them if not.

    As .NET and ASP.NET is evolving, the Twilio.AspNet contributors are enhancing the library to take advantage of the newest capabilities and best practices. So what's new?

    What's old in Twilio.AspNet

    Actually, before I share the shiny new additions, let me share what is already part of the library. After all, this is the first blog post to share news about the library.

    Handle Twilio webhook requests with ASP.NET

    In previous versions …

    Read More
  • By Michael Carpenter
    Catching up with Voice Insights image (1).png

    Maybe it's been a while since you poked around the Voice Insights docs, or you haven't had time to set up an RSS reader to check out items from Twilio's Changelog or follow the changelog on Twitter. Don't sweat it! We are only too happy to give you a guided tour of new features and capabilities that have been added to Voice Insights in the past few months.

    catching up.png

    Voice Insights Dashboard Multidimensional Filters

    The Voice Insights Dashboard in Console has had multidimensional filtering for a while now, but the filter builder left a little something to be desired. You couldn't mix directions so, for example, you had to choose either calls To a given country or From a given country if you wanted to filter on multiple dimensions. We have implemented changes on the backend that enable mixing dimensions from different directions. We have also updated the filter builder …

    Read More
  • By Miguel Grinberg
    Transcribe your Phone Calls to Text in Real Time with Twilio and Vosk  Transcribe your Phone Calls to Text in Real Time with Twilio and Vosk

    In this tutorial, you are going to learn how to implement live transcription of phone calls to text. The phone calls will be routed through a Twilio phone number, and we will use the Media Streams API to stream the incoming audio to a small WebSocket server built using Python. Once in your server, the audio stream will be passed to Vosk, a lightweight open-source speech recognition engine that runs locally on your computer, with support for many languages.

    Live transcription of phone calls demonstration


    To work on this tutorial, you will need:

    Read More
  • By Marius Obert
    Wie kaufe ich eine Twilio-Rufnummer mit Regulatory Bundles Wie kaufe ich eine Twilio-Rufnummer mit Regulatory Bundles

    Wenn du diesen Artikel liest, hast du vermutlich schon von all den aufregenden Szenarien gehört, die du mit einer Twilio-Nummer bauen kannst. Du kannst SMS versenden, Anrufe empfangen, interaktive Sprachantworten (Interactive Voice Response, IVR) entwerfen, und jedes erdenkliche Telekommunikationsszenario per Programmcode in deiner Lieblingssprache umsetzen. Und all das beginnt mit einer Twilio Telefonnummer.

    Doch leider ist es manchmal gar nicht so einfach, eine solche Nummer zu bestellen. Uns Entwicklern ist es oft nicht bewusst, dass nationale Regularien bestimmen, wer, unter welchen Voraussetzungen, überhaupt eine Telefonnummer erwerben darf. Viele Gesetzgeber bevorzugen diesen Weg, um Missbrauch und Spam vorzubeugen. Dabei sind manche Gesetzgeber strenger, andere sind lockerer und ermöglichen einen einfacheren Zugang zu Rufnummern. In diesem Artikel werde ich auf die lokalen Besonderheiten in Deutschland, Österreich und der Schweiz eingehen und auch einen Plan B vorstellen, falls dir die lokalen Besonderheiten, den Kauf einer bestimmten Telefonnummer nicht erlauben.

    Welche Arten von Rufnummern …

    Read More
  • By Kelley Robinson
    Build call forwarding with caller ID using Twilio Lookup TItle image: build call forwarding with caller id using Twilio Lookup

    Like most people these days, I don't answer my phone when I get a call from an unknown number. Unfortunately for me, phone calls are still an incredibly useful form of communication for many businesses. Fortunately for me, Twilio has useful products like Lookup to help determine whether an incoming call is from my dentist or if it's spam.

    This blog post will show you how to quickly launch a call forwarding service that sends you an SMS with Caller ID details when available (Caller name information is sourced through CNAM and currently only available for phone numbers owned by carriers in the US.) The service will send an SMS like the one below right before it forwards the call.

    Text message with incoming call message from Dr Dentist and carrier Twilio

    Best of all, there's no code required! You will deploy your …

    Read More
  • By Diane Phan
    How to Make a Mysterious Phone Call with Twilio Voice and Java How to make a mysterious phone call with Twilio Voice and Java

    I'm sure all of us have made prank calls at some point in our lives or wanted to use phones to create a tricky puzzle.

    With the help of Twilio and Java, you can surprise a friend with a mysterious phone call that plays your chosen sound file, without having to pick up your mobile device.

    In this article, you'll write a couple of lines of Java code to make an outbound call that plays a chosen sound file to any phone number, right from the command line.

    Tutorial requirements

    • A free or paid Twilio account. If you are new to Twilio get your free account now! (If you sign up through this link, Twilio will give you $10 credit when you upgrade.)
    • Some prior knowledge of Java or a willingness to learn.
    • A smartphone with active service, to test the project


    Start off by creating a …

    Read More
  • By Dan Bartlett
    Build an Interactive Serverless Voice and Messaging Application using Twilio and AWS Interactive Serverless Voice & SMS App AWS

    Because of the well-documented benefits of serverless computing (scalability, event-driven, cost, speed), I thought it would be helpful to show you how organizations could build serverless applications to leverage the power of cloud computing and Twilio's awesome APIs.

    This blog post will walk you through deploying a serverless application on AWS, and provisioning Voice and Messaging channels in Twilio to build a cloud application that can host a survey over either voice or messaging channels.

    Interactive serverless applications architecture

    First, let me show you what we’ll be building together. Here’s an overview of the architecture of our app:

    Interactive SMS and Voice Application with AWS Architecture

    Going left to right, end-users will interact with a voice call or an SMS conversation. Twilio Messaging and Twilio Programmable Voice are used to manage the voice and messaging channels. The AWS container includes the bulk of the functionality for this application. The enterprise can initiate these interactions from its internal systems. …

    Read More
  • By Niels Swimberghe
    How to create an inbound Phone Proxy without any code using TwiML Bins How to create an inbound Phone Proxy without any code using TwiML Bins

    You can quickly buy phone numbers from around the world using Twilio's Super Network. You can even specify area codes to buy a phone number that is local to a certain state, territory, or region. Combining that with Twilio Programmable Voice and Twilio Programmable SMS, you can quickly build a proxy phone number!

    A proxy phone number is a public phone number hiding your real phone number that you, ideally, would want to keep private. When the proxy phone number is dialed or receives an SMS, it will be forwarded to your private phone number.

    Why is this useful? Privacy; because:

    • You may not want to hand over your real phone number to marketeers, when signing up for services, etc. Instead, give out your proxy phone number and, if you desire, swap to a new proxy phone number as needed.
    • Maybe you are a streamer who takes …
    Read More
  • By Chris Gargotta
    How to use Twilio SMS and Voice with a .NET 6 Minimal API How to use Twilio SMS and Voice with NET 6 Min API.png

    With the release of .NET 6, ASP.NET Core introduced a new feature called Minimal APIs. Minimal APIs give you the ability to create HTTP APIs with minimal code. This is ideal for developers who want to build applications or microservices with the minimum amount of files and code possible. In this tutorial, you will learn how to build a Minimal API and use it with Twilio to respond to SMS messages and voice calls.


    You will need these items to follow along:

    You can find the source code for this tutorial on …

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.