[Help needed] location of recorded conferences and queues

I have enabled some conferences (and call queues) to record the calls.

However, the resulting .wav files are stored in /var/lib/asterisk/sounds in stead of /var/spool/asterisk/monitor.

Since I can’t find any asterisk conf related parameter to set this directory, I ask you guys if you know how to change the directory location.

I’m using asterisk


i might be in asterisk.conf, the “astspooldir” entry…

yup, 15 seconds of searching voip-info led to this:


one could use monitor(); to implement recording on the dialplan level,

however, that’s not what I’m talking about,

I was talking about the native feature of both conferences and callqueues to record all calls, in which case one would use the monitor-format option within the conference or callqueue.

and the astspooldir variable is the only value I have set, and all of my recordings (queue, inbound, and outbound calls - no conferences though) go into the /var/spool/asterisk/monitor directory.

also, i believe the queue application simply calls the monitor function internally as soon as the call is bridged, which would be the same as calling monitor() in the dialplan.

so setting that variable should do it.

if nothing else is working, you can use the CALLFILENAME variable to set the path, like:

exten => s,1,SetVar(CALLFILENAME=/var/spool/asterisk/recordedcalls/${CALLERIDNUM}-${TIMESTAMP})

it may not be pretty, but it works.

I have astspooldir set (to it’s default /var/spool/asterisk)

anyway, CALLFILENAME would seem to be a thing to check out