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 Daizen Ikehara
    Programmable VoiceとAITalkのWeb APIを使って表現力豊かな自動音声で着信電話に応答してみた Prog Voice with AITalk

    Twilioが提供するProgrammable Voiceを利用すると、電話の自動応答や発信をアプリケーションから制御することができます。 着信に応答する場合は、Twimlと呼ばれるマークアップ言語を用いることで、応答する言語や音声を設定することができます。 またこのProgrammable Voiceでは、2018年から標準の音声合成エンジン以外にもAmazon Pollyが使えるようになりました。

    Amazon Pollyの合成音声は標準の合成音声に比べてとても滑らかなのですが、他の音声をリアルタイムで利用したいという声もよくいただきます。今回は株式会社エーアイ様が提供する日本語に特化した音声合成サービス、AITalk® Web API(以下 AITalk Web API)と連携してみました。

    AITalk Web APIは 感情表現や自然な音声、豊富な話者ラインナップを提供する音声合成エンジンAITalkをSaaS型で利用できるサービスです。サーバーを自前で構築する必要がないため、他のSaaSやクラウドサービスと素早く連携できます。これまでは評価版の申し込みから利用開始まで少し時間がかかっていましたが、最近、Webから評価用アカウントを即時取得し利用できるようになりました。


    • Node.jsおよびnpm
    • AITalk Web API評価アカウント
    • TwilioアカウントとTwilio電話番号


    GitHub - Neri78: Twilio-Voice-AiTalk …

    Read More
  • By Toby Allen
    Working around PSTN congestion with Twilio Client Working around PSTN congestion with Twilio Client

    In these unprecedented times of social distancing and a virus pandemic, we are seeing a huge increase in the number of voice calls being made. Our Supernetwork team is working around the clock to ensure that calls make it through. However, in some areas, we are seeing that lines from carriers are so congested that the calls are never reaching Twilio. Here in this tutorial, we will outline some options to bypass the congestion on the PSTN by using Twilio Client.

    Twilio Client is a WebRTC based voice client that works in browsers and mobile devices using a data connection. Once a client call is connected to Twilio it can be routed directly to your existing infrastructure via SIP or uncongested PSTN paths allowing calls to continue to flow.

    The Idea

    Currently, your customers and staff may be struggling to connect to your contact centers or business-critical services because …

    Read More
  • By Tilde Thurium
    How to build a conference line with Twilio Studio How to build a conference call line with Twilio Studio

    Twilio Studio is a visual application builder that allows you to write conditional logic for handling messaging flows without writing any code. In this post I’ll walk you through how to build a conference call line using Twilio Studio.


    Creating your Studio Flow for conference calling

    Head over to the Studio Dashboard. Click the “+” button to create a new Flow.

    You’ll be prompted to give it a name. Let’s call it “conference call.”

    Screenshot of the dialog box for creating a new Studio Flow. There's a "Flow Name" input field, that has the text "conference call" in it, as well as Cancel and Next buttons.

    On the next screen select “start from scratch” and …

    Read More
  • By Al Kiramoto
    Create a Simple Notification System using Twilio CLI, Programmable Voice, and Programmable Messaging Messaging Contacts Notifications

    If you find yourself needing to broadcast urgent news to your customers or employees, but do not have a notification system in place, this tutorial is for you. In this blog post we'll show you how to create a bash script to quickly send SMS messages or Voice message notifications to several recipients in a CSV.


    To get started with the project you will need the following:

    Setting up the Twilio CLI

    If you haven’t already done so, go to twilio.com and sign up for a free account or log in to your existing account. Take note of your Account SID and Auth Token as you will need them to login via the CLI in the following steps.

    Twilio CLI is …

    Read More
  • By Al Kiramoto
    Quickly Enable Your Employees to Work from Home Using Twilio Programmable Voice Enable employees to work from h ome

    If your PBX solution does not natively allow for remote working and you need to act fast, this solution is for you. This tutorial shows you how to create a solution with Twilio Programmable Voice and softphone software that enables employees to work from their homes.

    Configure the Programmable Voice SIP Endpoint

    You can forward incoming calls to Twilio numbers registered to SIP endpoints, and use a free softphone as an endpoint while working from home, as shown below:

    Flow for how employees can work from home using Twilio

    To get started with the project you will need the following:

    • A Twilio account. Sign up for a free trial account and get a $10 credit.
    • A call-enabled Twilio Phone Number.
    • SIP endpoint (IP Phones (e.g. Obihai) or Softphones (e.g. Zoiper or X-Lite)).

    Create the application

    Go to twilio.com and sign up for a free account or log in to your existing account.

    If you don't currently own a Twilio …

    Read More
  • By David Fundakowski
    Routing Incoming Phone Calls with Twilio Programmable Voice, Python and Django Routing Incoming Phone Calls with Twilio Programmable Voice, Python and Django

    Call routing is an incredibly powerful tool for managing inbound calls, whether it be for personal or professional use. A person can route a call from VIP clients to a specific number, a call from their mother to a personal cell phone, and play a joke audio clip for their best friend when they call. This is the power of Twilio Programmable Voice.

    In this tutorial, you will be setting up a Django project using virtual environments, creating a free Twilio account, provisioning a phone number, and finally, routing inbound calls based on the caller, to do things like play a recording, use text-to-speech to speak something, or forward the call to a personal cell phone.

    By the end of this tutorial, you will be able to:

    • Set up a free Twilio account
    • Identify inbound calling numbers using Twilio Programmable Voice in a Django app
    • Answer phone calls using TwiML …
    Read More
  • By Nader Attar
    Twilio Sydney Interconnect Exchange is Live with Continued Expansion in APAC image (6).png

    Private connections guarantee quality, security, and network performance. For businesses looking for these factors, Twilio’s Interconnect is the answer. Interconnect was built for the customers who need quality of service and secure network performance. Twilio is committed to expanding our global coverage of private network connectivity locations, providing our customers with better call quality options around the world.

    A few months ago we launched a new Interconnect Exchange in Europe. We are taking that momentum and expanding into other regions like the Asia Pacific.

    Now, we are excited to announce the expansion of Interconnect exchange in APAC with the addition of a new location in Sydney, Australia, AU1. The new exchange provides customers with connectivity via cross-connect, VPN, Bring-Your-Own-MPLS, and the Equinix Cloud Exchange with initial product support for Elastic SIP Trunking, SIP Interface, and Voice WebRTC.

    Twilio Interconnect Benefits

    If voice quality is mission-critical to your business, Interconnect …

    Read More
  • By Haki Benita
    Building an Interactive Voice Response (IVR) System with Python, Django and Twilio Building an Interactive Voice Response (IVR) System with Python, Django and Twilio

    IVR stands for Interactive Voice Response system. It's a way for you to communicate with your users over the phone. IVR is operated by voice and by the DTMF tones that phones produce when pressing keys on the keypad.

    Just like your web site, mobile app or chatbot, IVR is another way for you to interact with your users. IVR holds a unique set of features that makes it ideal under some circumstances:

    • Visual impairments: Users that rely on screen readers to navigate websites and mobile apps are used to interact with voice based interfaces.
    • No Internet access: Users in remote areas or in places where an Internet connection is not constantly available or very expensive.
    • Technologically challenged: Users that have trouble dealing with websites and apps, like the elderly, often find IVR much easier to operate.
    • No access to smartphones or a computer: Users that …
    Read More
  • 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
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.