Content Deep Dive
Routing Incoming Phone Calls with Twilio Programmable Voice, Python and Django
Blog post from Twilio
Post Details
Company
Date Published
Author
David Fundakowski
Word Count
1,654
Language
English
Hacker News Points
-
Source URL
Summary
This tutorial demonstrates how to set up a call routing system using Twilio Programmable Voice, Python, and Django. The goal is to route inbound calls based on the caller's number, playing different messages or forwarding calls to personal cell phones. The process involves setting up a free Twilio account, creating a virtual environment with Django and the Twilio REST library, provisioning a phone number, and configuring the project settings and files. The tutorial then guides through adding URL routes and view logic for call handling, including implementing a basic voice response and more complex logic to determine actions based on incoming caller numbers.