Skip to Content
Switching to VoIP
book

Switching to VoIP

by Theodore Wallingford
June 2005
Intermediate to advanced
502 pages
21h 48m
English
O'Reilly Media, Inc.
Content preview from Switching to VoIP
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Compiling and Installing Asterisk
|
53
Installing Mpg123
The application responsible for providing music and messages for holding callers is
called Mpg123, but don’t confuse it with the Mpg321 application that ships with
Red Hat Linux. Mpg321 doesn’t work with Asterisk, so you must replace it with
Mpg123.
To do this, start by shutting down the Asterisk server process if it’s running. Then,
make sure there are no Mpg321 or Mpg123 processes running:
# ps ax | grep mpg123
900 std S+ 0:00.00 mpg123
# kill 900
# ps ax | grep mpg321
1024 std S+ 0:00.00 mpg321
# kill 1024
You may not actually have both applications running, or even installed, but it’s best
to make sure neither is running before you proceed.
As of this writing, Mpg123 has a remotely exploitable security bug
that is documented at http://www.mpg123.de. Be sure to read the
developers’ description of the issue and proceed with caution.
By default, Red Hat has symbolic links for the Mpg321 package that make it appear
synonymously with Mpg123. These must be removed in order to install the correct
package:
# rm /usr/bin/mpg123
# rm /usr/local/bin/mpg123
Next, download a Red Hat Linux–compatible build (RPM package) of Mpg123 from
http://www.mpg123.de and install it with a command similar to this one, called from
the directory where the downloaded ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

VoIP Voice and Fax Signal Processing

VoIP Voice and Fax Signal Processing

Sivannarayana Nagireddi
Voice Over IP

Voice Over IP

Uyless Black

Publisher Resources

ISBN: 0596008686Catalog PageErrata