Door Contacts via Asterisk?

Home » Asterisk Users » Door Contacts via Asterisk?
Asterisk Users 11 Comments

Hi all,
I have had (what I consider) an odd request. The installation I’m working on
now is an office on a multi-floor building. They ‘re looking for some kind
of solution with the phone system to provide door control. We are a
non-profit so of course I’m looking for something VERY inexpensive.

I’m sure /someone/ has done something like this. I’d appreciate any ideas.

Cassius Smith

11 thoughts on - Door Contacts via Asterisk?

  • Basically, any door control system that works with DTMF tones should work – in theory. You will probably need to play around with the length of the DTMF tones, and maybe also with the level.

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Cassius Smith
    Sent: Monday, November 15, 2010 10:35 AM
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

    Hi all,
    I have had (what I consider) an odd request. The installation I’m working on now is an office on a multi-floor building. They ‘re looking for some kind of solution with the phone system to provide door control. We are a non-profit so of course I’m looking for something VERY inexpensive.

    I’m sure /someone/ has done something like this. I’d appreciate any ideas.

    Cassius Smith

  • Not really very odd.
    Many small business have door intercoms with lock releases that are
    either built into or accessories to ( non-Asterisk ) Business phone systems

    you might look to Viking electronics or similar telephone accessory
    suppliers for something that will work for your install

    “inexpensive” is relative however.

    John Novack

    Cassius Smith wrote:

  • Well, I use Asterisk to call a Perl AGI script which drives a serial
    port DTR line high (using Device::SerialPort and Asterisk::AGI) for 20
    seconds. The serial port line drives a transistor, which drives a large
    relay, which applies power to the (pre-existing) door solenoid.

    Fairly trivial if you know how, hard otherwise 🙂

    – Mike

  • I’ve done a remote door unlock system in the past. The customer had an
    existing magnetic lock system that utilized push buttons on the wall to
    release the magnetic locks on the doors. They already had this system,
    and the associated door controller.

    I used an APC AP9210 Master Switch network power controller to solve the
    problem. I plugged the power brick for the door controller into the
    AP9210, put the AP9210 on the network, and wrote a script that caused
    the device to cut power to the door controller for 5 seconds by setting
    an SNMP variable.

    I coupled that shells script with some dialplan logic that asked the
    caller for a pin, then using the callerid(num) value as a username,
    checked the username/pin combo against a database.. If the combination
    passed, the shell script was called. If it didn’t, I looped back to the
    request for the pin, for up to 2 more times, then disconnected the call.

    I know Cyberdata has some SIP based door intercoms that have lock relays
    built in, as well. I have no idea what the cost for them is, though.

  • Hello,

    We did something like that in the past (but for 1 company, but it shouldn’t
    be really different). The easiest solution for us was to use a door opener
    that could work with almost any “normall” phone connection and use a Linksys
    pap2t or something similar.

    With kind regards,

    Mark Scholten

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Cassius Smith
    Sent: Monday, November 15, 2010 7:35 PM
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

    Hi all,

    I have had (what I consider) an odd request. The installation I’m working on
    now is an office on a multi-floor building. They ‘re looking for some kind
    of solution with the phone system to provide door control. We are a
    non-profit so of course I’m looking for something VERY inexpensive.

    I’m sure /someone/ has done something like this. I’d appreciate any ideas.

    Cassius Smith

  • Anyone have a soft sip endpoint which can take touchtones over sip and
    run scripts ?

    that is a more general purpose integration solution to asterisk itself.

    I realize there are scripts for dialplans which can do this already but
    often the door is nowhere near the core asterisk server.

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

  • Wow you actually wrote code that could be accomplished for less than
    $20.00 with sandman.

    On Mon, Nov 15, 2010 at 2:34 PM, Dr. Michael J. Chudobiak
    wrote: