summaryrefslogtreecommitdiff
path: root/configs/agents.conf.sample
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2004-02-03 16:57:00 +0000
committerMartin Pycko <martinp@digium.com>2004-02-03 16:57:00 +0000
commit860f35a7ab5a4abecb78e738191307db583430af (patch)
tree737412e9d633692be843c8429cc62df22fc5cfd7 /configs/agents.conf.sample
parent9bd6034f9b8c4e498b3d3ebc8a7373cc711198d1 (diff)
Add recording agent's calls patch. Basically the call starts recording when the agent picks up and the file is stamped with the agent's id and the timestamp. Also optionally a URL link to that file may be inserted in the userfield of the CDR record. By default the recorded file will be mixed if soxmix is available.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/agents.conf.sample')
-rwxr-xr-xconfigs/agents.conf.sample23
1 files changed, 23 insertions, 0 deletions
diff --git a/configs/agents.conf.sample b/configs/agents.conf.sample
index 015a202ea..a015ac130 100755
--- a/configs/agents.conf.sample
+++ b/configs/agents.conf.sample
@@ -33,6 +33,29 @@
;group=1,2
;group=
;
+; --------------------------------------------------
+; This section is devoted to recording agent's calls
+; The keywords are global to the chan_agent channel driver
+;
+; Enable recording calls addressed to agents. It's turned off by default.
+;recordagentcalls=yes
+;
+; The format to be used to record the calls: wav, gsm, wav49.
+; By default its "wav".
+;recordformat=gsm
+;
+; Insert into CDR userfield a name of the the created recording
+; By default it's turned off.
+;createlink=yes
+;
+; The text to be added to the name of the recording. Allows forming a url link.
+;urlprefix=http://localhost/calls/
+;
+; The optional directory to save the conversations in. The default is
+; /var/spool/asterisk/monitor
+;savecallsin=/var/calls
+; --------------------------------------------------
+;
; This section contains the agent definitions, in the form:
;
; agent => agentid,agentpassword,name