Using Internet audio streams

For using Internet music streams as music on hold, we must first install some packages needed to reproduce online streaming. The packages we need to download and install are mpg123, mpg123-devel, madplay, libid3tag, and libid3tag-devel.

We will use the yum and rpm commands. To know more about these commands, please visit http://yum.baseurl.org/ and http://www.rpm.org.

How to do it…

Install the required packages by typing the following commands into the Elastix console.

  • For a 32-bit operating system

    rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

    yum -y install mpg123 mpg123-devel madplay libid3tag libid3tag-devel

  • For a 64-bit operating system

    rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm ...

Get Elastix Unified Communications Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.