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 Sam Agnew
    How to play music over phone calls with Twilio Voice and JavaScript banner

    When handling phone calls with TwiML, you have many options for controlling the caller’s experience. You can something in a robot voice, other numbers into the call and even the call. My personal favorite is the ability to play audio files over the phone using the TwiML verb. You can even create your own version of Dial-A-Song, a hotline run by the band They Might Be Giants that allows you to listen to their music if you call the number (844) 387-6962.

    Today I’m going to show you how to make and receive phone calls using the Node.js Twilio library. We will also be using some ES6 features to “spice things up a notch.” What better way to show what we can do with Twilio voice than to al …

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