Hi all, I've got Asterisk 1.2.10 up and running on Debian using the back ports. I noticed that it didn't come with mpg123 or depend on it and I believe I read somewhere that asterisk now handles it's own mp3 playback? Is this true? If so I must have a problem, because I hear no music when putting someone on hold. When looking at the console when putting someone on hold, I see the following: -- Started music on hold, class 'default', on channel 'IAX2/voicepulse01-3' -- Stopped music on hold on IAX2/voicepulse01-3 It says music starts and then it instantly stops. Any ideas? Thanks, Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061219/d11237c1/attachment.htm
I had this same problem. I also read that mpg123 was not required, but it actually is if you wish to use mp3 files. I just decided to go with RAW files because I had problems converting some mp3's to the appropriate bit rate. http://www.voip-info.org/wiki/index.php?page=Asterisk+mpg123+faking+it -- Kevin Trumbull -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Phil Finkler Sent: Tuesday, December 19, 2006 1:50 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] No music on hold? Hi all, I've got Asterisk 1.2.10 up and running on Debian using the back ports. I noticed that it didn't come with mpg123 or depend on it and I believe I read somewhere that asterisk now handles it's own mp3 playback? Is this true? If so I must have a problem, because I hear no music when putting someone on hold. When looking at the console when putting someone on hold, I see the following: -- Started music on hold, class 'default', on channel 'IAX2/voicepulse01-3' -- Stopped music on hold on IAX2/voicepulse01-3 It says music starts and then it instantly stops. Any ideas? Thanks, Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061219/5c387e73/attachment-0001.htm
On Tue, Dec 19, 2006 at 04:49:36PM -0500, Phil Finkler wrote:> Hi all, > > > > I've got Asterisk 1.2.10 up and running on Debian using the back ports.Debian does not include the default MoH files that come with Debian for legal reasons. Get some sound files in the moh directory, basically, and use the naitve moh. Grab http://updates.xorcom.com/rapid/pool/main/f/freepbx/asterisk-sounds-moh-freepbx_2.1.3.dfsg-1.2902_all.deb or an equivalent. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Heya,> I've got Asterisk 1.2.10 up and running on Debian using the back ports. > I noticed that it didn't come with mpg123 or depend on it and I believe > I read somewhere that asterisk now handles it's own mp3 playback? Is > this true? If so I must have a problem, because I hear no music when > putting someone on hold. When looking at the console when putting > someone on hold, I see the following: > > -- Started music on hold, class 'default', on channel > 'IAX2/voicepulse01-3' > -- Stopped music on hold on IAX2/voicepulse01-3 > > It says music starts and then it instantly stops. Any ideas?Do you have asterisk-addons installed? That could be the issue. J.
I installed the asterisk-addons from source and installed them. It looks like it copied format_mp3.so but I'm not sure if 1.2.14 addons are compatible with asterisk 1.2.10. Also I unpacked the asterisk source for the 3 MOH .mp3's and copied them to the appropriate location. Still MOH is not working. Any other ideas? Thanks again, Phil Heya,> I've got Asterisk 1.2.10 up and running on Debian using the backports.> I noticed that it didn't come with mpg123 or depend on it and Ibelieve> I read somewhere that asterisk now handles it's own mp3 playback? Is > this true? If so I must have a problem, because I hear no music when > putting someone on hold. When looking at the console when putting > someone on hold, I see the following: > > -- Started music on hold, class 'default', on channel > 'IAX2/voicepulse01-3' > -- Stopped music on hold on IAX2/voicepulse01-3 > > It says music starts and then it instantly stops. Any ideas?Do you have asterisk-addons installed? That could be the issue. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061220/df3ffcbb/attachment.htm
No, I didn't have m added. Should I have it added? I know I've ran Asterisk with mp3123 in the past and music worked ok. It seems when I hit the hold button on the phones, it does trigger the message saying music on hold is starting but it INSTANTLY stops. I wish it gave some details as to WHY it stops suddenly! This is driving me nuts. Phil Phil, did you add letter 'm' to your dial options?? exten => _XXX,1,Dial(SIP/XXX,60,m) Regards Arlen Nascimento On 12/20/06, Phil Finkler <PhilF at iqconsultinginc.com <http://lists.digium.com/mailman/listinfo/asterisk-users> > wrote:> > > I installed the asterisk-addons from source and installed them. Itlooks> like it copied format_mp3.so but I'm not sure if 1.2.14 addons are > compatible with asterisk 1.2.10. Also I unpacked the asterisk sourcefor> the 3 MOH .mp3's and copied them to the appropriate location. StillMOH is> not working. Any other ideas? > > Thanks again, > Phil > > > Heya, > > > I've got Asterisk 1.2.10 up and running on Debian using the backports.> > I noticed that it didn't come with mpg123 or depend on it and Ibelieve> > I read somewhere that asterisk now handles it's own mp3 playback?Is> > this true? If so I must have a problem, because I hear no musicwhen> > putting someone on hold. When looking at the console when putting > > someone on hold, I see the following: > > > > -- Started music on hold, class 'default', on channel > > 'IAX2/voicepulse01-3' > > -- Stopped music on hold on IAX2/voicepulse01-3 > > > > It says music starts and then it instantly stops. Any ideas? > > Do you have asterisk-addons installed? That could be the issue. > > J. > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- Arlen Nascimento -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061220/5420f0a5/attachment.htm
I'm totally at a loss here. I can't get music on hold when placing someone on hold or when dialing an internal extension. When I dial an internal extension I hear ringing yet on my phone it shows little musical notes like it thinks it's hearing music. What to do! :-) Phil Lee Jenkins wrote:> > I was wondering the same thing as my MOH isn't working either in a > 1.2.14 installation so I'm recompiling mpg123 as per: > http://www.voip-info.org/tiki-index.php?page=Asterisk+mpg123+redhat > > We know you obviously need to use the "m" flag for the caller to hear > MOH when dialing an extension, but I wonder if it's required AFTER the> call has been answered and then put on hold. >OK, asterisk just finished compiling and my MOH is working correctly. I have also verified that you do *not* have to have "m" in the Dial command in order for MOH to play when placed on hold. Note that I have a command in the initial context of my dialplan that set music on hold: exten=>s,1,SetMusicOnHold(default) -- Warm Regards, Lee -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061220/be5f2b86/attachment.htm