http://phonewire.com/wp-content/uploads/Xorcom-Logo.jpg

 

https://www.cluecon.com/media/img/sponsor/voip-info_logo_x170_v2.png

 

https://lh5.googleusercontent.com/-UUDyQ0CdJwY/UsXGpq9p6DI/AAAAAAAAP-A/vUu7Bs8gr3U/w480-h500-k/Asterisk-Logo.PNG

 

http://www.nielsonnetworks.com/images/freepbx-logo.png

 

http://members.optusnet.com.au/bsharif/elastix/CoverElastix.jpg

 

http://www.asteriskguru.com/images/logo.gif

 

 

http://images.tmcnet.com/expo/images/logos/vitelity-logo.jpg

 

 

johnj.jpgAsterisk Tips/Fixes/Features

by John Johnson

These are various Asterisk how-to items I have found/developed over the last few years. Feel free to use or share them, I look forward to adding more as I am able to compile them into a share-able format from my own notes.    

“Experience is what you don’t get until just after you needed it.”

Home

Making Yealink T42g Custom RingTones

 

   One of the things modern SIP phones allow you to do is add your own ringtones rather like you do on your smart phone. Today I figured out how to do this on a Yealink T42g phone. I haven’t tried it on any other Yealink models (and that’s my disclaimer right there) but this does work on the T42 and I would think it probably would on the rest of the T4x series. It’s pretty great, now I have the Three Stooges singing “Hello, Hello, Hello” in harmony when calls come in and that makes it totally worth the time spent to figure this out.

    The files have to be mono, .wav, u-law at 8khz and less than 100K. It’s easiest to start out with a mono .wav file (of whatever bit/khz flavor) and use the sox converter included with Centos on your asterisk server. I started out with about 12 files I had downloaded without really checking them too much, most of them came from here. I put them in a folder on my asterisk box via WinSCP and tried each one with a few blowing up (sox complained about mpeg layer 3 format) and  a few of them came out too big and in the end I had 7 that came out fine and worked on my T42g.

     The actual sox command I used was:

sox inputfile.wav -c 1 -r 8000 -U outputfile.wav

Because I had several files  to try, I cheated and wrote a line for each in a notepad text file and when they were ready just pasted them one after another into a putty.exe window connected via ssh to my asterisk server. It looked like this when I had finished, failures and all:

 

   After moving the files back onto my PC desktop for convenience, I opened the html gui of my T42g, went to the “Settings” tab, clicked on “Preference” in the left column and hit “browse” under “Upload Ringtone” to find my converted wav files then clicked “Upload”. There is a limited amount of memory on these phones and I could only put one ringtone on at a time. My phone had six built-in ringtones that it wouldn’t let me delete, so I tried my newbies one-at-a-time, deleting each to make room for the next.

 

 

    When you successfully upload a ringtone it will then appear in the “Ring Type” dropdown, so select it and hit “Confirm”. Then it should play each time the phone is called. Further testing showed me that if you are sending alerting ringtones from your Asterisk server i.e. Bellcore-drx, they will overcome your custom ringtones you have uploaded… which isn’t necessarily bad, I mean, the intention with alerting ringtones from Asterisk is to signify those calls.

 

These are the ringtones I made and tested, feel free to download/use them:

 

Three Stooges Ringtones:

Hello, Hello, Hello!    Curly “Nyuk Nyuk Nyuk     Curly “Woob Woob Woob

 

Cartoons:

Cat’s Meow   Rooster Crows  There’s a Yankee!

 

Loud Siren

 

 

Home