Skip to content

twilio-samples/call-forwarding-voicemail-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

call-forwarding-voicemail-python

Forward calls to voicemail for beginners. Powered by Twilio - Python/Flask

This is an application example implementing an automated phone line using Python 3.12.2 and Flask web framework.

Local Development

This project is built using Flask web framework.

  1. First clone this repository and cd into it. bash $ git clone [email protected]:twilio-samples/call-forwarding-voicemail-python.git $ cd call-forwarding-voicemail-python

  2. Create a new virtual environment.

    • If using vanilla virtualenv:

      virtualenv venv
      source venv/bin/activate
    • If using virtualenvwrapper:

      mkvirtualenv call-forwarding-voicemail-python
  3. Install the dependencies.

    pip install -r requirements.txt
  4. Start the server.

    flask run
  5. Expose the application to the wider Internet using ngrok.

    ngrok http 5000 
  6. Configure Twilio to call your webhooks

You will also need to configure Twilio to call your application when calls are received in your Twilio Number. The voice url should look something like this:

http://<your-ngrok-subdomain>.ngrok-free.app/webhook

Configure Voice

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages