A flexible python library for creating and using Asterisk call files.
pycall is a flexible python library for creating and using Asterisk call files. It's free, easy to use, well documented, and open source.
# Initiate an outbound call to 1-888-222-3333 and say # 'hello world!' when the caller answers. from pycall import CallFile, Call, Application call = Call('SIP/flowroute/18882223333') action = Application('Playback', 'hello-world') c = CallFile(call, action) c.spool()
pycall fully supports *all* Asterisk call file attributes. It provides a flexible layer between your application and your Asterisk server, allowing you to focus on your application's core logic.
pycall is used every day on numerous production servers for both hobby and large business projects.
Install pycall right now:
$ pip install pycall
Then read our documentation and build something awesome!
Found a bug? Have a good idea for improving pycall? Head over to our github page and create a new issue or fork the project.