<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Hello list,<BR>
<BR>
is it possible with the monitor-command to record conversations and place the soundfile in a pre-defined directory <U>per user</U> ?!<BR>
<BR>
So when extension 200 presses '*#' to record the conversation, the resulting sound file is written to his home directory on the Samba-server.<BR>
<BR>
This way each user has his own directory with its recordings that no one else can access (as default rights to the share are those of the user and nothing for others).<BR>
Asterisk is running as root and it thus able to write to each home directory. But only the user (with his fixed phone extension) can access the share with his sound files.<BR>
<BR>
So user 'jonas' has extension 200. When extension 200 presses '*#' the conversation is recorded and the resulting sound file is written to /var/samba/profiles/jonas/recordings.<BR>
<BR>
Samba is running on the Asterisk-server.<BR>
<BR>
In features.conf a see 1 rule to define the key-combination for recording conversations. The recordings are then written to a default location /var/spool/asterisk/monitor.<BR>
<BR>
Thanks for the feedback.<BR>
<BR>
Jonas.
</BODY>
</HTML>