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

Python binding for Asterisk AJAM interface

Project Description

Pyajam allows to interact with an asterisk server using the AJAM interface, in a pythonic way. Example:

>>> from pyajam import Pyajam
>>> ajam = Pyajam(server='192.168.0.10', username='mspencer', password='*rocks!')
>>> if not ajam.login():
>>>             print "Invalid login"
>>>             sys.exit(1)
>>> # display list of peers (SIP and IAX2)
>>> print ajam.peers())
>>> # display peer 101 attributes
>>> peer  = ajam.sippeer('101'))
>>> # screenprint events
>>> def ajam_event_listener(data):
>>>             print data
>>> ajam.waitevent(async=False, callback=ajam_event_listener)
Release History

Release History

This version
History Node

0.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyAjam-0.2.tar.gz (20.9 kB) Copy SHA256 Checksum SHA256 Source Jun 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting