I was finally able to modify the Asterisk™ source code to get it to compile as a package under OpenWRT. I will put my package file that contains the patch here for others to play with if they'd like. I make no guarantee it will work. I have not (as of right now) tested this. To use this, just unpack the file in your packages directory in either your openwrt-dev directory or the SDK. It will download the asterisk-1.2.13.tgz file from Digium and then patch it and compile it when you do a make world. You will need some support libraries depending on the options you choose
This is all the work of Brian Capouch whom I met at Astricon 2006. He's a professor at Saint Joe's University in Indiana and runs a wireless ISP business. He uses the WGT634u as his wireless clients and runs Asterisk™ on them for phone service. Basically, if you have a clean Netgear WGT634u router, then you can use the web interface to upload the openwgt-0.06a.img file. After this completes, then your router will be running OpenWGT. In order for it to start up asterisk you will need a USB thumb drive with the first partition formated as an ext3 partition.
Ok, so I decided to try to get OpenWRT (Kamikaze) onto one of my Netgear WGT634u's. I have another one that I loaded a customized version of OpenWGT from Brian Capouch onto that went well. His root file system is stored on a thumb drive. I could stick with this, but OpenWGT isn't in active development and will be tough to add new features to so this led me to playing with OpenWRT.
[img_assist|nid=2|title=Inside the Netgear WGT634u|desc=|link=none|align=center|width=300|height=225]
I started by grabbing the latest base and package code from the subversion server:
svn co https://svn.openwrt.org/openwrt/trunk openwrt-dev