Twilioが提供するProgrammable Voiceを利用すると、電話の自動応答や発信をアプリケーションから制御することができます。 着信に応答する場合は、Twimlと呼ばれるマークアップ言語を用いることで、応答する言語や音声を設定することができます。 またこのProgrammable Voiceでは、2018年から標準の音声合成エンジン以外にもAmazon Pollyが使えるようになりました。
Amazon Pollyの合成音声は標準の合成音声に比べてとても滑らかなのですが、他の音声をリアルタイムで利用したいという声もよくいただきます。今回は株式会社エーアイ様が提供する日本語に特化した音声合成サービス、AITalk® Web API（以下 AITalk Web API）と連携してみました。
AITalk Web APIは 感情表現や自然な音声、豊富な話者ラインナップを提供する音声合成エンジンAITalkをSaaS型で利用できるサービスです。サーバーを自前で構築する必要がないため、他のSaaSやクラウドサービスと素早く連携できます。これまでは評価版の申し込みから利用開始まで少し時間がかかっていましたが、最近、Webから評価用アカウントを即時取得し利用できるようになりました。
- AITalk Web API評価アカウント
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.
Currently, your customers and staff may be struggling to connect to your contact centers or business-critical services because …
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.
- A Twilio account - sign up for a free one here
- Buy a Twilio phone number with voice capabilities
- Optionally, you can check out the docs for Twilio Studio if you're unfamiliar with the product
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.”
On the next screen select “start from scratch” and …
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:
- A Twilio account (Sign up for a free trial account and get a $10 credit)
- Homebrew (for Mac users) or Node.js (for Windows users) to install Twilio CLI
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 …
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:
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 …
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 …
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 …
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 …
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 …
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!
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 …