Because there currently isnt support in Asterisk to record in mp3 format.Why wouldn't there be an option to save all call recordings as an mp3 file? Anyone know why it must be WAV?
Our corporate policy requires that all calls are recorded. On top of that we run multiple country specific PBXs. Thus we generate a large number of records every day.Anyone have experience saving recordings off the system to another destination, either by changing the path or using a cronjob to cp/mv the files elsewhere for easy playback if needed? What's a good option out there for those that may have done this? Looking to save 2-3 years of recordings, but would like an average user to be able to go back, browse and playback those call recordings if need be.
Are you using vultr for any of your vps? I would be interested to learn more about your separate disk volumes for vps.Our corporate policy requires that all calls are recorded. On top of that we run multiple country specific PBXs. Thus we generate a large number of records every day.
We do two things on these PBXs:
First, using basic symbolic links we redirect the recordings (directory) to a separate disk volume on the same hardware/virtual machine. The volume is mounted through fstab at boot time. That gives us seamless access through the FreePBX CDR window or integrated capabilities. Asterisk & FreePBX don't even know that the location of the recordings has been changed.
Second, we use a home grown bash script to periodically (twice a day batch mode) copy those records into a remote centralized server. We keep the wav audio files as is (legal requirement for us), but we change the file name to a different structure with more useful information so that the raw collection of files is more easily searchable with common Linux search tools. At the same time we create indices in a sql database for other processing requirements.
Hope this helps to validate your thoughts about your next step.
Nowadays, we run all our business on our own hardware that we hand pick and colocate in first tier data centers (on three continents, 6 countries). The machines are mostly high-end Dell or HP blades.Are you using vultr for any of your vps? I would be interested to learn more about your separate disk volumes for vps.
Just that it has up to one day latency and you lose the linkages in cdr and cel reports, you could buy storage from vultr ($6/month per TB and S3 or other shared access) and mount it on /var/spool/asterisk/monitor/, it will behave like a local partition so won't need caching.and no other management of crons or rsync neededI would be curious on others thoughts on this plan.
Using Vultr for production PBX-2027. I will leave the default storage on the PBX for all call recordings as /var/spool/asterisk/monitor/
I plan to mount via SFTP a cloud based storage of 1TB for $8 per month. This should be plenty for 2 years of recordings. I will mount this drive at /mnt/recordings using curlftpfs and placing in /etc/fstab.
Then I will set a CRONJOB for every day at 9PM to mv the files from /var/spool/asterisk/monitor/ to /mnt/recordings - thus taking them from the Vultr server and placing them onto the 1TB cloud based storage.
I will then give the administrator of the office access to the cloud storage to download and pull recording files as needed.
See anything wrong with this plan?
Can you provide more insight into your post recording script 'organizations' steps you take? TIAJust that it has up to one day latency and you lose the linkages in cdr and cel reports, you could buy storage from vultr ($6/month per TB and S3 or other shared access) and mount it on /var/spool/asterisk/monitor/, it will behave like a local partition so won't need caching.and no other management of crons or rsync needed
For external access later, I like to (in the post recording script) add other 'organizations' of the recordings with hard links to directory structures of "/extension/direction/areacode/localnumber/year-month-day" and "/areacode/localnumber/direction /extention/year-month-day/" and any other order that makes sense in the use case. An ideal place for satisfying into mp3 if you want, very little extra storage needed and landing pages which allows directories starting at /var/spool/asterisk/monitor/ is all you need later
community.freepbx.org
Link up your team and customers Phone System
Live Chat
Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.