[Asterisk-Users] problem w/ musiconhold & mpg123

Eric Wieling eric at fnords.org
Thu Oct 2 13:17:43 MST 2003


That sound you hear is the sound of mpg321 running.  Do an "ls -l
/usr/bin/mpg123"  if it's a symlink to mpg321 then you have found your
problem.

On Thu, 2003-10-02 at 14:54, john lawler wrote:
> 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
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Sample configs and more: http://www.fnords.org/~eric/asterisk/

BTEL Consulting
+1-850-484-4535 x2111 (Pensacola)
+1-504-595-3916 x2111 (New Orleans)
+1-877-677-9643 x2111 (Toll Free)




More information about the asterisk-users mailing list