I have found in two different hosted pbx VMs voicemails and announcements Delays and Crackles when it plays, also when you record. any advice on where can I start looking to fix it.
Sound distortion is usually, but not always, a sign of an overloaded server. Can you run htop and try to play an announcement to check if you have CPU usage spikes?
I run test, we have a number that plays announcement when you call. I call and sometimes the voice crackles. I capture 3 screens shoots during a test call, please note the announcement start to distort between image 1 and 2.
I’ll try to get another core, there some spikes on the cpu usage but not for a long time, and during calls this isn;t a problem, mainly when playing or recording announcements or voicemails, that’s the part that don’t know how to troubleshoot.
Probably, Asterisk is transcoding the announcement. Have you checked the audio files to make sure they are encoded with the same codec that you use for the phones and trunk?
the announcement is converted to ulaw and wav.
The file plays fine when play from the website but if plays during a call then it crackles, I’m adding the extra code, takes couple days because I need to scheduled, once gets applied will do another test and will post an findings. thanks for all the support and tips!
You can transcode the announcement to ulaw if the codec you are using is ulaw. Wav is not normally used. Which format is the current announcement file? Just check which codec you are using and transcode the file with asterisk command file convert filename.wav filename.ulaw assuming the current format is wav and you are using ulaw codec.
The codec buttons do not stay changed with the save/apply buttons because they only work when you are actually saving a new recording. To convert existing files, you need to use the asterisk command file convert