<div dir="ltr">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.<div>Both AMI and FASTAGI can be configured from a .conf file as follow:</div>
<div><br></div><div><div>[AMI]</div><div>username=ami_user</div><div>secret=ami_pass</div><div>server=asterisk_ami_ip</div><div>port=ami_port</div><div><br></div><div>[FastAGI]</div><div>port=listen_port</div><div>interface=listen_ip</div>
</div><div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Hope that will help.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jan 16, 2014 at 10:02 AM, Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hello,<br><br></div><div>Is it possible to run Starpy and Asterisk on different machines ?<br><br></div><div>A quick glance at <a href="http://www.vrplumber.com/programming/starpy/" target="_blank">http://www.vrplumber.com/programming/starpy/</a> seems to tell it is possible but Debian's python-starpy package installs Asterisk.<br>
<br></div><div>What do you think ?<br><br></div><div><br></div><div>Regards<br></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><div><br></div><br></div></div>