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?
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.