/plushcap/analysis/vonage/vonage-how-to-record-audio-from-phone-call-node-js-dr

How to Record Audio from Incoming Calls with Node.js

What's this blog post about?

This tutorial extends a voice application created in a previous tutorial, allowing it to record a message from a caller using the Nexmo Voice API and the Node.js client library. To complete this tutorial, developers need to set up a Vonage API account and create a virtual phone number. They then modify the NCCO to handle requests for recording audio, including specifying an event URL where information about the recording is sent. When a recording is completed, the event returns the information, including the audio file URL, which can be used to retrieve the recording from Nexmo. Developers also learn how to download the recorded audio file to their disk using the `files.save` method of the Nexmo Node.js library.

Company
Vonage

Date published
May 17, 2021

Author(s)
Tomomi Imura

Word count
733

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.