Obelus: Asterisk’s best friend

Overview

Obelus is a MIT-licensed Python library providing support for communication with the Asterisk telephony server. It supports the Asterisk Manager Interface (AMI) and the Asterisk Gateway Interface (AGI).

Features

  • Python 2 and Python 3 support.
  • AMI, FastAGI and Async AGI support.
  • Event-driven API friendly towards non-blocking (“async”) network programming styles.
  • PEP 3156-style protocol implementations.
  • Framework-agnostic.
  • Adapters for the Tornado, Twisted, Tulip network programming frameworks.
  • Unit-tested.

Limitations

  • The API is currently low-level: it abstracts away protocol syntax and communication sequences, but doesn’t try to expose Asterisk concepts in a particular way.

Requirements

  • Python 2.7, 3.2 or later.

Optional requirements

Reporting issues

If you have a bug to report or an improvement to suggest, please open an issue on the issue tracker.