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

  • mjgraves on The iPhone In My Office
  • mjgraves on Blogging In Transition: A Host Of Issues – Act One
  • mjgraves on Gigaset SIP/DECT Handsets For 2010: Part 6 – SL78H
  • Larry C on Blogging In Transition: A Host Of Issues – Act One
  • Vince on Gigaset SIP/DECT Handsets For 2010: Part 6 – SL78H

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 A580IP apple Asterisk Astlinux Audio blog Broadband CATiq cellular codec conference cordless DECT digium DSL FWD G.722 gateway Gigaset gsm HD hdvoice headset hp M3 music onsip phone polycom QoS siemens sip skype SNOM soft phone sprint Squeezebox technology USB Video VoIP VUC wideband wifi

RSS mgraves' shared items in Google Reader

  • Use FreeSWITCH To Make Free Calls With gmail Voice Interface!
  • Video far from Clear
  • Toshiba Folio 100 Android tablet breaks cover
  • First look at the HP Mini 5103 – Video
  • T-Mobile Shows the G2 Off Themselves
  • HP introduces Mini 5103 business class netbook with Atom N550 processor
  • Acrobits iPhone SIP app Groundwire on sale today
  • TweedleD Back From the Dead Using Twitter OAuth
  • Gigaset DX800A – the new all-round phone for professionals sets high standards
  • will gmail calling make headset calling more comonplace

Archives

  • ▼2010 (118)
    • ▼September (1)
      • Blogging In Transition: A Host Of Issues – Act Three
    • ▶August (15)
    • ▶July (16)
    • ▶June (17)
    • ▶May (15)
    • ▶April (17)
    • ▶March (16)
    • ▶February (8)
    • ▶January (13)
  • ▶2009 (229)
    • ▶December (16)
    • ▶November (15)
    • ▶October (13)
    • ▶September (24)
    • ▶August (23)
    • ▶July (18)
    • ▶June (16)
    • ▶May (17)
    • ▶April (22)
    • ▶March (18)
    • ▶February (21)
    • ▶January (26)
  • ▶2008 (297)
    • ▶December (26)
    • ▶November (23)
    • ▶October (24)
    • ▶September (26)
    • ▶August (21)
    • ▶July (32)
    • ▶June (24)
    • ▶May (16)
    • ▶April (14)
    • ▶March (29)
    • ▶February (22)
    • ▶January (40)
  • ▶2007 (14)
    • ▶December (8)
    • ▶November (5)
    • ▶October (1)

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