Hello everyone, I am having a bit of problem getting MusicOnhold to play. I am running Asterisk 1.4 with MPG123 0.59 installed. And here's what i see in the debugging window of asterisk: -- Started music on hold, class 'default', on channel 'SIP/x123-082043d0' -- Stopped music on hold on SIP/x123-082043d0 Any idea why it is not playing the file at all? thanks Eric
On Dec 18, 2007 3:58 AM, itgasterisk <asterisk at ivrtechgroup.com> wrote:> Hello everyone, > > I am having a bit of problem getting MusicOnhold to play. > > I am running Asterisk 1.4 with MPG123 0.59 installed. > > And here's what i see in the debugging window of asterisk: > > -- Started music on hold, class 'default', on channel > 'SIP/x123-082043d0' > -- Stopped music on hold on SIP/x123-082043d0 > > Any idea why it is not playing the file at all? > >Hi Eric, Try to install asterisk-addons which can play mp3 (using format_mp3.so) files directly, instead of depending on mpg123. Once you install addons don't forget to set mode=files in musiconhold.conf -- Godson Gera, http://godson.in -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071218/d3cfc41a/attachment.htm
On Mon, Dec 17, 2007 at 05:28:12PM -0500, itgasterisk wrote:> Hello everyone, > > I am having a bit of problem getting MusicOnhold to play. > > I am running Asterisk 1.4 with MPG123 0.59 installed.Any specific reason you want to use mp3 format? If you downsample this to a 8kHz 16 bits per sample mono wav file you'll get a file which may be even smaller and will not take any special transcoding to play by Asterisk on each time. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir