Index: asterisk/configs/agents.conf.sample =================================================================== RCS file: /usr/cvsroot/asterisk/configs/agents.conf.sample,v retrieving revision 1.10 diff -u -r1.10 agents.conf.sample --- asterisk/configs/agents.conf.sample 3 Apr 2004 00:41:47 -0000 1.10 +++ asterisk/configs/agents.conf.sample 23 May 2004 11:09:34 -0000 @@ -32,6 +32,42 @@ ; ;updatecdr=no ; +; Define maxlogintries to set the limit of failed login attempts. +; The value should be an integer. Default is "3". +; Setting to 0 will disable maxlogintries. +; +;maxlogintries=3 +; +; Define playannouncement to enable/disable playing of agent logged in/off +; and goodbye message. Default is "yes". Valid values are boolean. +; This option is the same as option 's' on AgentCallbackLogin() +; +;playannouncement=yes +; +; Define playgoodbye to enalbe/disable playing of goodbye message. +; playannouncemnet must be enabled for goodbye to be played. +; Default is "yes". Valid values are boolean. +; +;playgoodbye=yes +; +; Define hangupcall to adjust if the call is hungup when exiting function +; AgentCallbackLogin(). This option has no effect on AgentLogin() or +; AgentMonitorOutgoing(). Default is "always". +; Valid values are: never, always, loginfail, loginok +; Short versions are: no, yes, fail, ok +; Upon exiting due to login failure, the priority will be increased by 100. +; +;hangupcall=always +; +; The values autologoff, ackcall, wrapuptime, updatecdr, maxlogintries, +; playannouncement, playgoodbye, and hangupcall can be adjusted in +; extensions.conf for individual extensions when using AgentLogin() or +; AgentCallaackLogin(). Not all variables apply to both functions. +; Use the following convention with SetVar to make on-the-fly adjustments: +; variable name is "AGENT" + option in all caps. Values are the same. +; Ex: exten => s,1,SetVar(AGENTMAXLOGINTRIES=0) +; exten => s,2,AgentCallbackLogin() +; ; Group memberships for agents (may change in mid-file just) ; ;group=3