pdtpatrick
pdtpatrick

Reputation: 175

Python and Asterisk

Has anyone successfully used a Python API to connect to Asterisk AMI? Maybe Starpy or py-asterisk, or even FATS?

If so can you please display examples or point to a link?

There seems to be very little documentation regarding the Python APIs.

Upvotes: 4

Views: 8546

Answers (6)

gawel
gawel

Reputation: 2048

I wrote panoramisk which is python3 only (old releases can work with python2.7)

https://github.com/gawel/panoramisk

Upvotes: 0

user5230499
user5230499

Reputation: 1

Use pyst. Download it from sourceforge

Now just extract the tar file, go to the directory of pyst through terminal and enter following commands.

python setup.py install

Now, in your python script add

from asterisk.agi import *

Now you are all set to use asterisk with python.

Upvotes: 0

lingfish
lingfish

Reputation: 442

pyst on sourceforge seems to be alive again, and I'm using it.

Upvotes: 2

befire
befire

Reputation: 140

Use pyst2, it's a fork of pyst. Last is not develops any more. http://pypi.python.org/pypi/pyst2/0.4

Upvotes: 3

Wouter Dorgelo
Wouter Dorgelo

Reputation: 11978

Did you check/try Pyst?

Upvotes: 3

Frutik
Frutik

Reputation: 149

i am successfully using https://github.com/al-the-x/pyst for years

see usage example in the doc block here - https://github.com/al-the-x/pyst/blob/master/asterisk/manager.py

Upvotes: 5

Related Questions