Olivier
2014-Jan-16 15:58 UTC
[asterisk-users] Starpy and Asterisk on different machines ? [SOLVED]
Thanks for replying. So as python-starpy requires asterisk in Debian Wheezy repo, for a Debian setup the alternatives are either : - to install it from source - tto build my own custom package removing this asterisk dependency (is it easy or even possible ?) - to use another solution such as pyst. Regards 2014/1/16 Adolphe Cher-Aime <acheraime at gmail.com>> 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. > > > > > On Thu, Jan 16, 2014 at 10:02 AM, Olivier <oza.4h07 at gmail.com> wrote: > >> 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 >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140116/7c6bab38/attachment.html>
A J Stiles
2014-Jan-16 16:32 UTC
[asterisk-users] Starpy and Asterisk on different machines ? [SOLVED]
On Thursday 16 January 2014, Olivier wrote:> Thanks for replying. > > So as python-starpy requires asterisk in Debian Wheezy repo, for a Debian > setup the alternatives are either : > - to install it from source > - tto build my own custom package removing this asterisk dependency (is it > easy or even possible ?) > - to use another solution such as pyst.Installing from Source Code might well be the simplest solution. If you need to install something on several boxen, you can make your own .deb package -fairly- easily -- although it probably will have too many little technicalities to be accepted by the Debian project. What I have done with homebrew .debs is have the package depend on `build- essential` and the necessary `*-dev` .debs, install the Source Code files under /usr/src/, then do the build process in the postinst script. This allows you to install the same .deb on 32 bit, 64 bit or Raspberry Pi architectures. -- AJS Answers come *after* questions.
Tzafrir Cohen
2014-Jan-16 19:05 UTC
[asterisk-users] Starpy and Asterisk on different machines ? [SOLVED]
On Thu, Jan 16, 2014 at 04:58:14PM +0100, Olivier wrote:> Thanks for replying. > > So as python-starpy requires asterisk in Debian Wheezy repo, for a Debian > setup the alternatives are either : > - to install it from source > - tto build my own custom package removing this asterisk dependency (is it > easy or even possible ?)Should be simple.> - to use another solution such as pyst.- To "provide" Asterisk by a dummy package such as one built by equivs. See, e.g. https://wiki.debian.org/CreateDummyPackage -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com