brainsnorkel.com

Manifesto-driven development. Eclectic thoughts.
  • Home
  • Tech
    • Getting wireless WPA-PSK working under Ubuntu Linux on a Dell Inspiron with Netgear WG511
    • Troubleshooting
      • iTunes freezes up randomly
      • Add media buttons missing from WordPress?
      • Lenovo ThinkVantage System Update troubles
      • Ubuntu 10.04 LTS: “prepare partition” page is blank
      • Fix for Canon LiDE 200 scanner error code 2,252,0
    • Sites I maintain
    • VoIP + Networks
      • FreeBSD box
      • Router
      • OzTell
      • Installation
      • Configuration
      • Requirements
      • Sipura SPA-3000
      • References
      • Using Asterisk
      • WRT54GP2 and iiNet VoIP
  • Development
  • Writing
    • Australian Republic
      • Chapter I – Introduction
      • Chapter II – Historical Background to Australian Republicansim
      • Chapter III – Republicanism as a Political Issue in Modern Australia
      • Chapter IV – Multiculturalism as a Basis for Republicanism
      • Chapter V – Conclusion
      • End Notes and Bibliography
    • Miscellaneous Pages
      • Requirements Matrix: Julian vs Flickr
      • Links
  • Games
    • Follower
    • myphatlewt.sh
    • Flash Asteroids (for IE)
  • About

Router

A Cisco/Linksys WRT54G running Sveasoft Talisman firmware.

WRT54G #2

Problem: QoS

Voice traffic needs to be prioritised for egress. My 256Kb/s uplink isn’t as overprovisioned with bandwidth as I’d like it to be, so I need to configure my router to prioritize the transmission of delay and loss-sensitive VoIP traffic over other forms of traffic. I need to be able to be heard by callers even if someone begins a massive Flickr photograph upload.

Another problem with QoS is it’s a one-way street. Optus, AFAIK, does not support any QoS or prioritization of traffic. Incoming audio streams are not prioritized by the intervening network, so I expect that a big fast download might still cause packet loss on the incoming audio stream of active VoIP calls. I will need to test this.

SIP (off the top of my head) allocates RTP ports within a port range, which is hard to configure for QoS on a small domestic router the the WRT54G. I could get down into the WRT command line and set up QoS based on DiffServ codepoint and set up sip.conf to tag RTP with the Expedited Forwarding DiffServ codepoint, but that sounds a little too complex.

Fortunately, I have set up an IAX trunk with OzTell. IAX is a non-IETF-standard, Asterisk-specific protocol that uses UDP on destination port 4569. This makes setting up QoS easy. When I set up this port to have slightly higher priority than any of my other traffic everything should be prioritized nicely, at least for egress packets.

Traffic on the local network between the Sipura SPA-3000 and the BSD/Asterisk box should have plenty of bandwidth to play with, and therefore won’t need prioritization… unless I start running bulk transfers and the WRT doesn’t play nice… hmm. More testing.

Problem: IAX

IAX, as mentioned above, needs to connect on UDP port 4569. I set up the WRT54G to forward this port to the BSD/Asterisk box.

Comments rss
Comments rss
Trackback
Trackback

One Response to “Router”

  1. brainsnorkel.com » Midnight is not the right time to upgrade your router firmware says:
    11-May-2006 at 8:50 am

    [...] I had spent the evening researching the process of upgrading my Linksys WRT54G v2 to Sveasoft Talisman Firmware 1.2 RC 1. 1.2 RC1 solves a problem I would like solved — Sipura DHCP compatibility. 1.2 also adds a feature I want to play with — Multiple Wireless SSIDs and authentication from one box. [...]

Leave a Reply

Click here to cancel reply.

Recent Posts

  • Death by radix
  • Beam “Slavery to Star trek” to Edinburgh
  • Improved boot times: Vista vs Windows 7
  • The Lenovo X61 Tablet three years later
  • Blog moved!

Navigation

  • Tech
    • Getting wireless WPA-PSK working under Ubuntu Linux on a Dell Inspiron with Netgear WG511
    • Sites I maintain
    • Troubleshooting
      • Add media buttons missing from WordPress?
      • Fix for Canon LiDE 200 scanner error code 2,252,0
      • iTunes freezes up randomly
      • Lenovo ThinkVantage System Update troubles
      • Ubuntu 10.04 LTS: “prepare partition” page is blank
    • VoIP + Networks
      • Configuration
      • FreeBSD box
      • Installation
      • OzTell
      • References
      • Requirements
      • Router
      • Sipura SPA-3000
      • Using Asterisk
      • WRT54GP2 and iiNet VoIP
  • Development
  • Writing
    • Australian Republic
      • Chapter I – Introduction
      • Chapter II – Historical Background to Australian Republicansim
      • Chapter III – Republicanism as a Political Issue in Modern Australia
      • Chapter IV – Multiculturalism as a Basis for Republicanism
      • Chapter V – Conclusion
      • End Notes and Bibliography
    • Miscellaneous Pages
      • Links
      • Requirements Matrix: Julian vs Flickr
  • Games
    • Flash Asteroids (for IE)
    • Follower
    • myphatlewt.sh
  • About

Advertising!

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox