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.
Start your free trial

You might also like

Voice over IP First-Step

Voice over IP First-Step

Kevin Wallace
Securing VoIP

Securing VoIP

Regis Jr (Bud) Bates
Low-cost Smart Antennas

Low-cost Smart Antennas

Qi Luo, Steven Shichang Gao, Chao Gu, Wei Liu

Publisher Resources

ISBN: 0596008686Catalog PageErrata