10.07.2015 Views

Running Asterisk under openWRT - Asterisk-ES

Running Asterisk under openWRT - Asterisk-ES

Running Asterisk under openWRT - Asterisk-ES

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Running</strong> <strong>Asterisk</strong> <strong>under</strong><strong>openWRT</strong>


core1.saintjoe.edu/wiki/Astricon


the <strong>openWRT</strong> projectStarted with the Linksys WRT54GEureka moment: "This thing runs Linux!"Broadcom reference designsMike Baker (mbm) was organizerFirst code released in late 2003" the device is turned into a mini linux PC"Codebase was begun from scratch


more <strong>openWRT</strong>Two major releases so farWhiterussianEvolved from original "stable" versionNo longer maintainedKamikazeFirst release summer 2007More-or-less complete rewrite


featuresRuns on an enormous range of hardwareIt's now native on some productsDozens--may hundreds--of commodity routersLots of embedded CPUs supportedLots of WLAN cards supported tooLots of programmers, lots of activityEasy to buildIFF you have up-to-date toolsSupport for many applicationsBig package repository


uilding kamikazeCross-compiledConfiguration similar to Linux kernelBuilds the build system, then builds the systemComponents are downloaded on the flyCurrent kernel is 2.6.25.Package extensionsUses opkg, an ipkg toolPackages are integral to designDefined by "meta-makefiles"Final build result is binfiles and packages


pick a platformList of supported platforms on <strong>openWRT</strong> siteConsiderationsRAM/FlashUSBWirelessCPU type, power management, ADSL, etc.I use Netgear WGT634U8M/32MUSB 2.0Atheros on mini-PCI


usb pitchIt makes things a lot simplerSeveral models have USB supportEspecially at >$40 pricepointsMass storageSystem libraries<strong>Asterisk</strong> modulesLogsStores static files, symlinked inI use flash, but HD is possible too


uilding <strong>Asterisk</strong>I only build trunk, against kamikaze trunkOverall process is simpleBuild and test <strong>openWRT</strong> firstSet up <strong>Asterisk</strong> package "Makefile"Put necessary <strong>Asterisk</strong> libs into builde.g. SSL, curses, Postgres, etc.Fetch and build <strong>Asterisk</strong>I have to do a bit of cheating


esult of build is an .ipk fileIt's a bundle of <strong>Asterisk</strong> filesI once called my routers "phonodes"Self-configuring on my networkIntegrated into old house control systemsCamera protectionTemperature monitor and alarmLots of other stuff possibleBluetooth networking w/OpenmokoHome automationHotspotHome OfficeOutdoor wireless

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!