[resolved] recording of RealTime callqueues

the recording itself works just fine, except that it won’t join both channels into one .wav file. I keep getting 2 files; one -in.wav, and one -out.wav.

I’m using realtime callqueues, so all my queues are in a DB (mysql in my case).

In the callqueue table I have a field ‘monitor_join’ (without the single quotes ofcourse), which is a tinyint(3). It doesn’t matter if I put ‘0’ or ‘1’, it always puts out 2 files. Since the callqueue itself is working good, I assume this is overlooked in the realtime part (I don’t think callqueues in the flatfile config file has the same issue).

Any help/insight you can give me is appreciated :wink:

I see in the logs that:

May 24 00:21:51 DEBUG[10614]: res_monitor.c:281 ast_monitor_stop: monitor executing ( nice -n 19 soxmix “/var/spool/asterisk/monitor/asterisk-10588-1148422903.0-in.wav” “/var/spool/asterisk/monitor/asterisk-10588-1148422903.0-out.wav” “/var/spool/asterisk/monitor/asterisk-10588-1148422903.0.wav” && rm -f “/var/spool/asterisk/monitor/asterisk-10588-1148422903.0-”* ) &

so, I need soxmix. I never expected this :confused:

Now I need to change the filename which is an obvious ${UNIQUEID}.wav
Anybody any idea where I can change this because a set(global)var=CALLFILENAME=/var/spool/asterisk/monitor/callqueue-${EXTEN}-${UNIQUEID} does not work :question:


forgive my ignorance. I can see what I was missing by peeking in the sample queues.conf file :wink: