FreeSWITCH Adds FFmpeg 8 Support. What Does It Mean for Music On Hold?

Picture putting a caller on hold and hearing a song they recognize, followed by a message your team scheduled that morning. With a live stream, that change happens without anyone replacing an audio file on the phone system. Now this can be handled over HTTPS using a modern audio player in FreeSWITCH. Easy On Hold is an experienced provider of FreeSWITCH streaming hold music.

FreeSWITCH Adds FFmpeg 8 Support for Streaming Music On Hold

FreeSWITCH v1.11.4 adds FFmpeg 8 compatibility to mod_av, its existing FFmpeg playback module. If you manage a FreeSWITCH system, you can try the FFmpeg playback path with live music and messages over HTTPS on a single test extension. Read the FreeSWITCH v1.11.4 release notes

Why Use FFmpeg and HTTPS for FreeSWITCH Music On Hold?

  • Protect the audio feed in transit. If your current stream uses plain HTTP, moving to HTTPS encrypts the connection between your streaming provider and FreeSWITCH. With certificate verification enabled, FreeSWITCH can also verify the server’s identity. How HTTPS protects the connection
  • Use your provider’s HTTPS URL directly. With mod_av loaded, FreeSWITCH can hand the stream URL directly to FFmpeg using av://https://…. That gives techs a second playback option they can try on a single extension. FreeSWITCH mod_av source
  • Get more flexibility in audio formats. mod_shout uses libmpg123 for MP3 playback. FFmpeg can decode a wider range of formats, giving you more options if your streaming provider changes formats. Test the specific feed on your FreeSWITCH build. FreeSWITCH audio documentation · FFmpeg formats
  • Check the stream before putting a caller on hold. FFmpeg’s companion tool, ffprobe, can open the HTTPS URL from the PBX and report the codec, sample rate, and channel count. That gives techs a quick way to check the feed before testing it on a live call. ffprobe documentation

If you already use mod_shout with a shouts:// URL, you already have HTTPS. The reason to try FFmpeg is to evaluate another playback option. Compare how quickly audio starts and what callers hear after an interruption before switching production traffic. FreeSWITCH streaming documentation

Why FreeSWITCH Streaming Hold Music?

With a live stream, your phone system plays a continuous feed of music and announcements. Your team can schedule a holiday greeting, change a promotion, or retire an outdated message in the Easy On Hold® Content Control Center™ without rebuilding and replacing an audio file on the PBX. Callers join the stream in progress, so they can hear different content each time they’re placed on hold. Easy On Hold for FreeSWITCH

Streaming also lets you play original recordings by popular artists via a service licensed for telephone hold. Easy On Hold’s Logo Radio™ can mix familiar hits with branded announcements. The permission comes from the service’s music licenses, which cover the intended use. Logo Radio · Music licensing for business

Why use HTTPS for the stream?

HTTPS encrypts the audio feed between the streaming server and your FreeSWITCH system. With certificate verification enabled, FreeSWITCH can verify the server’s identity and help protect the feed from tampering in transit. Plain HTTP sends the feed without that protection. How TLS protects an HTTPS connection

How to test FFmpeg on one extension

  1. Start with one test extension. Confirm mod_av is loaded, save the current hold_music value, and ask Easy On Hold for an HTTPS MP3 test stream. Set the test call’s hold source to av://https://your-test-host.example/live.mp3, substituting your actual URL. FreeSWITCH hold music configuration · FreeSWITCH mod_av source
  2. Make a call and listen. Check how quickly the audio starts and how promptly the call resumes when you take it off hold. If you’re also testing callers waiting for an agent, use a test queue and check its moh-sound setting separately. FreeSWITCH queue configuration
  3. Test what happens when the feed drops. Briefly interrupt and restore the test feed. Check what the caller already on hold hears, then place a new call. If you already use mod_shout, compare both on the same feed. FFmpeg has HTTP reconnect options, but this version of mod_av doesn’t pass them when it opens the stream. The live call tells you how your setup actually recovers. FFmpeg reconnect options · How mod_av opens the stream

Want to hear it on your own phone system? Start with one extension and a free Easy On Hold test stream.

Updated on November 24, 2026
Was this article helpful?

Related Articles