[Asterisk-Users] MusicOnHold not working

Sherwood McGowan madprofzero at yahoo.com
Thu Sep 15 05:56:40 MST 2005


It's because mpg123 is being passed an option --mono. Looks to me (a cursory
guess) that your asterisk installation is trying to force mono sound, and
mpg123 doesn't like it. 

->-----Original Message-----
->From: asterisk-users-bounces at lists.digium.com 
->[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
->Gurminder Arora
->Sent: Thursday, September 15, 2005 8:30 AM
->To: asterisk-users at lists.digium.com
->Subject: [Asterisk-Users] MusicOnHold not working
->
->Hi 
->      On my FC3 box with asterisk 1.0.9....MusicOnHold is not working.
->It starts and stops immediately...
->An unknow option mono comes...from where it is originating.??
->As there is nothing written in .conf file.
->Console output is below:
->
->
->I am using mpg123 version 0.59r.
->Although I am able to play music with mpg123 but why it is on 
->No-cooperation movement against asterisk ?
->
->Need help..any ideas any direction...
->
->Thanks
->Gurminder
->
->
->Console output
->***************************Snip***********************************
->-- Executing MusicOnHold("Zap/1-1", "default") in new stack
->    -- Started music on hold, class 'default', on channel 'Zap/1-1'
->    -- Stopped music on hold on Zap/1-1
->Unknown option: --mono
->*******************************************************************
->
->
->
->My musiconhold.conf is
->*******************************Snip************************
->[default]
->mode=mp3
->directory=/var/lib/asterisk/mohmp3
->application=/usr/local/bin/mpg123
->************************Snip**********************
->_______________________________________________
->--Bandwidth and Colocation sponsored by Easynews.com --
->
->Asterisk-Users mailing list
->Asterisk-Users at lists.digium.com
->http://lists.digium.com/mailman/listinfo/asterisk-users
->To UNSUBSCRIBE or update options visit:
->   http://lists.digium.com/mailman/listinfo/asterisk-users
->





More information about the asterisk-users mailing list