Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python bindings for Asterisk Manager Interface and Asterisk Gateway Interface

Project Description

pystrix is an attempt at creating a versatile Asterisk-interface package for AMI and (Fast)AGI needs. It is published as an open-source library under the LGPLv3 by Ivrnet, inc., welcoming contributions from all users.


pystrix runs on python 2.7/python 3.4+ on any platform. It’s targeted at Asterisk 1.10+ and provides a rich, easy-to-extend set of bindings for AGI, FastAGI, and AMI.

Release Schedule

The current code in the repository correspond to version 1.1.3 of the package. When a bug is found and fixed a new version of the package will be generated in order to keep it updated and as bug-free as possible.

New releases will follow the format: <release mayor>.<release minor>.<bug fixed> according to the change made to the code.


After some research, we found that what was available was either incompatible with the architecture model we needed to work with Twisted, (while excellent for a great many things, isn’t always the right choice), was targeting an outdated version of Asterisk, or had a very rigid, monolithic design. Identifying the pyst and py-asterisk packages as being similar, but structurally incompatible, to what we wanted, pyst was chosen as the basis for this project, with a full rewrite of its AGI and AMI systems to provide a uniform-looking, highly modular design that incorporates logic and ideas from py-asterisk. The end result is a package that should satisfy anyone who was looking at either of its ancestors and that should be easier to extend as Asterisk continues to evolve.


  • From pip
$ pip install pystrix
  • From github
$ pip install -e git://


Detailed usage information is provided in the documentation, along with simple examples that should help to get anyone started.


Online documentation is available at

Inline documentation is complete and made readable by reStructuredText, so you’ll never be completely lost.


Ivrnet, inc.
  • Initial development of pystrix was funded by Ivrnet
  • Ivrnet is a software-as-a-service company that develops and operates intelligent software applications, delivered through traditional phone networks and over the Internet. These applications facilitate automated interaction, personalized communication between people, mass communication for disseminating information to thousands of people concurrently, and personalized communication between people and automated systems. Ivrnet’s applications are accessible through nearly any form of communication technology, at any time, from anywhere in North America, via voice, phone, fax, email, texting, and the Internet.
Neil Tallim
  • Development lead
  • Programming

Other contributions and current package maintenance

Marta Solano
  • Bug solving - Programming
  • Pip package maintenance
Eric Lee
  • Python 2 to 3 migration - compatibility
  • Programming
Karthic Raghupathi
  • Bug solving - Programming
  • Pip package maintenance

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(65.8 kB) Copy SHA256 Hash SHA256
Source None Feb 6, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate