[Asterisk-Users] Native MOH - Convert mp3 to ulaw

Bob McDowell bmcdowell at federalprotection.com
Tue Mar 21 13:40:10 MST 2006


Did you already solve the 'sox not supporting mp3' problem?

I think the file extension for ulaw is '.ul' in sox.  (Per the bottom of
http://www.waveformsoftware.com/SoX_Wrap/soxhelp.htm)

Is there a way to test that assumption?



Bob McDowell
Services Administrator
Federal Protection, Inc
(417) 869 9192 x 230
bmcdowell at federalprotection.com


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Douglas
Garstang
Sent: Tuesday, March 21, 2006 2:07 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Native MOH - Convert mp3 to ulaw

Tried it. It doesn't seem to like converting to ulaw, unless I'm doing
something wrong. The man page mentions ulaw briefly, but doesn't say HOW
to convert to it.

Doug.

> -----Original Message-----
> From: Bob McDowell [mailto:bmcdowell at federalprotection.com]
> Sent: Tuesday, March 21, 2006 12:58 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] Native MOH - Convert mp3 to ulaw
> 
> 
> 
> I don't know for sure about the formats, but I'd try sox.  I'm pretty 
> sure pcm/ulaw is built in...
> 
> 
> Bob McDowell
> 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Douglas 
> Garstang
> Sent: Tuesday, March 21, 2006 11:03 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Native MOH - Convert mp3 to ulaw
> 
> I'd like to use native moh instead of with mpg123... for some reason 
> the processes never bloody die.
> 
> For native moh to not spawn an external player, I'd need to convert 
> the default supplied moh sound files in /var/lib/asterisk/mohmp3 to 
> ulaw and
> g729 format. Anyone know of a free, easy way to convert them?
> 
> Thanks,
> Doug.
> _______________________________________________
> --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
> 
_______________________________________________
--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






More information about the asterisk-users mailing list