ARI and Queue Call Monitor Files

OK, so I posted this thread a while back: http://www.freepbx.org/forum/freepbx/users/links-to-recorded-calls-in-cdr-reports

Long story short, I have finally upgraded our system and ARI was working fine for me until we got a large number of call monitor recordings (13,000+). I started to get the “To(sic) many files in /var/spool/asterisk/monitor/q400-20080513-141308-1210702386.274134.WAV Not all files processed” error. Based on the recommendations in the earlier thread, I changed the “$CALLMONITOR_ONLY_EXACT_MATCHING = 1;” setting, as well as the “MAX_FILES” parameter.

After having done that, I either lose the recording links or have recording links that point to the wrong file. My guess here is that the asterisk-addons package on our system did not have the “MYSQL_UNIQUEID” flag enabled when it was compiled.

Can anyone confirm that is why I see this behavior?

Tom

Nobody has any input here on ARI?

I know that links to call monitor files in ARI is a common problem, most commonly related to the failure to compile the addons module to append the uniqueID to the CDR records.

I think everything SHOULD be working here, but it is decidely not. Either I have no links, or the links are to the wrong files. Given that the UniqueID is indeed in the CDRs, what does that leave?

I’m sure it’s gotta be a configuration issue on my end.

Tom

I actually think the UniqueID is being populated in the CDR table.

+---------------------+-----------------------------+------------------+ | calldate | channel | uniqueid | +---------------------+-----------------------------+------------------+ | 2010-11-03 12:50:07 | DAHDI/7-1 | 1288803007.48676 | | 2010-11-03 12:50:09 | SIP/119-00003233 | 1288803009.48677 | | 2010-11-03 12:50:10 | DAHDI/9-1 | 1288803010.48679 | | 2010-11-03 12:50:12 | Local/282@from-queue-967b;2 | 1288803012.48683 | | 2010-11-03 12:50:15 | Local/118@from-queue-afb9;2 | 1288803015.48686 | | 2010-11-03 12:50:22 | SIP/101-00003236 | 1288803022.48688 | | 2010-11-03 12:50:27 | SIP/101-00003237 | 1288803027.48689 | +---------------------+-----------------------------+------------------+

So what have I misconfigured?

Tom