[Asterisk-Users] MusicOnHold not working

Alex Kobalto kobalto at gmail.com
Thu Sep 15 10:08:17 MST 2005


I have the same "problem" with several softphones (Xlite), but there's one, 
Firefly I think, that worked. I found it strange, but not a real problem for 
me. I have the same asterisk server version, wich came with the last 
asterisk at home distribution.

On 9/15/05, Sherwood McGowan <madprofzero at yahoo.com> wrote:
> 
> 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<http://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
> ->
> 
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com <http://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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050915/baa7d4ae/attachment.htm


More information about the asterisk-users mailing list