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 Kyle Lawlor-Bagcal
    Build a Voice Conference Line with Twilio, Python and Flask Build a Voice Conference Line with Twilio, Python and Flask

    In this tutorial you will walk through the process of setting up a basic voice conference phone line using Twilio Programmable Voice, Python and Flask. By the end of this tutorial you will have a conference call room with a security PIN implemented, plus a demonstration of how to process events from the call in real time.

    The only prerequisite step you need to follow before you begin working on the tutorial is to have installed Python 3.6 or newer on your computer. The tutorial will walk you through setting up your Twilio account and preparing the Python virtual environment required to run and develop the application.

    Setting up your Twilio Account

    If you do not already have a Twilio account please follow these sections from the official Twilio guide. You only need to complete these sections for this tutorial:

    1. Sign up for your free Twilio trial
    2. Verify …
    Read More
  • By Miguel Grinberg
    Build a Phone Tree with Python, Twilio and a State Machine Build a Phone Tree with Python, Twilio and a State Machine

    The Twilio Programmable Voice service provides a complete line of features that allow you to implement phone trees or Interactive Voice Response (IVR) systems for your business or organization.

    In this tutorial you will learn how to create an extensible phone tree using Python, the Flask web framework, and the power and simplicity of a state machine. The phone tree that you are going to have by the end of this tutorial will match the following diagram:

    Phone tree diagram

    Tutorial Requirements

    Read More
  • By Luís Leão
    Encaminhamento de SMS e chamadas de voz para um número de telefone alternativo Encaminhamento de SMS e chamadas de voz para um número de telefone alternativo

    Encontrar um equilíbrio entre a privacidade e a conveniência pode ser uma tarefa complicada. Hoje, mostrarei a você como encaminhar mensagens e chamadas telefônicas com a Twilio para que possa fornecer um número de telefone por meio do qual as pessoas podem entrar em contato com você sem que seu número de telefone real seja revelado.

    Há motivos de sobra para você querer ocultar seu número de telefone real. Por exemplo:

    • Efetuar transações com pessoas desconhecidas na Internet, como compras/vendas na Craigslist.
    • Fornecer um número para entregadores entrarem em contato com você.
    • Colocar um número de telefone em seu cartão de visita.

    Pré-requisitos para criar um número de encaminhamento

    • Uma conta da Twilio (cadastre-se gratuitamente aqui).
    • Um número de telefone da Twilio com recursos de SMS e voz.
    • Um número de telefone para o qual você deseja encaminhar chamadas e mensagens. Para o restante desta publicação, o chamaremos de …
    Read More
  • By Quinn Hare
    SHAKEN/STIR – What do you need to do to ensure your calls get answered? SHAKEN/STIR Calls Answered

    In this post, we’ll go over what SHAKEN/STIR is, its importance, and how to get started.

    What is the problem that is being solved with SHAKEN/STIR?

    Consumers don’t answer the phone anymore because the public telephone network has been flooded by Spam and robocalls. This is making it harder than ever for businesses to engage with their customers. In 2019 alone, over 50 billion robocalls in the United States eroded trust in the telephone network and led to a drop in call answer rates from unidentified numbers! SHAKEN/STIR is here to combat this problem.

    What is SHAKEN/STIR?

    SHAKEN/STIR is a caller authentication framework meant to help restore trust by reducing fraudulent robocalls and illegal phone number spoofing. SHAKEN stands for Signature-based Handling of Asserted information using toKENs, and STIR stands for Secure Telephone Identity Revisited. They are standards developed by ATIS and the IETF respectively.

    Twilio Signing Policy

    In a …

    Read More
  • By Luís Leão
    Chatbot de voz existe? Como utilizar o DialogFlow para integrar serviços de voz e mensagem na mesma plataforma Chatbot de voz existe? Como utilizar o DialogFlow para integrar serviços de voz e mensagem na mesma plataforma

    Se você vai construir algum chatbot utilizando mensagens de texto, o DialogFlow já é a sua primeira opção, mas o que torna essa plataforma mais interessante é que ela pode ser conectada com múltiplos canais de comunicação, incluindo telefonia.

    Neste artigo vou abordar sobre como utilizar a integração de 1 clique do DialogFlow com a Twilio para que você possa receber chamadas telefônicas e respondê-las direto do seu assistente, como se fosse uma conversa de texto. Além disso, você vai aprender como funciona a integração e como você poderá customizá-la.

    Crie as contas nas plataformas

    Antes de começarmos, você vai precisar ter uma conta da Twilio e um projeto no DialogFlow.

    Criar a conta na Twilio é bem simples e você pode fazer isso clicando aqui. Uma vez com a conta criada, vá para o console do DialogFlow. Para a integração com 1 clique é necessário que você …

    Read More
  • By Diane Phan
    How to Transcribe a Voice Message Using Twilio, Python, and Flask transcribe a voice message using twilio and flask

    In this tutorial you’ll leverage Twilio Programmable Voice to receive phone calls at your Twilio phone number, and transcribe any voice messages left by the caller. This guide can be used as a foundation to build your own voicemail system.

    Prerequisites

    To get started with this tutorial, you’ll need the following:

    Project setup

    In this section you are going to set up a brand new Flask project. To keep things nicely organized, open a terminal or command prompt, find a suitable place and create a new directory where the project you are about to create will live:

    mkdir python-flask-transcription 
    cd python-flask-transcription
    

    Create a virtual environment

    Following Python best practices, you are now going to create a virtual environment, where you are …

    Read More
  • By Miguel Grinberg
    Transcribe a Voice Message with Python and Django Transcribe a Voice Message with Python and Django

    In this tutorial you’ll leverage Twilio Programmable Voice to direct phone calls received at your Twilio phone number to a Django application. The caller will be asked to leave a message, which will be transcribed. This guide can be used as a foundation to build your own voicemail system.

    Tutorial requirements

    To get started with this tutorial, you’ll need the following:

    • 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 free Twilio account (sign up with this link and get $10 in free credit when you upgrade to a paid account)
    • A Twilio phone number
    • An active phone line from where you can call your Twilio number, to test the project.

    Project setup

    In this section you are going to set up a brand new Django project. To keep things nicely organized, open a …

    Read More
  • By Carlos Mucuho
    Make and Receive Phone Calls from the Browser with Twilio Programmable Voice, Python and JavaScript Make and Receive Phone Calls from the Browser with Twilio Programmable Voice, Python and JavaScript

    In this tutorial, we are going to write an application that uses the Twilio Programmable Voice API to make and receive phone calls from a web browser. We will also implement a UI that allows us to make, accept, and reject phone calls.

    By the end of this tutorial we will have an application that looks like the following:

    Project demo

    Tutorial requirements

    To follow this tutorial you are going to need the following components:

    • A free or paid Twilio account. If you are new to Twilio create a free account now. If you create your account using this link and later upgrade to a paid account, you will receive $10 in credit.
    • A Twilio phone number capable of making and receiving phone calls. Get one now if you don’t have it.
    • Python 3.6+ installed.
    • ngrok installed. ngrok is a reverse proxy service that creates a secure tunnel from a public endpoint …
    Read More
  • By Diane Phan
    How to Make a Phone Call Using Node.js and Twilio Programmable Voice phonecallnode

    Twilio Programmable Voice allows you to make and receive voice calls in your software application. In this tutorial, you’ll see a demonstration of how to use Programmable Voice to make a voice call directly from a Node.js app.

    Prerequisites

    • A free Twilio account (register here and receive $10 in Twilio credit!)
    • Node.js installed on your machine
    • A phone that can make phone calls, to test the project

    Set up your environment

    In this section you are going to set up a brand new Node.js project. To keep things nicely organized, open a terminal or command prompt, find a suitable place and create a new directory where the project you are about to create will live:

    mkdir nodejs-phone-call
    cd nodejs-phone-call
    

    Install the Twilio Node Helper Library from your command line with the following:

    npm install twilio 
    

    Configure Twilio credentials

    To be able to access the Twilio service, your Node.js application …

    Read More
  • By Ashley Boucher
    How to Receive a Phone Call in Node.js with Twilio Functions How to Receive a Phone Call in Node.js with Twilio Functions

    Twilio Voice is an easy and highly customizable service that allows you to automate your telephone workflows. In this tutorial you are going to learn how to create a Node.js application, powered by Twilio Functions, in order to receive phone calls on your Twilio number.

    Prerequisites

    To follow this tutorial you need the following items:

    Project setup

    In this section you are going to set up a new Twilio Functions service. Twilio Functions is a serverless environment that lets you deploy backend services without the overhead of setting up a server.

    If you …

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