By default the Monitor resource/app uses the channel name as the filename,
but you can override the filename base.  A good choice of the filename
base would be the uniqueid for each channel, fortunately the ${UNIQUEID}
channel variable is available.

So from extensions.conf you can do Monitor(wav,${UNIQUEID}) to record
'wav'.

The uniqueid is available in the cdr struct as well, but it isnt used
right now for backwards compatibility.  You can edit cdr/cdr_csv.c and
uncomment the: /* #define CSV_LOGUNIQUEID 1 */ line to get it to log the
uniqueid at the end of each entry.

James
 

On Fri, 11 Jul 2003, Erik Kendall wrote:

> Can Asterisk automatically record all calls to unique
> files, like voicemail does with the messages?

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to