Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

we have a small instance running on ec2 of
which has been updated as far as i can see

We signed up for sipstation (because it removes half the configuration headaches)

my problem is sipstation says it is using
codec Priorities : ulaw | g729

my thought is that if the phones (gxp2000) arent using the same codec then the asterisk box is having to encode all of the phone data (overloiading the tiny processor and killing call quality)

current setup is

# Preferred Vocoder
# 0 - PCMU, 2 - G.726-32, 3 - GSM, 4 - G.723.1, 8 - PCMA,
# 9 - G.722, 18 - G.729A/B, 98 - iLBC

 In order :

which (both?) should i change and is my thought process corect on the quality

share|improve this question
It also seems to stutter on the recordings (not cut out) but literally pause and then continue to play – MarkKGreenway Nov 10 '11 at 19:39
Also Getting a severe stutter on recording playback...… the stutter is not always in the same place this is the file I upload to "System Recordings" I moved to EBS and that had no affect on this – MarkKGreenway Nov 11 '11 at 18:50
up vote 1 down vote accepted

You are right that the Asterisk box has to transcode the audio. I'd say try setting Asterisk and your phones to use GSM and see how it goes.

I'm guessing the G729 codec is what is causing the stutter. It requires more processing power that many phones cannot handle, especially if you're doing three way calling.

share|improve this answer
it shouldnt be affected by the phones because it is IVR and never gets to the phone ... hmmm – MarkKGreenway Nov 15 '11 at 20:09
  • Check out 'sip show channelstats' to give you an idea of what is going on
  • Make sure you aren't doing any call recording because that could kill your system
  • Make sure firewalls aren't blocking any packets
  • Make sure local bandwidth isn't being eaten up by a workstation streaming music, bittorrenting, etc..
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.