Build the future of communications.
Start Building for Free

Voice posts

  • By David Dooley
    Implement a UI Dialpad for the JavaScript Programmable Voice Quickstart UI Dialpad JavaScript Voice QS Hero

    Ahoy there! Have you explored the Twilio Voice SDK JavaScript Quickstart? Are you now ready to learn how to use your SDK-powered app to interact with an Interactive Voice Response (IVR)? That is exactly what this blog post will cover – and by the end of it, you should be able to dial a number using your cursor, or interact with an automated IVR you have setup.

    Solution: a UI dialpad for the Twilio JS Voice Quickstart

    Our Quickstart does not contain a UI dialpad out of the box, nor does our SDK. The purpose of our Quickstart app is to familiarize yourself with placing and receiving calls via your web browser, and to give you a taste of what you can achieve using our SDK. Although the Quickstart wasn’t built to be a full production application, I will run through how you can change the UI …

    Read More
  • By Angela Wieber
    Voice Biometrics Using Twilio Serverless and VoiceIt Voice Biometrics

    Biometrics technology is frequently used for authentication and identification purposes across industries, including financial services, healthcare, and the humanitarian sector. Integrating biometrics into development and humanitarian assistance programs can help to identify the people targeted for assistance, reduce fraud and de-duplication, and simplify registration and identification.

    The World Food Programme uses biometrics to make sure that the right assistance reaches the right people. Vodacom Tanzania uses voice biometrics to enable people with disabilities to access their products and services more easily. Chase Bank uses Voice ID to identify callers accessing personal bank account information. Another interesting fact about voice biometrics is that if compromised, they can be invalidated by enrolling a new phrase. If your face, fingerprint, or iris data is hacked you cannot invalidate the data, and your identity is lost forever. It's complicated, however – we recognize that the use of biometrics has pros and cons, and it's …

    Read More
  • By David Dooley
    Common Twilio Programmable Voice SDK Error Codes and Debugging Help Common Voice SDK Errors Header

    Ahoy Builders! When you decide to start building Programmable Voice applications on top of Twilio’s SDKs and begin playing with your own ideas and use cases, there are some more common error codes which I would like to bring to your attention. You will not necessarily encounter all of them, but when developing your application there are various factors at play so being familiar with some of the more common error codes we see in Twilio support, could do you no harm.

    In this post, I’ll cover some common Twilio Programmable Voice error codes. We’ll look at the error number, a brief description of the issue, and some hints about how to fix the issue. Then we’ll discuss logging levels and debugging in your application, and how to contact us for more support. Let’s dive in!

    Twilio Voice apps: common error codes

    Error 52134

    More info on Error 52134 …

    Read More
  • By David Dooley
    Twilio Programmable Voice JavaScript Quickstart Demo Application with Node Programmable Voice Quickstart Walkthrough Node Hero

    Ahoy builders! So, you have created a Twilio account and you now want to get started with calling your clients via your browser, great stuff! That’s where the Twilio Voice SDK comes into play.

    But, you may ask, what is an SDK?

    An SDK is known as a Software Development Kit which is a fancy term for a collection of libraries and code which you can build on to. Rather than wasting valuable time writing code to connect to Twilio, handle phone calls, create tokens, etc., you can download and deploy our SDK to hit the ground running. This allows you to focus on the more important aspects of your application such as the GUI and your customer experience leaving the complex HTTP negotiation to Twilio. How great is that?

    Twilio supports the addition of Programmable Voice to your web and mobile apps on the following platforms:

    Read More
  • By Niels Swimberghe
    Announcing the Webhook Plugin: Validate your webhooks with the new webhook plugin for the Twilio CLI Announcing the Webhook Plugin. Validate our webhooks with the new webhook plugin for the Twilio CLI

    At Twilio, we heavily use webhooks throughout all of our products, but developing and testing webhooks comes with some challenges. First, you need to make your application running on localhost public, then you have to configure the webhook with your public URL, and then you have to trigger those webhooks by manually texting or calling your Twilio Phone Number. This can be cumbersome and slows down your inner devloop.

    To address these challenges, Twilio Labs created the Webhook plugin for the Twilio CLI, to test your webhooks with the following benefits:

    • works with locally and publicly hosted applications,
    • works with Twilio Functions, Twilio Studio, TwiML Bins, and custom developed applications,
    • no need to configure the webhook URL in Twilio,
    • you don't have to text or call to trigger the webhook, so you're not spending time or Twilio credit.

    The webhook plugin will emulate Twilio webhook requests …

    Read More
  • By Dhruv Patel
    Build a Song Identifier Phone Service with Twilio Voice and JavaScript Song identifier phone service header

    We’ve all had moments where we’ve listened to a song, but just couldn’t remember the name of it or it was on the tip of our tongues. In times like these, Shazam is the way to go; open up the app, have it listen to some audio and it’ll immediately output the song title and artist.

    When Shazam first launched, it was initially a phone service only in the UK where you dialed “2580” to identify a song. Once you called the number, you would hold your phone near the audio and it would then hang up after 30 seconds while sending you an SMS of the song title and artist.

    After finding out about their “2580” service, the inner engineer in me came out. I was curious to see how this can be built with Twilio Programmable Voice and SMS so I challenged myself to create a clone of …

    Read More
  • By Niels Swimberghe
    How to generate TwiML using Strings in C# Generate TwiML using Strings in C#

    Over the decades, C# has added different ways to create a string, each with their own benefit. In this tutorial, you'll learn how to generate TwiML using the different C# string features with an ASP.NET Core Minimal API and compare it to the object oriented way of generating TwiML.

    But first, let's get you up to speed on how Twilio uses webhooks and TwiML to respond to text messages and voice calls.


    Here’s what you will need to follow along:

    Read More
  • By Niels Swimberghe
    Use Raw String Literals to generate TwiML in C# 11 Use Raw String Literals to generate TwiML in C# 11

    Over the decades, C# added different ways to create a string, each with their own benefit, and C# 11 is adding another way: Raw String Literals. There are many use cases for Raw String Literals, and one of those use cases is to generate TwiML, but more on that later. In this tutorial, you'll learn how to generate TwiML with Raw String Literals with an ASP.NET Core Minimal API.


    Here’s what you will need to follow along:

    Read More
  • By Ramón Ulldemolins
    Twilio Voiceの通話録音のデフォルト動作モードがデュアルチャネルに.. VoiceRecDualChanDefaultJP

    この記事はRamón Ulldemolinsこちらで公開した記事(英語)を日本語化したものです。

    Twilio Voiceサービスの通話録音に関する機能強化のお知らせです。Twilioクラウドに記録・保存される通話録音の音声ファイルが、追加費用なし、デフォルトでデュアルチャネルとなります。新規アカウントについては本日より開始し、すべてのアカウントに対して順次展開していきます。(日本語編集上の補足: 「本日」とは、ブログ記事(英語オリジナル)が発行された2022年5月下旬を指します。)


    このリリースの一環として、デュアルチャネルでの通話録音はモノラルチャネルの通話録音(+ストレージ)と同額になりました。Twilio Voiceサービスのすべてのお客様にデュアルチャネル録音によるメリットを享受いただきたいためです。


    通話録音は、多くの場合、顧客ジャーニーと満足度の把握、証跡の収集(コンプライアンス)、改善すべき領域の特定の …

    Read More
  • By Des Hartman
    Migrate from Twilio Elastic SIP to Programmable Voice Migrate from Twilio Elastic SIP to Programmable Voice

    Why migrate to Programmable Voice?

    Twilio’s Elastic SIP Trunking service automatically scales, up or down, to meet your traffic needs with unlimited capacity. Moving to Twilio’s Programmable Voice builds on the same underlying infrastructure, but gives you the power of building voice experiences with software control. With Programmable Voice you get the ability to build features such as IVRs, AI chat bots, near real-time voice transcription, Agent Assisted Payments, etc. Intelligently handling calls to increase deflection through self-service, before routing your calls to your existing SIP (Session Initiation Protocol) trunks, if you want to keep your existing SIP destinations makes your existing investments work even harder for you.


    • Existing Elastic SIP trunks
    • Working knowledge of how Elastic SIP Trunking is configured. If not, there's a great guide to learn more here
    • Access to the Twilio account with Elastic SIP trunk to be migrated
    • Working knowledge of Twilio …
    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.