Skip to content
pystrix is an attempt at creating a versatile Asterisk-interface package for AMI and (Fast)AGI needs.
Branch: master
Clone or download
Latest commit cf481b3 Jan 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Add QueueSummary events to documentation. Oct 19, 2017
pystrix Update version. Jan 22, 2019
.gitignore Update documentation and setup to point to new repository url. Jun 12, 2017
AUTHORS Fixed an issue where pystrix would raise an error and not let any fur… Feb 3, 2018
COPYING.LESSER | -> , for Originate_Application. Jun 5, 2012 Add manifest for pypi generation and add gitignore. Change version to… Feb 9, 2017
README.rst Update version. Jan 22, 2019 Fix Python 2 to 3 compatibility issue.(fixes mainly the imports) May 24, 2017


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.5 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
You can’t perform that action at this time.