Record a System Recording¶
System Recordings are the audio prompts UnifiedBX plays — IVR greetings, announcements, queue messages, after-hours messages. Record from any extension by dialing into the recording feature, or upload a pre-made WAV.
Before You Start¶
- You've decided on a name for the recording (e.g.
main-greeting,closed-greeting). - An extension you can record from is registered.
Record from a phone (preferred)¶
- Go to System Attributes → Recordings.
- Click + Add Recording.
- Fill in:
- Name — short, no spaces, e.g.
main-greeting. - Description — optional.
- Language —
Defaultor pick a language.
- Name — short, no spaces, e.g.
- In the Record over Extension field, enter the extension you'll record from (e.g.
1001). - Click Click to Record (or the Go / similar button next to the extension field). The page will tell you to dial the recording feature code from that extension.
- From the extension, dial
*77(default record code). - After the beep, record your greeting. Press
#when done. - To listen back, dial
*99from the same extension. - To re-record, dial
*77again — it will overwrite. - Back in the GUI, click Save.
- Click Apply Config.
Upload a pre-made file¶
- System Attributes → Recordings → + Add Recording.
- Fill in Name / Description / Language.
- Click Browse under Or upload a recording.
- Pick the file. Supported formats: WAV (best — must be 8 kHz mono PCM), GSM, ULAW.
- Click Save.
- Click Apply Config.
To convert a higher-quality MP3 to the right WAV format on the host:
sox input.mp3 -r 8000 -c 1 -e signed-integer -b 16 output.wav
# Or via ffmpeg:
ffmpeg -i input.mp3 -ar 8000 -ac 1 -acodec pcm_s16le output.wav
Verify¶
Use the recording in an IVR or Announcement, call into it. The audio should play cleanly with no distortion.
Common Issues¶
- Distorted / scratchy playback. Wrong format. Asterisk plays best at 8 kHz mono 16-bit PCM WAV. Use
soxto convert. - "Recording feature is not enabled." The
*77feature code is disabled in System Attributes → Feature Codes. Enable it. - Recording is silent. Microphone muted on phone, or extension wasn't registered when
*77was dialed. Re-register and retry. - File-too-large upload error. UnifiedBX limits uploads to ~10 MB by default. For long recordings, edit
php.iniupload_max_filesizeor split the recording. - Recordings overwrite each other when re-recording. That's the point —
*77always writes to the file selected in the GUI's "Record over Extension." If you want to preserve the old version, rename the file in/var/lib/asterisk/sounds/custom/first.