You should look at the asterisk-addons package.  There is a addon
module in the package called format_mp3 that will play your mp3 files
instead of using mpg123 (which is a dead project).

I just use sox to convert my mp3's to GSM with something like this:

/usr/bin/sox musicfile.mp3 -r 8000 -c1 musicfile.gsm resample -ql

This also puts it into 8bit mono, which sounds a little better on our phones.

I have a compiled version of sox with added support for the lame
encoder (mp3).  They are RPM's built for CentOS/RHL.  If you want
them.

On 12/20/06, Phil Finkler <[EMAIL PROTECTED]> wrote:


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! J

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



_______________________________________________
--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



_______________________________________________
--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

Reply via email to