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.
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
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
yum -y install mpg123 mpg123-devel madplay madplay libid3tag libid3tag-devel
Add a new streaming category in the WebGUI as follows:
Category Name: Online
Application:
/usr/bin/mpg123...