From 860f35a7ab5a4abecb78e738191307db583430af Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Tue, 3 Feb 2004 16:57:00 +0000 Subject: 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 --- configs/agents.conf.sample | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'configs/agents.conf.sample') 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 -- cgit v1.2.3