login | register
Wed 01 of Aug, 2007 [09:17 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.

Web www.voip-info.org
Shoutbox
  • Aykut, Wed 01 of Aug, 2007 [07:53 UTC]: Hi all, does anybody know about Thomson ST2030 SIP phone. I have upgraded it to latest version (1.56) but "Hold" and "Conf" features are not working after the upgrade ?? Do you know any solution or do you have Ver. 1.52 ?? Where can I find it?
  • Edward J Brown, Tue 31 of Jul, 2007 [23:33 UTC]: Has anybody experienced Choppy voice quality when using a Linksys SPA942 in an Asterisk Conference bridge? It works fine with my polycom and Cisco, but sucks with my Linksys.
  • www.astawerks.com, Fri 27 of Jul, 2007 [18:00 UTC]: does anyone use asterisk on top of clark connect? does it work good?
  • simon, Fri 27 of Jul, 2007 [14:16 UTC]: Hi All, Has anyone here managed to get the Cisco79x1 to successfully fail over to the backup proxy. I have 2 asterisk servers , handsets all register and function, except that backup proxy function doesn't work. Any working example would be very apprecia
  • Matthew Richmond, Thu 26 of Jul, 2007 [03:40 UTC]: using the page() application to page across our building...often the meetme conferences don't disconnect after the caller hangs up. Anyone else having this problem. (using Polycom phones)
  • Matthew Richmond, Wed 25 of Jul, 2007 [02:58 UTC]: thanks Nicholas Blasgen! I haven't worked with AGI before, but there's always a first! Thanks again!
  • Nicholas Blasgen, Tue 24 of Jul, 2007 [19:18 UTC]: Matthew Richmond, AGI will handle all that for you.
  • sam, Mon 23 of Jul, 2007 [16:39 UTC]: need help - certain voicemail extension will stop working and recording voicemail on asterisk - anyone know why and how to fix it? Thanks
  • john haji, Mon 23 of Jul, 2007 [14:55 UTC]: free calls to pakistan
  • bong, Sat 21 of Jul, 2007 [19:09 UTC]: hi good day to all can anyone help me how to configured the nortel sip to the signaling server and how to activate in mobile w/ sip compatible without mcs
Server Stats
  • Execution time: 0.18s
  • Memory usage: 2.21MB
  • Database queries: 32
  • GZIP: Disabled
  • Server load: 2.81

mpg123

Quoted from the homepage:

"mpg123 is a real time MPEG Audio Player for Layer 1,2 and Layer3. (MPEG 2.0 with Layer1/2 not heavily tested) Tested with Linux, FreeBSD, SunOS4.1.3, Solaris 2.5, HPUX 9.x and SGI Irix. Plays Layer 3 in stereo on an AMD-486-120Mhz or (of course) a faster machine. (Just for info: mpg123 plays an average 128bps stream, with about 66% in full quality on my AMD 486-133MHz machine) Note: this player is only for non commercial use."

Homepage of MPG123

mpg123 version 0.59r is known to work with Asterisk.

Do not install or use mpg321 on the linux-System because it does not do the necessary converting of the frequency.
So e.g. if your music on hold sounds odd on the phone, most likely there is a problem with the codec/player.

INSTALLING THE CORRECT VERSION
If you are *EVER* unsure that mpg123 is correctly installed (correct verison etc), you can enter the asterisk source tree, and type 'make mpg123' (without quotes), and mpg123 v0.59r will be download ed, unpacked, and built for you, and then a simple make install will install asterisk AND mpg123 in one smooth motion.
-Josh

Also see format_mp3 from asterisk-addons. This can be used as a replacement for a external mp3 decoder.
See Asterisk MusicOnHold Configuration for more info.

See Also

Created by Yosh, Last modification by jamieg on Tue 07 of Jun, 2005 [13:35 UTC]

Comments Filter

broken'make mpg123'

by steelback on Friday 02 of February, 2007 [18:56:16 UTC]
thanks to Mathias Pasquay, your solution helped me
I have the same problem with Slackware 11.0, gcc 3.4.6, GNU Make 3.81

Same Problem in Suse 10.2

by Silvio Lucas on Friday 26 of January, 2007 [12:44:10 UTC]


gcc: gcc-4.1.3-29
make: make-3.81-23

I was compilling mpg123 in my suse box (10.2 version) and I had the same problem of Mathias Pasquay. I did the same changes and works normally. I don't know why, but works. :) My gcc is gcc-4.1.3-29 and make is make-3.81-23.

by callwbs on Monday 13 of November, 2006 [06:24:16 UTC]
Thanks for the post - it fixed our issue with Fedora Core6.

Debian Sid (gcc 4.11 and make 3.81) workaround

by Mathias Pasquay on Sunday 22 of October, 2006 [11:25:43 UTC]
If you try to compile mpg123 with "make mpg123" on a Debian Sid system you'll get the following compile error:

<pre>
gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
       -DREAD_MMAP -DOSS -DTERM_CONTROL\
       -Wall -O2 -m486 \
       -fomit-frame-pointer -funroll-all-loops \
       -finline-functions -ffast-math   -c -o dct64_i386.o dct64_i386.c
<command line>:1:13: warning: missing whitespace after the macro name
as -o decode_i586.o decode_i586.s
make3: *** No rule to make target `\
', needed by `mpg123'. Stop.
</pre>

I just changed these lines in the Makefile
<pre>
linux:
               $(MAKE) CC=gcc LDFLAGS= \
               OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
                       audio_oss.o term.o' \
               CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
                       -DREAD_MMAP -DOSS -DTERM_CONTROL\
                       -Wall -O2 -m486 \
                       -fomit-frame-pointer -funroll-all-loops \
                       -finline-functions -ffast-math' \
               mpg123-make
</pre>

in these two lines

<pre>
linux:
               $(MAKE) CC=gcc LDFLAGS= OBJECTS='decode_i386.o dct64_i386.o decode_i586.o audio_oss.o term.o' CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX  -DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math' mpg123-make

</pre>


now it works. I don't know if this is a Debian specific problem or if it has something to do with my make or gcc version.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2007 Arte Marketing, Inc.

Powered by bitweaver