Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free

"voice" posts

  • By Aymen Naim
    Announcing Twilio Voice & Video Javascript SDKs Support for Microsoft Edge Browser Announcing Twilio Voice & Video Javascript SDKs Support for Microsoft  Edge Browser


    We are excited to announce Twilio Voice & Video Javascript SDKs now support Microsoft’s new Chromium based Edge Browser aka Edgium. Now, your application can run on Microsoft’s latest incarnation of its Edge browser without you changing any of your existing Twilio Voice or Video[1] Javascript SDK code.

    The new Microsoft Edge is built on the Chromium open source project which also powers Google’s Chrome browser. With Microsoft adopting Chromium, developers will benefit from spending less time on interoperability because of seamless webrtc integration with other popular browsers including, Chrome, Firefox, and Safari, and has reduced the potential for security related issues.

    We put the browser through hundreds of automated tests and verified all our internal apps work as expected. Furthermore, Microsoft Edge performed just as well as Google’s Chrome browser, using a similar amount of RAM and CPU.

    At Twilio, our priority is to support the most popular …

    Read More
  • By Miguel Grinberg
    Phone Verification with Twilio For Python Developers Phone Verification with Twilio for Python Developers

    Twilio Verify is a service that allows you to add phone verification to your applications. If you’re curious about the benefits of verifying your users, consider the following two use cases:

    • Reduce fake accounts - If you ask users to provide a valid phone number while they create an account, they will be less likely to create phony or duplicate accounts.
    • Two-factor authentication - Sending a verification code to your users when they sign-in can help protect their accounts if their credentials are compromised.

    In this tutorial, we’ll learn how to work with the Twilio Verify API in Python. Since this is such a simple API, we will be doing all the work from a Python shell!

    Tutorial Requirements

    To follow this tutorial you need the following items:

    • Python 3.5 or newer. If your operating system does not provide a Python 3.5+ interpreter, you can go to python.org to download …
    Read More
  • By Annie Benitez Pelaez
    Announcing Country specific Guidelines for placing Voice calls around the globe image (1).png

    Today, we’re excited to introduce global Voice Country Guidelines. It’s an online resource that spells out the different rules and best practices for placing Voice calls around the world. It’s available today on our website.

    While placing a Voice call to someone in another country seems pretty straightforward, navigating the intricacies of Voice calling in any given country around the globe is actually quite tricky. 

    For starters, different countries and carriers have different definitions of what acceptable traffic profiles are.  For example, the percentage of short duration calls is one key indicator of SPAM or Fraudulent calling for many carriers. Carriers in the United States might consider a short duration call to be one that lasts less than 12 seconds, whilst in China many Carriers consider them short if they last less than 3 minutes! 

    It's also very important to understand Voice calling feature support in each Country where …

    Read More
  • By Corey Weathers
    Making Phone Calls with Twilio & Blazor Header Image.png

    It's an exciting time to be a .NET developer as .NET Core 3.0 has reached general availability. With this release comes Blazor, Microsoft's take on building web applications using WebAssembly and the technologies you already know and love such as HTML, CSS, and C#. I published a prior blog post when Blazor was still in active development. It's time to join the release party and share our excitement about Blazor with Twilio and C#.

    The first thing you should do when a new product gets announced is tell your friends, right - but what if we phoned them with a special note sharing our excitement? Let's build a web application that does exactly that - it uses Twilio to phone a friend, and is powered by Blazor.

    Installing Our Developer Tools

    Now in order to follow along - you'll need a few things first. You'll want to grab …

    Read More
  • By Ugendu Ositadinma
    How to Initiate a Voice Call from Laravel PHP with Twilio Programmable Voice Initiate a Voice Call from Laravel PHP with Twilio Programmable Voice.png

    In this tutorial, we will be creating a Laravel application that will be used to make outbound voice calls. We will be making use of Twilio's Programmable Voice feature to learn how to initiate voice calls.

    Technical Requirements

    Completing this tutorial will require the following dependencies and a basic understanding of them.

    1. PHP (Version 7.1 or higher).
    2. Composer.
    3. Laravel.
    4. A Twilio Account.

    Before we proceed with this tutorial, it is expected that you have a voice-enabled Twilio number. In case you do not have one, please proceed to purchase one here. This number will be used for the "from" number later in this tutorial.

    Setting Up Your Development Environment

    Let's install a new Laravel project via the Composer create-project command. From your terminal, run the following command:

    $ composer create-project --prefer-dist laravel/laravel twilio-voice

    This will create a Laravel project for us in the twilio-voice directory.

    Our …

    Read More
  • By Twilio
    Important Change to the Twilio Phone Number Provisioning API Important Changes to the Twilio Phone Number Provisioning API

    Regulatory Compliance (RC) requirements for phone numbers have increased worldwide. We have been working with regulators to ensure that phone numbers you provision are in compliance with all applicable laws and regulations. As part of this engagement, we made an important change to the Twilio Phone Number Provisioning API.

    You should have received email communications about this change if you use this API for phone numbers outside the US and Canada. To reiterate:

    Starting September 10, 2019, the Phone Number Provisioning API will require you to provide an address for any new regulated number you provision. If you don’t include a valid address, you will receive error code 21631.

    You can find address requirements for the country where you are provisioning numbers on our Phone Number Regulations page.

    What’s Changing with the Twilio Phone Number Provisioning API?

    Previously, address requirements were not enforced through the API. You …

    Read More
  • By Paul Kamp
    The Developer's Guide to Phone Number Regulatory Compliance qMvMl-7km51ZMwhLfA9kzW7AuNTyFppuGJKF6KKCyEO9dww1zxhJx63sQtynlA-KcCmabxeF6CUXASv_llpD4QXQbcOQGAJ7XqhI_yzpb7HXAtbHgIXN1yGLCUkh7GdYQ7qocnay

    Regulatory compliance (RC) requirements for phone number users have increased worldwide. Depending on the phone number and its features, your or your company's status in the country, and your intentions for the number, different laws and regulations apply while building Voice, Fax, or SMS-based applications.

    While some of these regulations are new, many of these laws and rules have been in effect for some time. Countries are increasing enforcement for many reasons – including fraud, incidents of misuse and abuse and heightened national security concerns.

    All your Twilio phone numbers on Twilio’s platform need to comply with individual country requirements or they are at risk of being suspended until you submit proper RC information.

    Read on for what you need to know to bring an existing communications application into compliance or before starting a new application.

    Here's a video overview explaining what's happening:

    You can find the regulatory …

    Read More
  • By Aymen Naim
    Announcing General Availability of Twilio’s Programmable Voice Mobile SDKs 3.0 Programmable Voice iOS SDK

    With Twilio’s Programmable Voice SDKs for iOS and Android, you can easily build engaging and high quality voice calling experiences into your Apps. Whether it is calling a phone number (PSTN), another App user (VoIP), or your contact center, you can bring a contextual and secure calling experience to your users directly from your App.

    We are thrilled to announce that our latest version of Programmable Voice Mobile SDKs, 3.0, is now generally available. With 3.0, you can make your customer call experiences even more engaging: with improved audio quality, increased efficiency, and contextual calling. This release includes features such as support for Opus codec, call control functions, and custom parameters.

    We will walk you through the advantages of using Mobile VoIP with some common use cases, what new features rolled out with 3.0, and explain how to get started and/or migrate to Twilio Programmable Voice SDKs 3.0.

    Eager to …

    Read More
  • By Alan Klein
    A Step-by-Step Guide to Set Up Twilio Elastic SIP Trunking Copy of Generic Blog Header 2-3.png

    In my last blog post, Registering a SIP Phone Directly to Twilio (and so much more...), we set up a Twilio Programmable Voice SIP Domain and registered our SIP softphones directly to Twilio. This let us place and receive calls to the Public Switched Telephone Network (PSTN) but more importantly, set up the foundation for building creative applications which intelligently route calls using dynamically returned Twilio Markup Language (TwiML).

    In this post we’ll provide a step-by-step approach to connect your SIP element – IP-PBX, SIP-PRI IAD, SBC, etc. – to Twilio’s Elastic SIP Trunking product. By the end of this post, you’ll have your existing communications infrastructure connected through Twilio and ready to layer on a number of Twilio’s other features.

    At its most basic level, Twilio Elastic SIP trunking provides dynamic trunking capacity to place and receive pay-as-you-go phone calls through Twilio. Twilio’s network …

    Read More
  • By Michael Jaroya
    Save Voicemails to Dropbox with Twilio Voice API, PHP, and Laravel Save Voicemails to Dropbox with Twilio Voice API and Laravel.png

    There are a number of ways to record calls with Twilio. Whichever method you decide to use, it is very important to keep the storage space used below the chargeable limit to prevent added cost. To achieve this, you need to backup up and delete your voice recording occasionally. Storage over 10,000 minutes per project is billed by the minute, once a month.

    In this tutorial, we are going to discuss how to automate recordings management with recording status callback, download recordings programmatically via the REST API, save the recordings in Dropbox and finally delete the recordings programmatically via the REST API.


    You will need the following technologies and tools:

    To follow along, you should have a basic understanding of PHP. Knowledge of the Laravel framework is not required. You can choose to use any other …

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