![]() get ( '/answer', function ( req, res ) ) (You can skip this part if you resume using the same ngrok or your server URL): $ nexmo app:update YOUR_NEXMO_APPLICATION_ID "My Voice App" Įdit the NCCO in the HTTP GET route to handle the requests for /answer: app. Update your Nexmo application with the ngrok URLs. ![]() You are going to use the forwarding URLs, which look like, as your temporary webhook endpoints during development. If you have not completed the previous tutorial yet, follow that one first. In this tutorial, you will modify the NCCO to record audio. The previous tutorial walked through creating webhook endpoint URLs and associating them with a voice application to receive incoming calls. No credit card required!ĭefining a Nexmo Call Control Object to Record Incoming Calls Start developing in minutes with free credits on us. To purchase one, go to Numbers > Buy Numbers and search for one that meets your needs. This tutorial also uses a virtual phone number. Once you have an account, you can find your API Key and API Secret at the top of the Vonage API Dashboard. If you don’t have one already, you can sign up today and start building with free credit. To complete this tutorial, you will need a Vonage API account. View the source code record-call.js GitHub In this tutorial, you will extend the app to record a message from a caller. In the previous tutorial, you created a voice application and learned how to receive a text-to-voice call using the Nexmo Voice API and the Node.js client library. See links to prior tutorials in these series at the bottom of the post. This is the third tutorial in the “Getting Started with Nexmo and Node.js” series, which followed our Getting Started series on SMS APIs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |