Python and Asterisk

pdtpatrick picture pdtpatrick · Nov 28, 2011 · Viewed 7.5k times · Source

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.

Answer

Frutik picture Frutik · Nov 28, 2011

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