[Asterisk-bsd] mpg123 and asterisk port

Vahan Yerkanian vahan at arminco.com
Tue May 23 22:06:21 MST 2006


Graham Menhennitt wrote:
> Vahan, could you please explain how to use "native formats" for moh.
> 
> Thanks,
>     Graham

Here is my musiconhold.conf:

----8<----
[default]
mode=files
directory=/usr/local/share/asterisk/mohmp3
random=yes
----8<----

# ls /usr/local/share/asterisk/mohmp3

----8<----
1.al
1.ul
1.gsm
1.sln
2.al
2.ul
2.gsm
2.sln
3.al
3.ul
3.gsm
3.sln
----8<----
etc

I've used sox to convert the files. slinear is for the file formats that 
I don't have readily made, it cuts out the decode part of the conversion 
part every time the file has to be converted.

regards,
Vahan




More information about the Asterisk-BSD mailing list