[Asterisk-Users] problem w/ musiconhold & mpg123

john lawler maillist at tgice.com
Thu Oct 2 12:54:05 MST 2003


I'm trying to get musiconhold to work w/ my Asterisk system, and I'm not 
having much success yet.

First, I noticed that nothing happened even after I had enabled all of 
the options in zapata.conf & setup a sample extension in extensions.conf.

Then I read something about how Asterisk uses mpg123 to play the files. 
  I discovered that this had not been installed on my system, so I used 
apt to install it.  That install when successfully.

But now, instead of the silence I used to get during holds (why would 
Asterisk have not indicated that it was missing mpg123 to me?), I get 
this very strange sound that is certainly not the sample mp3 that's in 
the music on hold directory.  It's possible it's that file w/ the pitch 
and or speed way out of adjustment, I guess, but why would that be 
happening?

As a side note, I've always seen this error message on startup in 
Asterisk, even though I doubt it'd be critical to play music on hold, 
since normal messages (like in the included 'demo' context) play fine 
(GSM, WAV, I suppose):

Oct  2 13:23:46 WARNING[1074402464]: File chan_oss.c, Line 423 
(soundcard_init):
  Unable to open /dev/dsp: No such device

Anyone have any ideas on this?

Thanks,

John Lawler




More information about the asterisk-users mailing list