login | register
Wed 01 of Aug, 2007 [09:56 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.38s
  • Memory usage: 2.20MB
  • Database queries: 32
  • GZIP: Disabled
  • Server load: 2.64

Asterisk mpg123 redhat

Musiconhold on RedHat Linux


Redhat (v7-v9) has replaced the mpg123 application with another application, mpg321, and created a symbolic link to "mpg123", so it seems to work in the same way. Asterisk MusicOnHold only works with original mpg123.

How to fix the problem

First, shutdown asterisk and kill all mpg process:

 killall -9 mpg123

Second, remove the symbolic links mpg123 located in /usr/bin and /usr/local/bin:
 rm /usr/bin/mpg123
 rm /usr/local/bin/mpg123        (if exists)
___
Third, you need to download
(NOTE DO NOT USE 0.59q... USE 0.59r YOU HAVE BEEN WARNED!)
 http://www.mpg123.de/mpg123/precompiled/mpg123-0.59q-1.i386.rpm
And install using
 rpm -ivh mpg123-0.59q-1.i386.rpm
___
I would suggest an alternative way of doing this which in my opinion is cleaner:

  1. cd /usr/src/asterisk
  2. make mpg123
  3. make install

This will automatically download mpg123 0.59r from its source, unpack it and compile it. Make install will install mpg123 together with Asterisk.

Please note that if you use RedHat (I'm using RH 7.3), your music on hold won't work unless you do this.


In the /etc/asterisk/musiconhold.conf file, ensure an entry like this exists:
 ; Music on hold class definitions                               
 ;                                     
 [classes]                         
 default => mp3:/var/lib/asterisk/mohmp3   ; location of mp3 files to play sequentially

No other changes are required to any other asterisk configuration files for simple Music On Hold use.

Last step (obviously) is start asterisk again.

Troubleshooting:
On a properly configured system, the asterisk CLI will show something similar to the following when a sip phone places a call on hold:



   — Called 3014
   — SIP/3014-7874 is ringing
   — SIP/3014-7874 answered SIP/3000-56f1
   — Attempting native bridge of SIP/3000-56f1 and SIP/3014-7874
   — Started music on hold, class 'default', on SIP/3000-56f1



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 oej, Last modification by jamieg on Tue 07 of Jun, 2005 [13:36 UTC]

Comments Filter

by ncksm on Friday 02 of March, 2007 [22:06:23 UTC]
Does anyone have the patch? The link from Ubuntu Forum is broken.

by ncksm on Friday 02 of March, 2007 [22:05:49 UTC]
Does anyone have the patch? The link from Ubuntu Forum is broken.

mpg123 and amd64

by Henry on Wednesday 10 of May, 2006 [07:41:36 UTC]
It compiles on amd64. Just need to patch it.

http://www.ubuntuforums.org/showthread.php?t=136785&page=3
Edit

mpg123 and amd64

by Anonymous on Saturday 12 of February, 2005 [20:44:52 UTC]
mpg123 does not compile on amd64.

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