[Help needed] location of recorded conferences and queues


#1

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 1.2.7.1

Thanks!


#2

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

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

voip-info.org/wiki/view/Asterisk+cmd+Monitor


#3

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.


#4

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.


#5

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

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

Thanks!