A hidden configuration option has been introduced to allow PBXware to store call recordings in stereo, with one call leg (speaker) recorded on the left channel and the other on the right channel.
TABLE OF CONTENTS
- Enabling Stereo Recording
- Additional Configuration Required
- Important Note on File Size
- Testing the Feature and Verifying Stereo Recording
Enabling Stereo Recording
Stereo recording can be enabled globally (all tenants) or per tenant. Please reach out to the Support Technical Team to enable this feature.
Additional Configuration Required
Stereo recording will not function properly unless the following steps are completed:
1. On the Master Tenant (Settings -> Tenants -> Edit)
Set Auto MP3 Conversion to one of the following options:
- Convert and remove original, or
- Convert and keep original

2. On the Master Tenant, and any Tenant where Stereo recording is enabled
- Set Recordings format to wav.

3. Regenerate Configurations
- After changing the Recording Format, re-save a Queue or ERG to trigger the regeneration of queues.conf and erg.conf.
- These configuration files must contain monitor-format=wav for stereo recording to function correctly
Once all three steps are completed, stereo recording will be active.
Important Note on File Size
- Stereo recordings will be significantly larger in file size.
- RAM should be increased to at least 256 MB to ensure proper operation.
- Temporary (raw) WAV files generated during call recording will be much larger.
- Final MP3 recordings are typically 2-3 times larger than mono recordings.
Testing the Feature and Verifying Stereo Recording
To verify that stereo recording is working correctly, follow these steps:
- Example: Place an outbound call via a trunk with Call Recording set to Yes.
- Once the call is completed, check the resulting MP3 file.
For the Multi-Tenant edition:
chroot /opt/pbxware/pw /bin/bash -c "cd /var/spool/asterisk/monitor/tenantcode && sox --i filename.wav or mp3"
For Contact Center edition:
chroot /opt/pbxware/pw /bin/bash -c "cd /var/spool/asterisk/monitor/ && sox --i filename.wav or mp3"
where filename.wav is the recording saved under the /opt/pbxware/pw/var/spool/monitor folder.
Example:

“Channels: 2” indicates that the file is a proper stereo recording. In contrast, mono sound files display “Channels: 1.”