On Saturday 09 June 2007, Pari Nannapaneni wrote: > getcontexts(*new) - returns only the list of contexts in a config file - > and NOT their contents like: action=getcontexts&filename=somefile.conf > should return just the list of all context names [context-1] > [context-2] > > getcontext(*new) - returns the content of a particular context > like: action=getcontext&filename=somefile.conf&context=context-1 should > return only context-1 [context-1] > exten = s,1,NoOp(line1) > exten = s,2,.....
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). I understand that this type of processing isn't necessarily that intensive, but every little feature that we add to the manager for the GUI incrementally lessens the CPU available for calls. -- Tilghman _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
