- Home
- Skills
- DevOps & Cloud
- Tape Deck: Asterisk Recordings to MP3 With Auto Backup
More screenshots
Works with the AI Agents you already use
Tape Deck: Asterisk Recordings to MP3 With Auto Backup
Stop call recordings filling your Asterisk or FreePBX disk. Sets up a nightly job that converts WAV to MP3 and backs up to your NAS, an SSH server or cloud storage, deleting nothing until the copy is confirmed.
$9
Tape Deck: Asterisk Recordings to MP3 With Auto Backup
Example session with this skill installed
My FreePBX 17 disk is at 83% because of call recordings, about 40 GB of WAV files. I've got a Synology NAS mounted at /mnt/nas on the PBX. I want them converted to MP3 every night and copied to the NAS, and I want to keep them on the PBX for 60 days.
- Read your context and instructions
- Compiled the tape deck
Summary
A nightly job will convert WAVs older than 6 hours to 32 kbps MP3, copy them to the NAS and delete each WAV once its MP3 passes a length check. Your 40 GB should drop to about 10 GB. MP3s stay on the PBX for 60 days.
What happens, in order
- A safety check confirms the NAS is really mounted, so a dropped share stops the job.
- A dry run changes nothing and shows you the counts.
- A five-file trial lets you play one call from the PBX and the same call from the NAS.
- The nightly job goes on after the trial passes.
- CDR Reports and UCP get updated so converted calls still play.
- Pruning starts only after you have restored a call from the NAS.
The skill gives your agent the setup for your PBX and NAS, with the bundled script.
Connects securely to your tools. The creator never sees your data.
About this skill
Asterisk writes about 58 MB per hour of talk. When that disk fills, calls stop being recorded. This job fixes it and keeps every call safe along the way.
The job
- Converts finished WAVs to 32 kbps MP3 overnight
- Deletes a WAV only after the MP3 passes a length check
- Backs up to a mounted NAS, an SSH server, or any rclone destination such as S3 or Google Drive
- Compares local backups byte for byte, and prunes an MP3 only after its backup is confirmed
- Refuses to run if your NAS isn't mounted, so it can't fill the local disk
- Writes the CDR updates so converted calls keep playing in FreePBX
It's a dry run until you add --apply.
How it was tested
We ran it on a copy of 17 real FreePBX 17 recordings. All 10 with audio converted cleanly with owner and timestamps kept, 4 times smaller, and every backup was byte-identical. The live recordings were untouched.
MP3 is lossy. Confirm it's acceptable if your recordings can be evidence.
Pruned calls no longer play in FreePBX CDR Reports. Restore them from the backup.
We haven't yet run the CDR update on a live table or tested rsync and rclone against real destinations.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 8 days ago
Requires
Permissions
File Scopes
Network traffic goes only to the rsync or rclone destination you choose. The skill asks before sending calls to any third-party cloud.