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.
You can learn more about the dev phone and how to use it …
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 …
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.
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 …
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.
To work on this tutorial, you will need:
- Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
- A Twilio account. If you are new to Twilio, click here to create a free account now and receive $10 credit when you upgrade to a paid account. You can review the features and limitations of …
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 …
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.
Anyone else google a number instead of answering the phone? 🙈— Emily Knott (@em_knott) September 16, 2018
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.
Best of all, there's no code required! You will deploy your …
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.
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.
- 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 …
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:
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. …
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 …
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:
- OS that supports .NET (Windows/Mac/Linux)
- .NET 6 SDK
- A code editor or IDE (Recommended: VS Code with C# Plugin , Visual Studio , or JetBrains Rider)
- A free Twilio account (If you register here, you’ll receive $10 in Twilio credit when you upgrade to a paid account!)
- Install Ngrok
- Web Browser of your choice.
You can find the source code for this tutorial on …