Monday, October 15, 2007

Direct Inward Dialing with Asterisk and Broadvoice

When I wrote about building my own PBX, I mentioned that I set up Direct Inward Dialing (DID), a feature which allows virtual phone numbers to be routed directly to extensions while using shared trunks (phone lines). I figured out how to accomplish this after reading this discussion, but made improvements along the way.

Quick Fix for Asterisk/BroadVoice Number Conflict.

I have a strange issue on my Asterisk box. If I call BroadVoice tech support using one of their trunks, I connect normally and hear the initial IVR, I press "1" and hear "Your call is being transferred." Then the weirdness starts: I remain connected, but I hear my own hold music. As near as I can figure, while I'm on hold in their call queue, Asterisk has dumped me in to hold and I can't get out. If I stay on long enough for a tech to pick up, they either hear nothing or my hold music and hang up. Free beer goes to anyone who can identify and solve this issue, meanwhile I have developed a workaround.

Linux Bane

The Cat Who Walked Through Firewalls
The Cat Who Walked Through Firewalls
While I was cooking last night's dinner, I made the mistake of leaving my laptop running, open, and unattended. Because ours is primarily a Linux household (my wife is a Mac user),`aptitude update && aptitude upgrade`. Laptops, however, are an entirely different story. As you can see in the photo, we live with a creature that is essentially a heat seeking missle bent on killing laptop computers. Sure it was funny the first couple times, but amusement quickly turned to horror when I saw that she can actually crash Linux. All my base are belong to her.

I normally don't worry much about the computers. The servers, devices, and desktops tend to chug along without needing anything more than an occasional

Saturday, October 6, 2007

Red Box


I finally built a red box, not the phone phreak device that generates coin tones for pay phones, but rather a Linux PBX which gives me the power and flexibility of a commercial grade phone system at a fraction of the cost. I call it a red box because the primary VoIP number I chose suggests [1]June 20, 1963-- the day the “red telephone” went live between Washington and Moscow. Once I painted the side panels a nice, shiny red, I decided that in keeping with the metallic network naming I use (cobalt, tungsten, strontium, etc.) the best name for my new PBX would be 'copper'.

Sunday, September 16, 2007

Voodoo Programming

One of the reasons I’m a consultant is because I love to solve problems; this does not mean, however, that I enjoy all the problems I solve, nor that the pursuit is always rewarding in itself. This week I got stuck in a mind-bender that had all the satisfying crunch of a soggy pretzel.

Monday, September 10, 2007

Competition is good.

The Common Council of the city of Peekskill, New York had a public hearing tonight to hear citizens' comments on the proposed granting of a cable franchise contract to Verizon. Some Verizon suits were in attendance, as well as an obligatory Cablevision weasel; what surprised me was the vocal support of Peekskill residents, most of whom are not Verizon employees. It's nice to live in a forward-thinking community. It will come as no surprise that the Council's vote in favor of the contract was unanimous, but the epiphanic moment was toward the end of the public commentary when a Verizon rep. was attempting to recall the website address for more information: he got stuck after "it's verizon.com, eh..." and nearly the entire gallery finished "FiOS".

Wednesday, August 29, 2007

Multiple Recipient Delimiters in Postfix

err.pngSome time ago I enabled recipient delimiters (e.g. user+foo@host.tld) as a convenient way to know if shady web forms are contributing to my spam folder. The idea is that when House Depot requires me to have an account before I can see if they have loose screws in stock locally, I can sign up with garrison+housedepot@codefix.net instead of my usual e-mail. With recipient delimiters enabled, postfix will try to deliver any incoming mail to garrison+housedepot but when it finds no such user, it will try garrison and I get my mail. The problem arises when I discover that House Depot’s broken web form rejects any e-mail addresses with “+” in the user name as invalid. I’m already using garrison+foo style addresses elsewhere so I don’t want to change the recipient delimiter, but neither do I trust my real address to a company that can’t even create a proper web form.