Same issue in 1.2.21 on FC6 with mpg123 0.66 (0.59r would not install on FC6).
What version of mpg123 are you using? What about Linux? Here is my musiconhold.conf [default] mode=quietmp3 directory=/var/lib/asterisk/mohmp3 there are mp3 files in the specific directory, and they are the default ones packaged in the asterisk source. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of Carlos Chavez > Sent: Monday, July 09, 2007 10:46 PM > To: Asterisk > Subject: [asterisk-users] Asterisk 1.4.7 and MOH > > I just installed the newly released Asterisk 1.4.7 and I cannot get > music > on hold. I am using the default settings with the wav files. Here is > what I > get on the cli from any sip phone: > > -- Executing [EMAIL PROTECTED]:1] NoCDR("SIP/1120-084e6010", "") in new > stack > -- Executing [EMAIL PROTECTED]:2] Answer("SIP/1120-084e6010", "") in new > stack > -- Executing [EMAIL PROTECTED]:3] MusicOnHold("SIP/1120-084e6010", > "default") > in new stack > [Jul 9 23:40:44] WARNING[24238]: channel.c:2964 set_format: Unable to > find a > codec translation path from ulaw to unknown > [Jul 9 23:40:44] WARNING[24238]: res_musiconhold.c:702 moh_alloc: Unable > to > set channel 'SIP/1120-084e6010' to format 'unknown' > -- Started music on hold, class '€¤Ü', on channel 'SIP/1120-084e6010' > [Jul 9 23:40:44] WARNING[24238]: res_musiconhold.c:575 moh0_exec: Unable > to > start music on hold (class 'default') on channel SIP/1120-084e6010 > > I do not know why it is not using the default moh. If I try to > reload > the moh here is what I get: > > pbx*CLI> moh reload > pbx*CLI> > 2 classes reloaded. > == Destroying musiconhold processes > == Parsing '/etc/asterisk/musiconhold.conf': Found > [Jul 9 23:40:51] WARNING[24230]: res_musiconhold.c:638 get_mohbyname: > Music > on Hold class 'default' not found > [Jul 9 23:40:51] WARNING[24230]: res_musiconhold.c:638 get_mohbyname: > Music > on Hold class 'prueba' not found > pbx*CLI> > > The classes are in the file and here is the output from "moh show > classes": > > pbx*CLI> moh show classes > Class: prueba > Mode: files > Directory: /var/lib/asterisk/moh > Class: default > Mode: files > Directory: /var/lib/asterisk/moh > > Could this be a bug? > > -- > Carlos Chavez > Director de Tecnología > Telecomunicaciones Abiertas de México S.A. de C.V. > Tel: +52-55-91169161 Ext 2001 > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
