This is a discussion on Creating wav files for Yealink ringtones within the Yealink forums, part of the Free VoIP Technical Support category; Is there a proven method to create properly formatted ringtone files for the Yealinks. According to the docs they must ...
Is there a proven method to create properly formatted ringtone files for the Yealinks.
According to the docs they must be smaller than 100k; 16 bit 8k ulaw. I have tried various programs to create a working file to no avail. I have worked with sox, switch sound file converter and audacity. Windows properties indicates that the file meets the spec. The trixbox's http log shows that the file was requested during provisioning and the ringtone pulldown on the phone shows the file. But it won't play. Am I missing an obvious step?
Last edited by camp; 02-03-2011 at 02:29 PM.
Have you tried uploading the ring tone via the Phones Web Gui as a test? Why dont you share the tone and we can test it.
Last edited by Matthew; 02-09-2011 at 11:05 AM.
888Voip Systems Engineer
I'd be happy to but my permissions don't allow posting attachments. I tried going thru the phone's gui with no difference.
Note: Audio files (once converted per instructions below) can not exceed 100k.
Easiest way to convert a file for use as audio file in Yealink phone.
1) Use your audio editing program of your choice to edit the file.
2) Save it as MONO .wav file
3) Use SOX command line version for Windows (have not got it work in Linux).
You want to convert the .wav file to a .wav file with U-Law encoding. There is a typo on the Yealink web interface (probably also in the manual) - it says to use 16 bit file... u-law will not encode at 16bit, it will at 14bit and that will work.
command line to convert the file:
If it gives you a WARN flag related to clipping, it's because the input file volume is too high.Code:sox InputFileName.wav -e u-law -r 8000 OutputFileName.wav
To lower it, you can use the -v (volume) parameter in front of the input file. The -v parameter operates in multiple of volume, so you need a fractional number to decrease volume. Here's an example:
-Mike BorschowCode:sox -v 0.95 InputFileName.wav -e u-law -r 8000 OutputFileName.wav
Vway Technologies / TelcoConnect
Last edited by vway; 02-06-2011 at 07:43 PM.
exactly what I was looking for. Thank you. I was using sox on linux and had recognized the contradiction in the ulaw encoding but was not able to come up with a working model.
I have tried the above and it didn't work for me, so I tried sox sourcesound.wav -c 1 -r 8000 -U ring tone1x.wav and it worked
Thank you for posting this info.
Technical Support Specialist