Home / Companies / Vonage / Blog / Post Details
Content Deep Dive

Handle an Inbound Phone Call with Python

Blog post from Vonage

Post Details
Company
Date Published
Author
Jekayinoluwa Olabemiwo
Word Count
2,051
Language
English
Hacker News Points
-
Summary

Vonage enables companies to improve customer experience by enabling customer support via phone calls through voice applications that create custom phone lines for end users. A Vonage Call Control Object (NCCO) is a JSON array of actions that control inbound calls, including playing text-to-speech messages, connecting callers to agents, and playing on-hold music. To build a Python Flask voice application, developers need a Vonage API account, install Python3, Ngrok, and the Vonage Python SDK, create a Vonage app, set application capabilities, buy and link a virtual number, and implement the desired scenario using Flask and NCCO actions. The scenarios include playing a text-to-speech message, connecting a caller to an agent, and playing on-hold music until an agent is available. With this foundation, developers can program more complex Python applications and explore advanced actions like recording calls and more.