Skip to main content

Audio Recordings

Audio Recordings store audio files used for IVR prompts, announcements, and hold music. Upload your own recordings or reference external URLs for flexible audio management.

Recording Types

OPBX supports two types of audio recordings:

TypeStorageAccess Method
UploadMinIO (S3-compatible) internal storageEncrypted token + HMAC-signed URLs
RemoteExternal URL referenceDirect URL access

Upload Recordings

Files uploaded to OPBX storage benefit from:

  • Secure internal storage
  • Time-limited access URLs
  • Automatic validation and sanitization
  • Version control

Remote Recordings

External URLs provide flexibility for:

  • Content Delivery Networks (CDNs)
  • Third-party audio services
  • Dynamic content generation
tip

Use remote recordings when you need to update audio content frequently without accessing OPBX.

Supported Formats

FormatExtensionRecommended Use
MP3.mp3General purpose, smaller file size
WAV.wavHigher quality, IVR prompts

Maximum file size: 5MB (configurable by your administrator).

Uploading Audio Files

  1. Navigate to Recordings or Announcements in the sidebar
  2. Click Upload
  3. Select an audio file from your computer
  4. Enter a descriptive name
  5. Click Save
note

The upload process includes a validation pipeline to ensure file safety and compatibility.

Security Validation

All uploaded files pass through a security pipeline:

CheckPurpose
MIME Type CheckVerifies the file content matches the declared format
Extension CheckValidates the file extension is allowed
Binary SignatureConfirms the file is a valid audio file, not a disguised script
Script Injection DetectionScans for embedded malicious code
Filename SanitizationRemoves dangerous characters from filenames
warning

Files that fail validation are rejected. If your legitimate file is rejected, try converting it to a standard format or contact your administrator.

Using Recordings

Once uploaded, use recordings throughout OPBX:

FeatureHow to Select
IVR MenusChoose from the audio dropdown when creating menu options
Hold MusicSelect as the music source in queue settings
AnnouncementsAssign to time-based or event-based announcements

Downloading Recordings

To download a recording:

  1. Navigate to the Recordings list
  2. Find the recording you need
  3. Click the Download button
  4. The system generates a time-limited access URL
  5. Your browser downloads the file
info

Download URLs expire after a short time for security. If the link expires, request a new download.

Managing Remote Recordings

When using remote recordings:

  1. Enter a descriptive name
  2. Provide the full URL to the audio file
  3. Ensure the URL is publicly accessible
  4. Test the recording to verify it plays correctly
warning

Remote recordings depend on external availability. If the external service is down, the audio will not play.

Best Practices

File Naming

Use descriptive names that indicate the content and purpose:

  • "Main_Menu_Welcome_v2"
  • "Support_Hold_Music"
  • "After_Hours_Message"

Audio Quality

Use CaseRecommended FormatBitrate
IVR PromptsWAV128 kbps
Hold MusicMP3192 kbps
AnnouncementsMP3128 kbps

Storage Management

  • Delete unused recordings to free storage space
  • Use version numbers in filenames when updating (e.g., "Welcome_v2.mp3")
  • Document which recordings are used where for easier maintenance

Troubleshooting

IssueSolution
Upload failsCheck file size (max 5MB) and format (MP3/WAV)
Recording does not playVerify the file is not corrupted; try re-uploading
Remote recording failsCheck the URL is accessible and returns audio content
Poor audio qualityUse higher bitrate files or WAV format