Close
0%
0%

DoorPhone

A doorphone built using RPi and asterisk

Similar projects worth following
This doorphone was built using several components I had lying around. A Raspberry pi, RBSNTTL relay module, 12 volt wall wart, 5 volt wall wart, computer speaker amplifier, usb soundcard, microphone, loudspeaker, lit push button, locking cash box and white dual gang surface mount box. The doorphone was wired into an existing door strike and registered to the existing FreePBX phone system. Asterisk is installed on the Pi and two simple scripts were written. One script monitors for a button press, when detected it executes an asterisk console dial to a ring group including all phones in the building. Once the call is activated the pi's asterisk server waits for DTMF 5 from the called party (not the intercom). When DTMF 5 is heard asterisk triggers the second script which triggers the RBSNTTL which unlocks the door.

Configuration Edits Here: http://pastebin.com/QPahQ8eb

Additional Configuration Edits and Scripts Here: http://pastebin.com/siZgj1rg

  • Asterisk Video Console is a Beast...

    Ansen Labardee03/31/2015 at 18:11 1 comment

    Really hard to find any documentation on the video console.

    So far this has been my best resource: https://wiki.asterisk.org/wiki/display/AST/Video+Console

    At this point I am completely rebuilding the software from the ground up on asterisk 11.

    Asterisk has to be built from source to enable video.

    No idea how I am going to trigger a video call via script as I did before asterisk video console seems to be intentionally built around using a mouse :( - this seems very odd to me.

  • Now we add two way video!!

    Ansen Labardee03/24/2015 at 19:29 1 comment

    Well the intercom has been installed and operational for over 8 months now and I am fairly confident in its design. My employer would like me to build a second intercom identical to this one but with two-way video. I've done a lot of reasearch and one way video seems to be fairly common but two way is not to be found, even in commercial products. I did find two products that supposedly did this but there wasn't a hint of tech specs on them or any way to purchase them; Worse yet I can't seem to find them again to share here.

    So, over the next couple of weeks I will be working on a new intercom utilizing the video capabilities in asterisk console using chan_oss instead of alsa. I don't have any experience with oss but here we go.

    Also, now that I actually have people following this project, I'm going to work to improve my documentation.

  • Echo Problems

    Ansen Labardee12/17/2014 at 22:21 0 comments

    Having some issues with echo on the intercom side. Somehow I need to make the asterisk console ignore audio picked up from intercoms microphone IF it came out of the intercoms speaker....... Hopefully that makes sense. The echo isn't a huge deal and its not heard by people using the intercom to gain entry, just the people trying to allow entry. Its maddening to hear everything you say echoed back a second after you said it, very hard to carry on a conversation.

View all 3 project logs

  • 1
    Step 1

    Grab the latest rasbian distro, put it on an sdcard, expand file system, update locale, change hostname.

  • 2
    Step 2

    Acquire root for this session, unless you want to type sudo before every command...

    sudo -i

    Update and Upgrade:

    apt-get update

    apt-get upgrade

    Install Dependencies:

    sudo apt-get install libncurses-dev libsdl1.2-dev libsdl-image1.2-dev libavcodec-dev libswscale-dev nasm pkg-config libx264-dev libxext-dev libxfixes-dev zlib1g-dev

  • 3
    Step 3

    Change to source directory and download ffmpeg:

    cd /usr/src

    git clone https://github.com/FFmpeg/FFmpeg.git

    Change Directory to ffmpeg:

    cd FFmpeg

    Configure FFmpeg:

    ./configure --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib

    Create Installer:

    make

    Install:

    make install


View all 5 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates