i've been searching the archives but can't find anything substantive on this. most of the music on hold documentation discusses integrating with zap hardware, but i am trying to send it across a sip channel. I have the following in extensions.conf: exten => 2100,1,Answer exten => 2100,2,MusicOnHold(default) and have uncommented the "default" line in musiconhold.conf: [classes] default => quietmp3:/var/lib/asterisk/mohmp3 I also installed mpg123, and created a symlink to /usr/bin (which is where it seems asterisk looks for it). Does anyone have any idea as to what I'm doing wrong here? Regards, -Steve
In article <768E5A61-8F18-11D8-AB53-000393B0A472@kokinos.com>, Steven Kokinos <steve@kokinos.com> wrote:> i've been searching the archives but can't find anything substantive on > this. most of the music on hold documentation discusses integrating > with zap hardware, but i am trying to send it across a sip channel.Music on hold requires a zaptel timing source. If you do not have any zaptel cards in your system, you will need to install either ztdummy (only if you have a uhci type of USB) or zaprtc. See http://www.voip-info.org/tiki-index.php?page=Asterisk+timer Cheers, Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org
Hello. My installation does not have a timing source and music on hold works just fine. My guess is that you forgot to put mp3 files in your /var/lib/asterisk/mohmp3 directory. My /etc/asterisk/musiconhold.conf file looks like this: ; ; Music on hold class definitions ; [classes] default => quietmp3:/var/lib/asterisk/mohmp3,-z ;loud => mp3:/var/lib/asterisk/mohmp3 random => quietmp3:/var/lib/asterisk/mohmp3,-z All of my ASterisk users are SIP users, and all of them get music on hold.