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
  • By Alan Klein
    Automate Flow Deployments with the Studio REST API v2, Now Generally Available Studio REST API v2 Hero

    Twilio Studio has enabled thousands of developers to quickly build and deploy complex communication workflows and scale effortlessly on Twilio Runtime, our Serverless environment. Today Studio has made publishing and deployment of Flows even more powerful.

    We are pleased to announce the general availability of Studio REST API v2, providing full support for publishing of Flows via the REST API, Twilio’s helper libraries, and the Twilio CLI.

    Studio flows and automated deployments

    A Studio flow is created using functional widgets with a drag and drop graphical user interface. Builders and developers alike have used the simple interface to create impressively powerful no-code and low-code workflows based on their specific needs.

    How Chime used Twilio Studio to help deliver a seamless customer service experience.

    As Studio evolved, customers began asking for ways to programmatically create, read, update, and delete flows. Behind the Studio graphical user interface, flows …

    Read More
  • By Alan Klein
    Building SHAKEN/STIR verification Into Your Voice CAPTCHA IVR Studio SHAKEN/STIR IVR

    There is a lot of progress being made in the battle against spam and robocallers. But – one of the techniques spammers still abuse is CallerID, known as CallerID spoofing. CallerID spoofing falsifies where the call originates on the public telephone network allowing the fraudster to impersonate identities – and vulnerable victims like you and me answer the phone.

    Currently in beta, Twilio announced Programmable Voice and Elastic SIP Trunking now perform SHAKEN/STIR verification on all incoming calls in the United States to your Twilio local phone numbers when a SHAKEN/STIR identity header is present. The percentage of calls with the identity header will continue to rise over the coming year. You can read more about the technical implementation details under How to make trusted calls and protect against unlawful spoofing using SHAKEN/STIR.

    Don’t miss Twilion Tim Beyers’s upcoming talk at SIGNAL 2020 on SHAKEN/STIR.

    There’s still time …

    Read More
  • By Alan Klein
    Gracefully Handle Long Running Asynchronous Operations in Twilio Studio Studio Async Long Running

    As part of a customized interactive IVR experience built on top of Twilio, you often need to fetch data from external APIs. Sometimes, it may take that API more than ten seconds to respond to a request. Ten seconds is the maximum time the Studio HTTP Request Widget and Run Function Widget synchronously waits for a response. What then?

    In this post, I’ll show you how you can architect a solution that will extend Studio’s response times beyond 10 seconds. We also use a Twilio conference with music on hold, to avoid extended periods of silence during these requests.

    Prerequisites

    In order to follow this tutorial, you will need:

    • Ngrok, the localhost tunneling tool, to allow you to run Express locally from your laptop for testing and development
    • Node.js
    • Sample Code
    • Express
    • A Twilio account and active number. If you don’t have an account, go ahead and create one …
    Read More
  • By Alan Klein
    Outsmart Voice Mail with Human Detection Using Keypress Prompts Human Detection Keypress

    One of the challenges of programmatically connecting parties over the phone is accounting for voice mail. From the perspective of the underlying telephony network, a human answering a call looks identical to an automated answering machine.

    Twilio provides Answering Machine Detection (AMD) that can be enabled when placing an outbound-api call via the /Calls resource. However, when connecting to a party using the Studio Connect Call To widget (or TwiML Dial), we must use an alternative approach called "Human Detection".

    Human Detection requires the answering party to positively acknowledge the call by pressing any button – something voicemail cannot do. In this post, we will use Human Detection, to make sure voicemail remains on Twilio rather than inadvertently being left on the end-users device.

    Where might you need Human Detection?

    In my last post, Build Voice Mail with SMS and Email Notifications Using Twilio Studio, Functions, and SendGrid, …

    Read More
  • By Alan Klein
    Build Voice Mail with SMS and Email Notifications Using Twilio Studio, Functions, and SendGrid Studio Functions Voicemail

    I am a big fan of serverless Twilio Studio and Twilio Functions because of their flexibility.

    Studio provides you a canvas, letting you drag and drop communications flows into place – how perfect is that? And Functions lets you run Node.js without worrying about setting up a server or hosting.

    One common telephony requirement we see is the need to build out voicemail, should a dialed party be unable to answer the call. Often, you can improve the system by forwarding any recordings over email or SMS. So, let’s get our Bob Ross on and walk through building a solution!

    Prerequisites

    In order to follow this tutorial, you will need:

    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 Alan Klein
    Registering a SIP Phone Directly to Twilio (and so much more...) Sl2wfrJ5aA9RwXwPmthRlZdT9FnZmsiEAYFdlVUQ5C8KQfEWVaHhxkipFOx_DwRAwEBVlcKcLvmUOrJrzO8aZW5WsjOfKvBh54q7Oh50m2cLpIxYRbxXoFsULFNNCP3b5nWxrnW2

    Twilio Programmable Voice SIP Domains, sometimes referred to as SIP Interfaces, allow you to place and receive voice calls using a standards based SIP endpoint by registering directly with Twilio.

    Along with the ability to register directly with Twilio, you have the flexibility to choose the termination transport. This may include the traditional public switched telephone network (PSTN), another registered SIP device (often referred to as a SIP user agent [UA]), or even a Twilio Programmable Voice SDK endpoint. Connect all the things, indeed!

    In this blog post we will:

    • Register a SIP phone directly to Twilio
    • Place and receive calls from a registered SIP phone
    • Cover recommended design approaches
    • Provide two different methods for delivering SIP Domain phone calls
    • Discuss the benefits of using Twilio SIP Domains

    Prerequisites to working with SIP Domains and Twilio

    To accomplish the tasks in this blog post you will need the …

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