Graves on SOHO Technology

End User Perspective On SOHO Technology
  • rss
  • Home
  • About
    • Contact
    • Advertisers
    • Disclosure
  • Guides & How-To’s
  • Product Reviews
  • Best of…
  • Raves

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. 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
    • 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. 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
    • 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.

Recent Comments

  • CC on Gigaset SIP/DECT Handsets For 2010: Part 3 – C59H
  • mjgraves on Review: Plantronics Savi Go Bluetooth Headset
  • Heather on Review: Plantronics Savi Go Bluetooth Headset
  • mjgraves on Gigaset SIP/DECT Handsets For 2010: Part 3 – C59H
  • CC on Gigaset SIP/DECT Handsets For 2010: Part 3 – C59H

Making Use Of HDVoice Right Now!

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

Making A Difference


Change a life.

VoIP Users Conference

Tags

3G apple Asterisk Astlinux Audio Broadband CATiq 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 sprint Squeezebox technology USB Video VoIP VUC wideband wifi

RSS mgraves' shared items in Google Reader

  • World's Fastest Hybrid OK'd For Production
  • AT&T Churn Rate Insanely Low
  • Prepaid, 4G returns Sprint to customer growth
  • 2010 Travel
  • By The Numbers: Chevy Volt vs Nissan Leaf
  • Requiem for the G1
  • It's Here! The FreeSWITCH Book Has Been Published!
  • Asterisk v1.8
  • MIPS Technologies Delivers Reference Implementation for Skype on MIPS-Based™ Devices
  • Jailbreaking and Ripping DVDs Now Legal in One Fell Swoop!

Archives

  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • 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 design by jide powered by Wordpress get firefox