The ackcall and endcall options in agents.conf now have supplemental options
[asterisk/asterisk.git] / configs / agents.conf.sample
1 ;
2 ; Agent configuration
3 ;
4
5 [general]
6 ;
7 ; Define whether callbacklogins should be stored in astdb for
8 ; persistence. Persistent logins will be reloaded after
9 ; Asterisk restarts.
10 ;
11 persistentagents=yes
12
13 ; Enable or disable a single extension from logging in as multiple agents.
14 ; The default value is "yes".
15 ;multiplelogin=yes
16
17 [agents]
18 ;
19 ; Define maxlogintries to allow agent to try max logins before
20 ; failed.
21 ; default to 3
22 ;
23 ;maxlogintries=5
24 ;
25 ;
26 ; Define autologoff times if appropriate.  This is how long
27 ; the phone has to ring with no answer before the agent is
28 ; automatically logged off (in seconds)
29 ;
30 ;autologoff=15
31 ;
32 ; Define autologoffunavail to have agents automatically logged
33 ; out when the extension that they are at returns a CHANUNAVAIL
34 ; status when a call is attempted to be sent there.
35 ; Default is "no". 
36 ;
37 ;autologoffunavail=yes
38 ;
39 ; Define ackcall to require a DTMF acknowledgement when
40 ; an agent logs in using agentcallbacklogin.  Default is "no".
41 ; Can also be set to "always", which will also require AgentLogin
42 ; agents to acknowledge calls. Use the acceptdtmf option to 
43 ; configure what DTMF key press should be used to acknowledge the
44 ; call. The default is '#'.
45 ;
46 ;ackcall=no
47 ;acceptdtmf=#
48 ;
49 ; Define endcall to allow an agent to hangup a call with a
50 ; DTMF keypress. Default is "yes". Use the enddtmf option to
51 ; configure which DTMF key will end a call. The default is
52 ; '*'.
53 ;
54 ;endcall=yes
55 ;enddtmf=*
56 ;
57 ; Define wrapuptime.  This is the minimum amount of time when
58 ; after disconnecting before the caller can receive a new call
59 ; note this is in milliseconds.
60 ;
61 ;wrapuptime=5000
62 ;
63 ; Define the default musiconhold for agents
64 ; musiconhold => music_class
65 ;
66 ;musiconhold => default
67 ;
68 ; Define the default good bye sound file for agents
69 ; default to vm-goodbye
70 ;
71 ;agentgoodbye => goodbye_file
72 ;
73 ; Define updatecdr. This is whether or not to change the source 
74 ; channel in the CDR record for this call to agent/agent_id so 
75 ; that we know which agent generates the call
76 ;
77 ;updatecdr=no
78 ;
79 ; Group memberships for agents (may change in mid-file)
80
81 ;group=3
82 ;group=1,2
83 ;group=
84 ;
85 ; --------------------------------------------------
86 ; This section is devoted to recording agent's calls
87 ; The keywords are global to the chan_agent channel driver
88
89 ; Enable recording calls addressed to agents. It's turned off by default.
90 ;recordagentcalls=yes
91 ;
92 ; The format to be used to record the calls: wav, gsm, wav49.
93 ; By default its "wav".
94 ;recordformat=gsm
95 ;
96 ; The text to be added to the name of the recording. Allows forming a url link.
97 ;urlprefix=http://localhost/calls/
98 ;
99 ; The optional directory to save the conversations in. The default is
100 ; /var/spool/asterisk/monitor
101 ;savecallsin=/var/calls
102 ;
103 ; An optional custom beep sound file to play to always-connected agents. 
104 ;custom_beep=beep
105 ;
106 ; --------------------------------------------------
107 ;
108 ; This section contains the agent definitions, in the form:
109 ;
110 ; agent => agentid,agentpassword,name
111 ;
112 ;agent => 1001,4321,Mark Spencer
113 ;agent => 1002,4321,Will Meadows