[asterisk-dev] Feature Request - new manager commands - 'getcontexts' and 'getcontext'

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sun Jun 10 09:35:47 CDT 2007


On Sunday 10 June 2007, Tzafrir Cohen wrote:
> On Sun, Jun 10, 2007 at 01:37:32AM -0500, Pari Nannapaneni wrote:
> > > Wouldn't adding these commands defeat the intent of the http server in
> > > Asterisk?  The intent, as I understand it, is to be lightweight, to
> > > shift all of the complexity of the configuration into the browser, so
> > > the Asterisk process isn't spending time doing string processing for
> > > the manager interface (and thus properly spends its time on call
> > > processing).
> >
> > Short version:
> >
> > agreed, lets comeback to this topic when we have some one _actually_
> > using the gui for 400+ users and complains about performance.
>
> Have you tested the impact?
>
> I can speculate that this would lead to the GUI making Asterisk traverse
> the list of contexts too many times and hence performance degragation
> under certain circumstances. Or at least for the sake of argument.

To be clear, what the manager process is doing is not traversing the contexts
in memory, but reading the file from disk.

-- 
Tilghman


More information about the asterisk-dev mailing list