Finding the cause of intermittent call quality issues

I’m running the latest Asterisk 1.2. I have a full T1 and QoS prioritizing the following ports: tcp 5060 tcp 5061 udp 5060 udp 5061

The server runs Slackware 12.0, CPU is AMD Sempron 2800+ with 1GB Ram. This same box also runs squid and samba for the office of 10 people. We have intermittent call quality issues. All calls use g729 and at most we have 4 calls at once to/from our SIP provider. I have two questions:

  1. Is my QoS on these ports doing any good, and should I also QoS the udp 10000-20000 ?

  2. How likely is it that moving Asterisk services to a separate, dedicated server would help?

Any thoughts are welcomed!

  1. You will need to set up QoS for UDP on ports 10000-20000. Ports 5060 and 5061 are just used for signaling. The actual voice conversation is carried on the other ports.

  2. Try 1 first. You are more likely dropping the packets on your network

AFAIK, this depends on the ATA devices. Some ATA devices use UDP ports 5060 - 5080, 10,000 - 20,000, while others use any random UDP ports.