[Asterisk-Dev] Simple Manager Proxy
Holger Schurig
hs4233 at mail.mn-solutions.de
Mon Sep 27 00:57:47 MST 2004
> If you have developed CGI, PHP or other synchronous web-based
> applications that utilize the Asterisk manager interface, you know that
> they don't scale well, since each invocation from the web requires a
> connection to Asterisk and authentication there (thus putting a
> potentially large amount of connection and authentication load directly
> onto asterisk).
They scale quite well if done right. When you look a DeStar
(http://www.holgerschurig.de/destar.html) then you see that there is one
applicationserver (built around Quixote + Medusa) that makes one manager
connection to Asterisk.
All the HTTP-Based clients use the data from this one session.
When you download the source, look at manager.py which is used, via
Python's asyncore/asynchat mechanism and make the manager events and
manager commands available to the clients.
More information about the asterisk-dev
mailing list