Wireshark is the defacto tool for diagnosing VOIP problems. It has a rather steep learning curve to get useful accurate information from it. I think your problem is pretty basic in nature though.
- What is your internet connection type and speed? A DSL connection will never handle more than a couple trunks or remote extensions.
- What is the result of a VOIP speed test?
- How many SIP trunks?
- Who is the SIP provider?
- Ports are 5060-5062 TCP&UDP and your SIP provider needs to tell you what port range they want for RTP audio stream 10,000-20,000 UDP is just the starting point for a single trunk/phone. (my 18 trunks run 10,000-60,000 UDP)
- Low end SOHO routers like the Buffalo and the Linksys WRTxx even with the public domain software replacements are simply inadequate to handling VOIP. I have found that the SPI software will queue up packets on almost every SOHO router out there and will walk all over your QOS settings. It takes a hardware firewall designed to optimize for VOIP or a really powerful PC running a software firewall to keep up with the RTP. Consider a Draytek or Edgemark router witht eh SPI turned off they specialize isn small VOIP setups on Cable and DSL..
- You can probably get a 40% improvement just by turning off the SPI.
- Softphones are notorious for chop and bad audio. The QOS in WIndows is abismal. Recommend >2GHz with a dual core processor, 2GB RAM of DDR2 or better and SATA drive. Also analog headset on hardware audio jacks is preferred over a USB headset. Do you experience perfect audio on extension to extension calls that are entirely on the LAN? Don't perform CPU I/O intensive things while talking on the softphone as PC's NIC may have a little QOS control, the CPU and I/O bus are for the most part first come first served. Burning an ISO on an IDE drive is not a good thing to do
- You need bandwidth management that is IP based and a fixed IP address for the asterisk box. You need to reserve 100kbps of the upload speed for every trunk or remote extension on G711 CODEC. You also need to leave an upload reserve for additional overhead generated by the asterisk box for DNS, and chat with the SIP registration and proxy servers.
That;s enough of a list to get you some things to start working on.
Mark





by: kparrentPosted on 2009-10-08 at 20:03:33ID: 25532079
My first suggestion will be to download a program called Wireshark. Wireshark will show you all traffic that is coming across the network cable attached to your computer along with its ports. Install wireshark, start monitoring traffic, and then start a call on your VoIP phone. Check the ports to ensure that they are as listed above.
Nex, does your VoIP pone have any kind of integrated data tagging feature? I setup QOS on Cisco phones and they have a built in feature to auto tag all VoIP traffic as DSC4, which then made it extremely easy to setup QOS.