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 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.

    Prerequisites

    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
  • By Jarod Reyes
    Hacking Twilio Client to Play Videos Over the Phone Video over phone

    How can I play a Youtube video over WebRTC?
    Is there a way to play dynamic audio over a Twilio Voice call?

    Many people have asked about playing dynamic audio over the phone using Twilio. And while TwiML does allow you to create dynamic templates based on user input, it doesn’t help me if I want to start and stop audio or play a video over the phone. I could imagine some enterprising person using these powers to prank the robocallers, spammers and even the occasional pesky family member. In this post, we are going to look at one quick way to inject any MediaStream into a phone call using the WebRTC-based Twilio Client SDK.

    Prerequisite: This post starts off at the very end of the Twilio Client quickstart, so if you haven’t completed that it is recommended you do so now. Of course, these concepts could be …

    Read More
  • By Victor Abbah
    How to Implement Account Verification and Login by Phone in Laravel Implement Account Verification and Login by Phone in Laravel.png

    At times, you might want to create an app that uses a phone number/password pair as a means of authentication, as opposed to the normal email/password pair. In some other cases, you are not necessarily using phone numbers as a means of authentication, but having a phone number is critical to your app. In such situations, it is very important you verify that the phone numbers your users provide are valid and functional. One way to do this is to give them a call and tell them a code that they will have to provide to your app. If you use Gmail, then you are probably familiar with the voice call verification it uses. In this article, I will be showing you how to achieve that using Laravel and Twilio’s excellent service. Let’s get to it.

    Technical Requirements

    For this tutorial we’ll assume the following:

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