We have moved at community.getvera.com

Author Topic: Phone Dialer plugin  (Read 20877 times)

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Phone Dialer plugin
« on: July 25, 2009, 06:34:14 pm »
I just finished a simple plugin allowing to automatically connect two (or more) parties via phones and/or VoIP. Basically user clicks 'On' on Vera UI or z-wave hand-held controller, his phone rings, his party's phone rings, they can talk. It might not look very useful as it is (although think of Emergency Button), but it allows to initiate automatic calls on events from all kinds of devices and sensors.

It uses 3rd party system (pbxes.com) to do actual calls (they do offer free accounts, so it shouldn't be a problem). System allows to do all kinds of cool stuff, such as IVR (voice menu), conference rooms, etc; so being able to plug Vera into it might bring some interesting possibilities.

I thought some of you might find it useful for your own projects...

Download:
Phone Dealer Plugin for Vera
« Last Edit: December 23, 2010, 03:08:37 pm by 325xi »

Offline micasaverde

  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +15/-1
Re: Phone Dialer plugin
« Reply #1 on: July 29, 2009, 11:17:16 am »
That's cool.  What I'd recommend is creating a Wiki page on our wiki site with instructions and information.  Then email me the upnp/lua files and I'll add it to the Luup gallery database and link to the wiki page in the 'Instructions' field.

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #2 on: September 26, 2009, 11:38:44 pm »
I finally created a Wiki page with brief instructions.
http://wiki.micasaverde.com/index.php/Dialer_Plugin

This plugin can be especially useful if you have a conference phone set to answer calls automatically in speakerphone mode.


Offline Mark H.

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 324
  • Karma: +0/-0
Re: Phone Dialer plugin
« Reply #3 on: September 27, 2009, 02:29:46 pm »
Can I make this work with my asterisk PBXInAFlash server? If so, could you give me an example of how to set it up using freePBX?
« Last Edit: September 27, 2009, 02:37:05 pm by mark-hc »
Vera 2
Firmware: 1.5.101 Zwave: 3.20

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #4 on: September 27, 2009, 08:03:46 pm »
You can make Vera work with anything, even your pasta pot, if you find a way to interface with it. PBXes has "webcall" feature, i.e. it allows third party to ask it to make a call using HTTP request. I'm not sure specifically about PIAF, but I'm pretty sure the guys behind it have webcall feature among optional packages - PIAF is known as one of (if not "the") most feature-rich Asterisk wrappers. Check at http://nerdvittles.com, or send him an email. And yes, let me know too :)
You can also try to ask about webcall here: http://dslreports.com/forum/voip
« Last Edit: September 27, 2009, 08:05:22 pm by 325xi »

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #5 on: September 29, 2009, 12:08:22 am »
BTW, I just discovered that PBXes is working on enabling calls to Skype, which means it may well be possible to use the same plugin to call Skype on one side. Not that I find it much useful, but those 7 people on this planet that still use Skype might like it :)

Another idea is Google Voice, which seems to have webcall feature. I wish I could try to implement it, but they don't give GV to Canadians.

==================
I'm starting to use the plugin for custom phone notifications - that I can actually control. There are ways to generate nice custom voice messages to use for custom notifications, all you need is to upload wav files to PBXes, and configure "Digital Receptionist" to read them to you..
Job failed - give me a call. Sprinkler refused to start - tell me. Freeze/water sensor, motion detector - leave me a message...
This BTW could be a workaround for an alternative way to send notification emails - if you make Vera to leave you a voicemail, PBXes will email it to you right away.



« Last Edit: September 29, 2009, 12:13:31 am by 325xi »

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #6 on: October 08, 2009, 08:25:53 pm »
I just uploaded version 1.5 of Dialer plugin.
Improved feedback - i.e. user will see if call didn't go through (connection problem, etc.) right away.

Download:
Phone Dealer Plugin for Vera

Wiki:
http://wiki.micasaverde.com/index.php/Dialer_Plugin

« Last Edit: October 17, 2010, 09:50:40 pm by 325xi »

Offline Mark H.

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 324
  • Karma: +0/-0
Re: Phone Dialer plugin
« Reply #7 on: October 08, 2009, 09:27:00 pm »
If this could be interfaced with my PBXinaFlash server I'd love you long time.
Vera 2
Firmware: 1.5.101 Zwave: 3.20

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #8 on: October 08, 2009, 10:04:37 pm »

Offline Mark H.

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 324
  • Karma: +0/-0
Re: Phone Dialer plugin
« Reply #9 on: October 08, 2009, 10:06:32 pm »
awesome. Is your name Ed Midor?
Vera 2
Firmware: 1.5.101 Zwave: 3.20

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #10 on: October 08, 2009, 10:09:17 pm »
No :)

Offline Mark H.

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 324
  • Karma: +0/-0
Re: Phone Dialer plugin
« Reply #11 on: October 08, 2009, 10:10:43 pm »
I'm in kelowna. where do you order parts from? I've had good luck with aartech and homeseer.
Vera 2
Firmware: 1.5.101 Zwave: 3.20

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #12 on: October 08, 2009, 10:13:06 pm »
Currently I'm in Montreal.
My stuff came from ebay (a lot), controlthink, aartech, automatedoutlet; and now I'm trying smarthome-products.com
« Last Edit: October 12, 2009, 01:14:24 pm by 325xi »

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #13 on: October 08, 2009, 11:25:50 pm »
For those who's willing to try PBXes, here's a little guide to start with
http://forum.xda-developers.com/showthread.php?p=4653591


Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Phone Dialer plugin
« Reply #14 on: October 09, 2009, 10:32:50 pm »
If this could be interfaced with my PBXinaFlash server I'd love you long time.

Ok, here it goes: http://nerdvittles.com/?p=168
I don't have PIAF, but if you can make click-to-call work as described in the article above, I'll most likely be able to convert the plugin to use it.