Press nine to speak to jcm…

So, I wasted time hacking on my Asterisk configuration over the weekend (I was feeling crappy, spent a lot of time asleep and then decided just to watch TV shows off iTunes while hacking this stuff). The result is that I’ve got two linked Asterisk servers with synchronized call menuing systems and way too many options…

When you call me on one of my cellphones, if the call is not answered immediately, it will divert to Asterisk. The centralized configuration presents the following menu:

  • 1. Gets you into the menu list (default is just to mention it and divert to voicemail so you don’t get pissed off).
  • 2. Call an internal number (requires a passcode).
  • 3. Listen to voicemail.
  • 4. Report an emergency (requires the passcode from my wallet).
  • 9. Try calling my other mobile/cellphone(s).
  • *. Access voicemail.

I like this setup, just a little bit. The system annotates redirections and keeps you informed while it’s trying to locate me by calling out “Call forwarding. Home. Please wait while your call is being connected”, “The number is not answering” and “Call forwarding. Voice Mail System. Please wait while your call is being connected”. And a lot more stuff I won’t even write about here.

The point is, if you like doing silly things with Asterisk, you might like this setup a little bit too. Next step, weird custom Asterisk applications (cmds) to properly handle two geodiverse Asterisk servers – since the current infrastructure support is pretty damn lame (you can use IsAvail and SIPPEER/IAXPEER to determine if a server is online, but you can’t easily say “on this remote Asterisk server, tell me if the extension is currently not registered or DND”). But I’m not complaining, I think Mark’s software rules.

I bought some more funky stuff in Whole Foods to celebrate.

Jon.

Leave a Reply