Graves On SOHO VoIP

End User Perspective On IP Telephony In The Home Office
  • rss
  • Home
  • About
    • Contact
    • Disclosure
  • Guides & How-To’s
  • Product Reviews
  • Raves
  • Personal Blog

Controlling Applications From Asterisk

mjgraves | January 3, 2009

asterisk1 128x79 Controlling Applications From AsteriskMany thanks to Dave Michels who earlier today passed a link to this blog post from New Zealand’s James Forman about Controlling Applications With Asterisk. James’ project is an excellent example of the sort of thing that sets Asterisk apart from everything else. He used a multi-step process to have DTMF tones issue commands to control a VLC VideoLAN media player.

His approach is very similar to what I had initially envisioned for my home automation project. Where James is dealing with the VLC commands I was going to have the IVR process call AGI scripts that would cause xsend.exe to send predefined commands to various X-10 home automation modules. That was part one of the project.

Part two was to involve making the controls accessible by a simple web site such that the micro-browser in my Polycom IP650 phones could be used as controllers for some functions.

This project is taking longer than initially planned as I decided that first I would replace the X-10 automation with something more reliable based upon Z-wave and Vera from Mi Casa Verde. I just started to play with that system over the holiday break. I have a couple of modules installed and working, with a handful more on order.

This is a very interesting area of exploration. It’s the intersection of IP telephony and home automation. Tight integration of these two concerns could be very attractive on many levels. This sort of thing has been on my mind every since I heard Mark Spencer describing the NYU projects (Botanicalls) involving novel uses of Asterisk.

Home automation and Asterisk have historically shared one common problem; both need to be easier for non-technical people to setup and configure. Asterisk has come a long way in the past couple of years. Home automation appears to be making some progress as well. I’m not a software engineer so for me to pull this off there needs to be very little custom code involved.

Categories
Asterisk, Home Automation, VoIP
Tags
Asterisk, automation, home, James Forman, vera, VoIP, X-10, z-wave
Comments rss
Comments rss
Trackback
Trackback

« Questioning The Future Of Home Phones David Pogue On VoIP & VoWifi (amongst other things) »

4 Responses to “Controlling Applications From Asterisk”

  1. 1
    Dave Michels says:
    January 4, 2009 at 1:43 am

    My concern with this project is X10. It is not a very reliable protocol. And particularly when you are remote, you need it to be reliable.

    I have had decent luck with UPB based devices. UPB is available from a number of companies. It is effectively a primitive form of ethernet over power lines. I believe some of the UPB controllers can also control X10 – so your investment isn’t lost. Because UPB devices send an ACK, it is much more reliable. No additional wiring is needed.

    I am using Home Automation Inc (HAI). It has some really nice features like the ability to recognize sunrise and sunset as an event to trigger things.

    I believe there is a DTMF gateway,but I use the data side of the phone to control things remotely. I am not technical enough to figure out how to get things or controls to display on the phones, but there is probably a way.

    Reply
    • 1.1
      mjgraves says:
      January 4, 2009 at 8:17 am

      Dave,

      Agreed. X-10 is a problem. That’s why abandoning the X-10 gear in favor of Z-wave. At about the time I was considering this Mi Casa Verde went into limited beta on their Vera product, which is a Z-wave master controller. So we decoded to try it as the heart of the system. This lets us use anyones Z-wave modules. And I’ve been adding them slowly.

      I’ll have more to say about it once I’ve done a little more.

      Reply
  2. 2
    AnthonyZ says:
    January 4, 2009 at 8:28 am

    I’m also glad to see you migrate from X-10. I’m more curious about the actual UI. How intuitive will “pushing numbers” be? I know little about the Asterisk application (looks like I have new homework). Is there any way to add custom labels to the phones? If not, I fear the project will never be “babysitter” easy.

    Reply
    • 2.1
      mjgraves says:
      January 4, 2009 at 10:43 am

      Using X-10 I could see a path to an implementation. The xsend.exe program was the key as it could be used to send commands from within vbscript. Message passing from Asterisk to a Windows web server (XPe on an HP T5700) was going to be the hard part, and that’s not too difficult.

      Z-wave is a whole new twist. Vera is supposed to have a simple API that I could use. I haven’t got that far yet. First I need to replicate the X-10 functionality using existing hardware & software. Integration with the phones comes later.

      If it does come down to writing some code I might approach a coworker. Pixel Power (my day job) has 30+ software engineers on staff, some with interests similar to my own.

      Reply

Leave a Reply

Click here to cancel reply.

Search Me?

My Tweets

  • No public Twitter messages.

Recent Posts

  • SIP Trunks don’t exist. There’s no such thing.
  • Video How-To: Calling the VUC Using PhonerLite on Windows
  • Making Use of Wideband Voice Right Now!: IdeaSIP
  • The Inventor Of The Cell Phone Interviewed On C-SPAN
  • OpenPeak Tablet At Mobile World Congress

Recent Comments

  • ok2ucx on Review: The Gigaset A580IP SIP/DECT Cordless Phone System
  • Joe on Vera Home Automation
  • alpa on Gigaset News: New Beta Firmware Release
  • Ierlandfan on Review: The Gigaset A580IP SIP/DECT Cordless Phone System
  • Ierlandfan on Gigaset News: New Beta Firmware Release

Series: Making Use of HDVoice Right Now!

  • Series Introduction
  • HDVoice Using Skype
  • HDVoice Using Gizmo5
  • HDVoice Using SIPGate
  • HDVoice Using OnSIP
  • HDVoice Using IdeaSIP

Make a difference.


Change a life.

VoIP Users Conference

Think About It

RSS From My Personal Blog

  • Mossberg & Jobs On The iPad
  • The Who’s Baba O’Reilly Performed On Gear From ThinkGeek
  • What’s in a name or a title?
  • We Now Have Vacancy
  • Just A Thought

RSS Google Reader Shared Stories

  • [General] Voip Users Voipathon
  • The Wi-Fi solution for mobile data offload
  • 3rd HD Communications Summit Discusses HD Voice in Fixed and Wireless Networks
  • Niue #5: The Gear Arrives!
  • Cloud Communications ebook
  • Music Pirates in Canada
  • Why Does Every New Service Want To Be GrandCentral Reincarnated?
  • AT&T announces zero draw anti-vampire charger
  • Let the Spectrum Reallocation Games Begin
  • Niue #4: License?! We Don't Need No Stinkin' License!

Tags

Asterisk Astlinux astricon Audio blog Broadband cell cellular codec conference cordless DECT digium DSL FWD G.722 gateway Gigaset gsm HD hdvoice headset hp M3 music onsip phone polycom QoS router siemens sip skype SNOM soft phone Squeezebox technology uri USB Video VoIP VUC wideband wifi zipdx

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1