Forward a Telephone Call Via Voice Proxy with Python and Starlette
This tutorial explains how to create a voice proxy using the Nexmo Voice API and the Starlette framework, allowing users to make calls without revealing their actual phone numbers. To set up this system, developers need to have Python 3.6+, a Vonage API account, and ngrok to expose their server to the public internet. They must also create a Nexmo Virtual Number, link it to a Voice Application, and install a Starlette server that contains a JSON file with a single action, "connect", which enables them to forward calls to different endpoints without revealing the actual phone numbers. The system uses event webhooks to track the status of proxied calls and can be customized further by modifying the NCCO file or using additional Nexmo APIs.
Company
Vonage
Date published
May 7, 2021
Author(s)
Aaron Bassett
Word count
1238
Language
English
Hacker News points
None found.