Graves On SOHO Technology

End User Perspective On Home Office Technology
  • rss
  • Home
  • About
    • Contact
    • Advertisers
    • Disclosure
  • Guides & How-To’s
  • Product Reviews
  • Best of…
  • Raves
  • Works In Progress
  • My Personal Blog

Jared Valentine’s “Application Aware Triggered QoS”

mjgraves | March 5, 2008

Jared Valentine has posted an interesting description of a system he developed for automatically manipulating QoS & bandwidth allocation to support the use of VOIP over his DSL service. He calls this “Application Aware Triggered QoS.”

He described his initial problem as being trouble with inbound bandwidth management. This is something that I’ve never experienced myself. My trouble was always related to limited outbound bandwidth.

His process for understanding what was going on is an excellent example of how to analyze network traffic. His solution, while interesting, is probably not appropriate for everyone.

He uses a combination of Snort and pfSense to monitor network traffic, sensing the presence of SIP call setup signaling. When a call is sensed he fires a command to his Cisco router to engage rate limiting such that the call can proceed ideally. Once the call has been completed he automatically disables the rate limiting.

I did say it was novel, right? It’s like intrusion detection for VOIP.

He says very plainly that all he was seeking was one Vonage line, and that he had to severely throttle his allowable download speed to get clear calling. While Jared’s DSL service is said to be 1.5 Mb x 1.0 Mb he says that he had to limit to 800k download for the Vonage line to work correctly.

I wonder what Vonage interface device he was given? They have some with built-in routers and QoS is supposedly assured. I also wonder if he tried using Vonage’s low bandwidth setting? It just chooses a low bandwidth codec…very likely G.729a or a G.723 variant.

Share this:

Categories
VoIP
Tags
DSL, pfsense, QoS, technology, VoIP, vonage
Comments rss
Comments rss
Trackback
Trackback

« Rave: I Really Like T-Mobile Rave: Slim Devices Squeezebox Audio Player »

  • http://www.xmission.com/~hidden/aatqos Jared Valentine

    Hi Michael. Thanks for the mention in your blog! I use a standard Linksys RT31P2 adapter, which was sent to me by Vonage. The problem really isn’t with Vonage. If no one else is using the Internet, call quality if perfect with all the different compression settings.

    The issues I experience only happen during sustained downloads. When my DSL line is filled to capacity, the latency shoots to 500ms+, and that’s unacceptable for VoIP. The applications that “fill the pipe” as it were are wide and varied: YouTube & other online video, FTP, BitTorrent (or other P2P), updates of all sorts (AV, Windows, Linux, etc) and, as I mentioned in my article, when my daughters watch previews for “My Little Pony” or “Barbie” movies. (they’re quite bandwidth intensive). I can only imagine what happens when we start renting movies from the iTunes movie store and are downloading gigs upon gigs of data.

    I understand that many people have less outbound bandwidth than I (cablemodems typically have 3mb down / 256k up). The same issues apply with outbound as it does with inbound. This same framework can easily handle the outbound issues as well. It’s all just a matter of what’s in the script that gets executed when the call starts. The script could (and probably should) enable outbound & inbound TCP rate-limiting, and the Cisco router supports different rates for each direction. With a 3mb/256k, that could mean limiting the down to 2.5mbps, and limiting the up to 128k (or 96k or 64k) – whatever it takes to keep enough headroom available for VoIP. I’ll probably update my “How-To” with some outbound TCP rate-limiting as well. Thanks for the suggestion.

    In my own network, limiting everything to 800k is probably a little excessive – but it’s extremely safe. I was fed up with having other “QoS” solutions reserving too little and not having the drastic effect I was looking for. And while I’m extremely pleased with the great call quality I now have, I’ll probably revisit the actual inbound rate-limit and see how far I can push it until things start to deteriorate.

    If you have any other questions, let me know. My e-mail address is available from my webpage. Thanks! -Jared

  • mjgraves

    Jared,

    I must admit that your situation is beyond my experience. I wonder where the source of all that latency lies? I’d be very interesting to know if the problem is more or less manageable with m0n0wall or pfsense in place of your Cisco router. I know that’s difficult to do.

    My DSL service is about 2.2M x 540k typically (3.0 x 768k according to Covad Sales). I’ve only had to focus on the outbound leg to get the VOIP working well. However, in our house we don’t have any p2p apps running. Lots of FTP, http, Tivos, etc.

  • http://orioninfopro.com truthspew

    I’ve got a Vonage supplied Linksys RT31P2 that does QoS. My phone service is set to 90kbps and sounds great. I’m using it over a cable modem with 20/2 service.

My Tweets

  • I'm hearing Alice Cooper. "The @Twelephone is ringing, you got me on the run...." 10 hours ago
  • I'm listening to Wind Him Up by Saga on Pandora bit.ly/WnvTTQ #pandora 10 hours ago
  • One nice feature of the home office; the ability to turn the music up LOUD when required. #fb 10 hours ago
  • New Blog Post: Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!: This is the fourth install... bit.ly/SHr8TY 1 day ago
  • Anyone want to try a @voxeet test call in a short while? 1 day ago

Recent Comments

  • mjgraves on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • Sean on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • mjgraves on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • Greg on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • William on Aastra 6730i: The Most Affordable HDVoice Capable Desk Phone?

Making A Difference


Change a life.

Ideas worth sharing, expressed hereabouts.


Radio For Peace in Houston.

Popular Posts

  • Review: The Gigaset A580IP SIP/DECT Cordless Phone System
  • Updated Home-Office Network Diagram
  • How To: DIY Music Server Using FreeNAS, SlimNAS and an H-P T5700
  • Magic Jack Hacked For Use As An Asterisk Trunk
  • D.I.Y. Asterisk Appliances: A Question Of Scale
  • Review: The Polycom SoundStation IP5000 Conference Phone
  • Gigaset Firmware Update Released
  • Review: Polycom SoundPoint IP335 Entry Level HDVoice IP Phone
  • How To: Building an Embedded Asterisk PBX
  • Polycom SoundPoint IP 550 / IP 650 Reviewed

Tags

3G Android apple Asterisk Astlinux Audio blog bluetooth Broadband CATiq cellular codec conference cordless DECT DSL G.722 gateway Gigaset gsm HD hdvoice headset hp M3 music onsip phone plantronics polycom QoS siemens sip skype SNOM soft phone speakerphone t-mobile technology USB Video VoIP VUC wideband wifi

Colophon

This site is hosted by Lightning Base
using the magic of open source software and 100% recycled electrons.

Archives

  • ▼2012 (69)
    • ►December (4)
    • ►November (9)
    • ►October (1)
    • ►September (3)
    • ►August (6)
    • ►July (5)
    • ►June (10)
    • ►May (9)
    • ►April (1)
    • ►March (5)
    • ►February (8)
    • ►January (8)
  • ►2011 (117)
    • ►December (5)
    • ►November (8)
    • ►October (9)
    • ►September (9)
    • ►August (11)
    • ►July (8)
    • ►June (11)
    • ►May (13)
    • ►April (8)
    • ►March (13)
    • ►February (10)
    • ►January (12)
  • ►2010 (160)
    • ►December (12)
    • ►November (7)
    • ►October (14)
    • ►September (10)
    • ►August (15)
    • ►July (16)
    • ►June (17)
    • ►May (15)
    • ►April (17)
    • ►March (16)
    • ►February (8)
    • ►January (13)
  • ►2009 (229)
    • ►December (16)
    • ►November (15)
    • ►October (13)
    • ►September (24)
    • ►August (23)
    • ►July (18)
    • ►June (16)
    • ►May (17)
    • ►April (22)
    • ►March (18)
    • ►February (21)
    • ►January (26)
  • ►2008 (296)
    • ►December (26)
    • ►November (23)
    • ►October (24)
    • ►September (26)
    • ►August (21)
    • ►July (32)
    • ►June (24)
    • ►May (16)
    • ►April (14)
    • ►March (29)
    • ►February (22)
    • ►January (39)
  • ►2007 (14)
    • ►December (8)
    • ►November (5)
    • ►October (1)

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.