Anthony Minessale
2003-Oct-14 11:24 UTC
[Asterisk-Users] managers.conf Clarification Question
Does Anyone have a breakdown on what each option means in manager.conf system,call,log,verbose,command,agent,user I want to make a user who does not get a ton of events in the socket and is just for sending a query and getting that 1 reply I dont want to keep restarting my pbx to figure it out. I'm sure some may be self-explanatory but I was wondering if anyone knows for sure which options are which. --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031014/0545c301/attachment.htm
Tilghman Lesher
2003-Oct-14 11:54 UTC
[Asterisk-Users] managers.conf Clarification Question
On Tuesday 14 October 2003 13:24, Anthony Minessale wrote:> Does Anyone have a breakdown on what each option means in > manager.conf > > system,call,log,verbose,command,agent,user > > I want to make a user who does not get a ton of events in > the socket and is just for sending a query and getting that 1 reply > > I dont want to keep restarting my pbx to figure it out. > > I'm sure some may be self-explanatory but I was wondering if anyone > knows for sure which options are which.The states are all defined in include/asterisk/manager.h: #define EVENT_FLAG_SYSTEM (1 << 0) /* System events such as module load/unload */ #define EVENT_FLAG_CALL (1 << 1) /* Call event, such as state change, etc */ #define EVENT_FLAG_LOG (1 << 2) /* Log events */ #define EVENT_FLAG_VERBOSE (1 << 3) /* Verbose messages */ #define EVENT_FLAG_COMMAND (1 << 4) /* Ability to read/set commands */ #define EVENT_FLAG_AGENT (1 << 5) /* Ability to read/set agent info */ #define EVENT_FLAG_USER (1 << 6) /* Ability to read/set user info */ -Tilghman
Anthony Minessale wrote:> Does Anyone have a breakdown on what each option means in manager.conf > > system,call,log,verbose,command,agent,user > I want to make a user who does not get a ton of events in > the socket and is just for sending a query and getting that 1 reply > > I dont want to keep restarting my pbx to figure it out. > > I'm sure some may be self-explanatory but I was wondering if anyone > knows for sure > which options are which. >Anthony, I'm currently looking into the same thing, here's what I've been able to find out so far.... system = System events such as module load/unload call = Call event, such as state change, etc log = Log events verbose = Verbose messages command = Ability to read/set commands agent = Ability to read/set agent info user = Ability to read/set user info Also you do NOT need to restart or even reload asterisk to try the different settings, connecting/loging in, re-reads the manager.conf each time.