Ruby, Rails, Asterisk, RealTime...
Cackle with glee, cackle with glee... if only I could tell you. :)
Cackle with glee, cackle with glee... if only I could tell you. :)
I've been playing with Asterisk and VoIP and WiFi phones and all kinds of toys recently, and it's time to blab about some of my experiences. First off, Asterisk is unbelievably cool. Some people say it's a big hack, and yes it is in some sense, but it's a big hack that works fabulously and does lots of cool stuff. Compared to the non-big-hack tools out there which suck badly and do nothing. It's a big hack in the same way that Linux or Apache were (are?) big hacks. They work. They give you tools to kick butt and hang yourself at the same time. Anyway...
So here's my current setup... I have an Asterisk box (just vanilla I-installed-it-myself-from-source Asterisk, on FC5), a Linksys/Sipura SPA3102 ATA (analog telephone adapter), a SIP trunk to another Asterisk (test box at work), one analog telephone (nice Sony two-line model from a few years ago), and two Nokia E-series phones. The Sipura provides an FXS port for my Sony analog phone and an FXO to plug the whole rig into our PSTN line. The Sony phone and the two Nokia phones each have extensions, and thus can dial each other.
When a call comes in from outside my Asterisk (either SIP or PSTN, though technically incoming PSTN calls are also SIP because I'm using the Sipura instead of a card in the box), all of my phones (the Sony and the two Nokias) ring at once and I can answer the call anywhere (this is pretty sweet, FYI). Unanswered incoming calls will transfer over to voice mail in the near future... right now they just get answered by an automated message saying that no-one is available. I have my dial plan (think routing, but for phone calls) set up to route work calls (PSTN or SIP) over to the test box in the office, and all other PSTN calls will go out the FXO port on the Sipura.
General thoughts on all of this:
If you've been thinking about installing Asterisk, go for it. It's fun. I got WiFi to cellular call transfer working today (i.e. I get a VoIP call on my cell phone, now I want to leave the house, so I hit ## and it transfers the call to my cellular number by originating a PSTN call). My next project will be a module, I think. I have some ideas.... muahahahaha.
Recent Comments