Starpy And Asterisk On Different Machines ?
Hello,
Is it possible to run Starpy and Asterisk on different machines ?
A quick glance at http://www.vrplumber.com/programming/starpy/ seems to tell it is possible but Debian’s python-starpy package installs Asterisk.
What do you think ?
Regards
One thought on - Starpy And Asterisk On Different Machines ?
Yes you can. This what starpy is for. It’s build around Python twisted which allow you to write non blocked socket servers. You can use starpy as a fastagi server. Both AMI and FASTAGI can be configured from a .conf file as follow:
[AMI]
username=ami_user secret=ami_pass server=asterisk_ami_ip port=ami_port
[FastAGI]
port=listen_port interface=listen_ip
Hope that will help.