How much disk VICIdial recordings use per agent
Raw recordings take about 58 MB per agent-hour. What that does to an 80 GB disk, how to size retention, and the commands to watch it fill.

To the point
Plan on about 58 MB of raw recording per agent-hour. It is a planning figure, because it depends on how much of each hour is spent talking. At ten agents it fills an 80 GB disk inside a month.
- One agent on eight-hour days makes 464 MB a day. Ten agents make about 102 GB in 22 working days.
- Recordings share the disk with the database, so the tipping point comes before the disk is full.
- A full disk stops recording, then stops the database writing.
- Retention is the real decision, and the period is yours to look up.
The arithmetic
Take 58 MB per agent-hour and an eight-hour day: 464 MB per agent per day, over 22 working days.

A predictive campaign keeps agents on calls most of the hour. A manual campaign with long dispositions records less. After a week, divide your recorded minutes by your agent hours and replace 58 with what you find. An 80 GB disk is not 80 GB of room, since the system, database and logs are already on it.
What a recording file is
Names start with the date and time of the call and end in -all.mp3, the file that mixes both sides. One we copied for a test was 43,199,424 bytes. VICIdial records raw first, then the AST_CRON_audio_* scripts move finished files to a done folder (monitorDONE in what we saw), compress them, and can send them to an FTP or archive server. If your server keeps WAV or GSM, 58 MB is the wrong number. Look at yesterday's file with ls -l and divide its size by its minutes.
Set recording up, step by step
Screens are from our test server, campaign Sunline Solar Q4 callbacks (SUNQ4). Markers map to the numbered list under each picture.
In VICIdial's admin

- Campaign Recording: whether calls are recorded, and how.
- Campaign Rec Filename: the pattern for file names.
- Recording Delay: seconds to wait before recording starts.

- Recording Web Link: how playback links are built.
- Alternate Recording Server IP: the server holding the files, if not this one.
In the Trustane console

- Recording: the campaign's recording switch.
- On demand: let agents start a recording by hand.
Measure your own, in three commands
df -h /
du -sh /var/spool/asterisk/monitorDONE
find /var/spool/asterisk/monitorDONE -name '*-all.mp3' -mtime -1 | wc -l
Free space, what the folder holds, and yesterday's mixed files. Check your recording settings for the path first. Run them weekly and write the numbers down. The slope is your answer.
Look at free space, not the percentage. A 4 TB disk at 85 percent has room. An 80 GB disk at 85 percent has twelve gigabytes, under three days at ten agents.
Retention is the real decision
- How long must you keep recordings? It depends on your contracts and the rules for your calls, and it varies by country, state and campaign type. We will not suggest a period.
- How fast must you play one back? Last week's calls are opened constantly. Last year's are opened in a dispute.
- What does a lost recording cost? One disputed sale can cost more than a year of storage.
The usual answer is two tiers: recent files on the dialer, older ones on cheaper storage elsewhere.
In our own archive test, a 43,199,424 byte recording was moved to object storage, removed from the dialer and served back through the same download link in 8.3 seconds, with the checksum matching. That was one file, not a transfer rate. Run a first sweep of a year of backlog at night. Test the restore, not only the upload.
Hosting contracts
Ask four things in writing. Is there a per-gigabyte or monthly charge for recording storage? How long are recordings kept? Can you pull them out in bulk at no cost? What happens to them if you leave? A thread on the official VICIdial forum, from around 2014, describes a provider charging a monthly fee to FTP your recordings to you and deleting everything when a client left. It is one old account, so take it as a reason to ask.
Questions people ask
Is 58 MB per agent-hour exact?
No. It is one measured rate. Talk time changes it, and so does the format: WAV or GSM would change it a lot.
Which free-space level should alarm?
Set the alarm at 25 percent free, not 5.
Next steps
Find out whether your server keeps MP3, WAV or GSM, then chart free space for a month. Write down a retention rule you can defend and test a playback from off-server storage. We take nightly backups off the node. See pricing, lines per agent and the hosting page.
VICIdial is a trademark of its owner. Trustane is an independent hosting provider.
Sources
- Storage and off-node backup report, recordings archive run
- Market findings, recording storage and retention complaints
- VICIdial forum thread on hosting providers charging for recordings
- Cover photo: Laptop-hard-drive-exposed by Evan-Amos, CC BY-SA 3.0, via Wikimedia Commons (cropped)
Managed VICIdial hosting


