Discussion:
[asterisk-users] Asterisk as a Condo door opener/intercom
Bruce B
2011-04-10 16:37:09 UTC
Permalink
Hi Everyone,

Looking to replace a condo intercom system. Apparently the current one taps
into the lines and dials phone numbers but needs to be changed as it's
faulty.

I will probably still use the same analogue dialing and back it up with a
VoIP line and use the current cabling that is in place. But as for as the
door opening function goes, I am not sure how to interface and how open
these modules are usually built.

I would appreciate it if someone with experience can throw in some pointers
as to what I might be facing and what challenges I have to solve to replace
this with a nice Asterisk system.

Thanks,
C F
2011-04-11 16:43:25 UTC
Permalink
Search the lists. Some hints:
Viking electronics makes a door box that connects to any analog line
(IIRC e-20).
They also make a DTMF keypad that integrates in series with any analog
line. They might also make a door box with a DTMF keypad on it.
Sandman makes a relay that will get energized when there is a ring on
the line which could be used to unlock the door.

However, why would you use asterisk? Using asterisk for the sole
purpose of MDU entry system is like using windows for asterisk, it
works but why?
Go for the commercial solutions, it comes with a geziilion options for
your setup one of them the ability of chosing an apartment, another
add key fobs, another one is the ability of using a code for the
residence (not guests) to unlock the door. Also the interface with
asterisk you will have to build one from scratch. The commercial
solutions have em built in.
Post by Bruce B
Hi Everyone,
Looking to replace a condo intercom system. Apparently the current one taps
into the lines and dials phone numbers but needs to be changed as it's
faulty.
I will probably still use the same analogue dialing and back it up with a
VoIP line and use the current cabling that is in place. But as for as the
door opening function goes, I am not sure how to interface and how open
these modules are usually built.
I would appreciate it if someone with experience can throw in some pointers
as to what I might be facing and what challenges I have to solve to replace
this with a nice Asterisk system.
Thanks,
Don Kelly
2011-04-11 23:21:39 UTC
Permalink
Continuing top posting...

The same argument could be made for any commercial solution. Why use
Asterisk when we could throw $4,000 at our problem for a commercial
solution?

I'd like to have a solution that would have the features you suggest for
$400.

--Don


On Behalf Of C F
Sent: Monday, April 11, 2011 11:43 AM

Search the lists. Some hints:
Viking electronics makes a door box that connects to any analog line
(IIRC e-20).
They also make a DTMF keypad that integrates in series with any analog
line. They might also make a door box with a DTMF keypad on it.
Sandman makes a relay that will get energized when there is a ring on
the line which could be used to unlock the door.

However, why would you use asterisk? Using asterisk for the sole
purpose of MDU entry system is like using windows for asterisk, it
works but why?
Go for the commercial solutions, it comes with a geziilion options for
your setup one of them the ability of chosing an apartment, another
add key fobs, another one is the ability of using a code for the
residence (not guests) to unlock the door. Also the interface with
asterisk you will have to build one from scratch. The commercial
solutions have em built in.
Post by Bruce B
Hi Everyone,
Looking to replace a condo intercom system. Apparently the current one taps
into the lines and dials phone numbers but needs to be changed as it's
faulty.
I will probably still use the same analogue dialing and back it up with a
VoIP line and use the current cabling that is in place. But as for as the
door opening function goes, I am not sure how to interface and how open
these modules are usually built.
I would appreciate it if someone with experience can throw in some pointers
as to what I might be facing and what challenges I have to solve to replace
this with a nice Asterisk system.
Thanks,
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
C F
2011-04-12 20:45:23 UTC
Permalink
Post by Don Kelly
Continuing top posting...
The same argument could be made for any commercial solution. Why use
Asterisk when we could throw $4,000 at our problem for a commercial
solution?
Really????
Post by Don Kelly
I'd like to have a solution that would have the features you suggest for
$400.
Doesnt exist on planet earth not even with Asterisk. The closest
you'll get to your mentioned price is a commercial solution.
Post by Don Kelly
--Don
On Behalf Of C F
Sent: Monday, April 11, 2011 11:43 AM
Viking electronics makes a door box that connects to any analog line
(IIRC e-20).
They also make a DTMF keypad that integrates in series with any analog
line. They might also make a door box with a DTMF keypad on it.
Sandman makes a relay that will get energized when there is a ring on
the line which could be used to unlock the door.
However, why would you use asterisk? Using asterisk for the sole
purpose of MDU entry system is like using windows for asterisk, it
works but why?
Go for the commercial solutions, it comes with a geziilion options for
your setup one of them the ability of chosing an apartment, another
add key fobs, another one is the ability of using a code for the
residence (not guests) to unlock the door. Also the interface with
asterisk you will have to build one from scratch. The commercial
solutions have em built in.
Post by Bruce B
Hi Everyone,
Looking to replace a condo intercom system. Apparently the current one
taps
Post by Bruce B
into the lines and dials phone numbers but needs to be changed as it's
faulty.
I will probably still use the same analogue dialing and back it up with a
VoIP line and use the current cabling that is in place. But as for as the
door opening function goes, I am not sure how to interface and how open
these modules are usually built.
I would appreciate it if someone with experience can throw in some
pointers
Post by Bruce B
as to what I might be facing and what challenges I have to solve to
replace
Post by Bruce B
this with a nice Asterisk system.
Thanks,
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
              http://www.asterisk.org/hello
asterisk-users mailing list
  http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
              http://www.asterisk.org/hello
asterisk-users mailing list
  http://lists.digium.com/mailman/listinfo/asterisk-users
Andreas Sikkema
2011-04-13 18:34:06 UTC
Permalink
Post by Don Kelly
Continuing top posting...
The same argument could be made for any commercial solution. Why use
Asterisk when we could throw $4,000 at our problem for a commercial
solution?
I'd like to have a solution that would have the features you suggest for
$400.
What part of the system isn't working? The "route calls to the
appartment" part? That could be replaced by Asterisk with enough
(analogue?) ports to serve the front door and appartments using existing
wiring.

If the door part also needs replacing because it is proprietary to the
old system, you could use a SIP dooropener/intercom, but these are
generally expensive, starting around EUR800/$800? or so and probably
need an expension for apartment buttons. And you'd need to run new
wiring to the door and perhaps change the lock.

And then there's the apartments, it could get *very* expensive when you
need to replace wiring and the "phones" in each apartment to something
VoIP like.
--
Andreas Sikkema
Kyle Kienapfel
2011-04-13 21:05:17 UTC
Permalink
Post by Andreas Sikkema
Post by Don Kelly
Continuing top posting...
The same argument could be made for any commercial solution. Why use
Asterisk when we could throw $4,000 at our problem for a commercial
solution?
I'd like to have a solution that would have the features you suggest for
$400.
What part of the system isn't working? The "route calls to the
appartment" part? That could be replaced by Asterisk with enough
(analogue?) ports to serve the front door and appartments using existing
wiring.
If the door part also needs replacing because it is proprietary to the
old system, you could use a SIP dooropener/intercom, but these are
generally expensive, starting around EUR800/$800? or so and probably
need an expension for apartment buttons. And you'd need to run new
wiring to the door and perhaps change the lock.
And then there's the apartments, it could get *very* expensive when you
need to replace wiring and the "phones" in each apartment to something
VoIP like.
--
Andreas Sikkema
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
              http://www.asterisk.org/hello
asterisk-users mailing list
  http://lists.digium.com/mailman/listinfo/asterisk-users
My apartment building switched from something that tapped into phone
lines to having the panel outside take a 3 digit extension, and then
it does a phone call. Needs a bit of administation to associate the
extensions to the right number to call, but then the call can go to a
cellphone or a voip provider... I like being able to buzz myself in
with my laptop :)

Outdoor intercom SIP phone + server + door striker and hopefully less
than $2000 in time to tie it all together.
David - asterisk list
2011-04-13 12:08:11 UTC
Permalink
Asterisk as a phone system makes perfect sense in a condo. You can get

all the DID's you want and eliminate costs for the owners. You can offer
standard FXO for people who don't care and IP sets for people who want
to "upgrade" to feature sets.

Your door openner is a piece of cake.
1. Create an option in your dialplan only in the "from-access-door"
context that reads DTMF from the called station only.
2. Use this to access an external program to turn on a serial port line
for 10 seconds.
3. This line drives a solid state relay (~$30) so you won't blow the
sink current on the PC port that drives a standard door lock.

A commercial door strike is about $100. The program to run the port is
childs play. Here is a test prog I used for turning on a power hungry
last printer. Change the comments and the sleep time and you're done.

/*
* lpon Lineprinter ON
* *** test program only **
*
* (c) David Cook, 1994
*
* Set signlal lines on serial port to turn on 5vdc
* signal. Used for solid-state relay (low current
* draw on RS232C port) to switch high voltage/high
* current load for printer.
*
* Part of an intelligent print spooler to only power
* on/off high draw printer when required.
*
* Usage: lpon<device> <bits to set>
* For example, lpon /dev/cua4 4 to set bit 3 on
* port /dev/cua4.
* "4" = 00000100 or bit 3 which is DTR
* "2" = 00000010 or bit 2 which is RTS
* "6" = 00000110 or both DRT& RTS
*/
#include<sys/types.h>
#include<sys/ioctl.h>
#include<termios.h>
#include<fcntl.h>
#include<errno.h>
#include<stdlib.h>
#include<unistd.h>
#include<stdio.h>
#include<signal.h>

#include "lpswitch.h"

/* Main program. */
int main(int argc, char **argv)
{
struct termios port_config;
int fd;
int set_bits = 2;

/* Open monitor device. */
if ((fd = open(SWDEV, O_RDWR | O_NDELAY))< 0) {
fprintf(stderr, "lpswtich: %s: %d\n", SWDEV, strerror(errno));
exit(1);}

cfmakeraw(&port_config );
port_config.c_iflag=port_config.c_iflag|IXON;
port_config.c_oflag=port_config.c_oflag|CLOCAL|~CRTSCTS;
tcsetattr( fd, TCSANOW,&port_config );
ioctl(fd, TIOCMSET,&set_bits );

/* wait for printer to warm up */
sleep(45);

/* not say "ready" and release the printer */
set_bits = 6;

cfmakeraw(&port_config );
port_config.c_iflag=port_config.c_iflag|IXON;
port_config.c_oflag=port_config.c_oflag|CLOCAL|~CRTSCTS;
tcsetattr( fd, TCSANOW,&port_config );
ioctl(fd, TIOCMSET,&set_bits );

close(fd);
}
Message: 3
Date: Mon, 11 Apr 2011 18:21:39 -0500
Subject: Re: [asterisk-users] Asterisk as a Condo door opener/intercom
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
Content-Type: text/plain; charset="us-ascii"
Continuing top posting...
The same argument could be made for any commercial solution. Why use
Asterisk when we could throw $4,000 at our problem for a commercial
solution?
I'd like to have a solution that would have the features you suggest for
$400.
--Don
On Behalf Of C F
Sent: Monday, April 11, 2011 11:43 AM
Viking electronics makes a door box that connects to any analog line
(IIRC e-20).
They also make a DTMF keypad that integrates in series with any analog
line. They might also make a door box with a DTMF keypad on it.
Sandman makes a relay that will get energized when there is a ring on
the line which could be used to unlock the door.
However, why would you use asterisk? Using asterisk for the sole
purpose of MDU entry system is like using windows for asterisk, it
works but why?
Go for the commercial solutions, it comes with a geziilion options for
your setup one of them the ability of chosing an apartment, another
add key fobs, another one is the ability of using a code for the
residence (not guests) to unlock the door. Also the interface with
asterisk you will have to build one from scratch. The commercial
solutions have em built in.
Post by Bruce B
Hi Everyone,
Looking to replace a condo intercom system. Apparently the current one
taps
Post by Bruce B
into the lines and dials phone numbers but needs to be changed as it's
faulty.
I will probably still use the same analogue dialing and back it up with a
VoIP line and use the current cabling that is in place. But as for as the
door opening function goes, I am not sure how to interface and how open
these modules are usually built.
I would appreciate it if someone with experience can throw in some
pointers
Post by Bruce B
as to what I might be facing and what challenges I have to solve to
replace
Post by Bruce B
this with a nice Asterisk system.
Thanks,
Marco Signorini
2011-04-14 07:56:51 UTC
Permalink
Hi.

To open the door I'm suggesting you to use Arduino if you can't have a
PC near the door opener contacts.

Arduino is something useful for implementing this type of networked
embedded stuffs.
It's not so expensive and easy to use for people familiar with C, C++
and a little bit of electronics.
You can find it worldwide by e-commerce and is very well supported by a
lot of open sourced libraries.

If you stack an Arduino UNO and an Ethernet Shield SD you'll have a
small embedded solution providing you at maximum of four hw based TCP
sockets that you can use for implementing, for example, a little web
server. The digital input/output pins could be used (if properly
buffered by a transistor) to drive a relay to be placed in parallel with
the door opener pushbutton.
To have the best reliability you can use the tricks suggested on the
pachube website, where someone suggest to drive the Ethernet shield
reset pin at regular intervals.

At the asterisk level I've implemented something similar to what's
explained by David. The only difference is that, in order to open the
door, I've used the CURL application to generate a suitable HTTP get to
the IP address associated to the Ethernet shield on top of Arduino.

Thanks,
Marco Signorini

--
http://www.ethermania.com
http://www.ingegnitech.com
Post by David - asterisk list
Asterisk as a phone system makes perfect sense in a condo. You can get
all the DID's you want and eliminate costs for the owners. You can offer
standard FXO for people who don't care and IP sets for people who want
to "upgrade" to feature sets.
Your door openner is a piece of cake.
1. Create an option in your dialplan only in the "from-access-door"
context that reads DTMF from the called station only.
2. Use this to access an external program to turn on a serial port line
for 10 seconds.
3. This line drives a solid state relay (~$30) so you won't blow the
sink current on the PC port that drives a standard door lock.
A commercial door strike is about $100. The program to run the port is
childs play. Here is a test prog I used for turning on a power hungry
last printer. Change the comments and the sleep time and you're done.
/*
* lpon Lineprinter ON
* *** test program only **
*
* (c) David Cook, 1994
*
* Set signlal lines on serial port to turn on 5vdc
* signal. Used for solid-state relay (low current
* draw on RS232C port) to switch high voltage/high
* current load for printer.
*
* Part of an intelligent print spooler to only power
* on/off high draw printer when required.
*
* Usage: lpon<device> <bits to set>
* For example, lpon /dev/cua4 4 to set bit 3 on
* port /dev/cua4.
* "4" = 00000100 or bit 3 which is DTR
* "2" = 00000010 or bit 2 which is RTS
* "6" = 00000110 or both DRT& RTS
*/
#include<sys/types.h>
#include<sys/ioctl.h>
#include<termios.h>
#include<fcntl.h>
#include<errno.h>
#include<stdlib.h>
#include<unistd.h>
#include<stdio.h>
#include<signal.h>
#include "lpswitch.h"
/* Main program. */
int main(int argc, char **argv)
{
struct termios port_config;
int fd;
int set_bits = 2;
/* Open monitor device. */
if ((fd = open(SWDEV, O_RDWR | O_NDELAY))< 0) {
fprintf(stderr, "lpswtich: %s: %d\n", SWDEV, strerror(errno));
exit(1);}
cfmakeraw(&port_config );
port_config.c_iflag=port_config.c_iflag|IXON;
port_config.c_oflag=port_config.c_oflag|CLOCAL|~CRTSCTS;
tcsetattr( fd, TCSANOW,&port_config );
ioctl(fd, TIOCMSET,&set_bits );
/* wait for printer to warm up */
sleep(45);
/* not say "ready" and release the printer */
set_bits = 6;
cfmakeraw(&port_config );
port_config.c_iflag=port_config.c_iflag|IXON;
port_config.c_oflag=port_config.c_oflag|CLOCAL|~CRTSCTS;
tcsetattr( fd, TCSANOW,&port_config );
ioctl(fd, TIOCMSET,&set_bits );
close(fd);
}
Message: 3
Date: Mon, 11 Apr 2011 18:21:39 -0500
Subject: Re: [asterisk-users] Asterisk as a Condo door opener/intercom
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
Content-Type: text/plain; charset="us-ascii"
Continuing top posting...
The same argument could be made for any commercial solution. Why use
Asterisk when we could throw $4,000 at our problem for a commercial
solution?
I'd like to have a solution that would have the features you suggest for
$400.
--Don
On Behalf Of C F
Sent: Monday, April 11, 2011 11:43 AM
Viking electronics makes a door box that connects to any analog line
(IIRC e-20).
They also make a DTMF keypad that integrates in series with any analog
line. They might also make a door box with a DTMF keypad on it.
Sandman makes a relay that will get energized when there is a ring on
the line which could be used to unlock the door.
However, why would you use asterisk? Using asterisk for the sole
purpose of MDU entry system is like using windows for asterisk, it
works but why?
Go for the commercial solutions, it comes with a geziilion options for
your setup one of them the ability of chosing an apartment, another
add key fobs, another one is the ability of using a code for the
residence (not guests) to unlock the door. Also the interface with
asterisk you will have to build one from scratch. The commercial
solutions have em built in.
Post by Bruce B
Post by Bruce B
Hi Everyone,
Looking to replace a condo intercom system. Apparently the
current one
taps
Post by Bruce B
Post by Bruce B
into the lines and dials phone numbers but needs to be changed
as it's
Post by Bruce B
faulty.
I will probably still use the same analogue dialing and back it
up with a
Post by Bruce B
VoIP line and use the current cabling that is in place. But as
for as the
Post by Bruce B
door opening function goes, I am not sure how to interface and
how open
Post by Bruce B
these modules are usually built.
I would appreciate it if someone with experience can throw in some
pointers
Post by Bruce B
Post by Bruce B
as to what I might be facing and what challenges I have to
solve to
replace
Post by Bruce B
Post by Bruce B
this with a nice Asterisk system.
Thanks,
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
http://www.asterisk.org/hello
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Received: from mailrelay13.libero.it (192.168.32.133) by
ims3c10.libero.it (8.6.015.05)
14:10:38 +0200
Received: from mtalibero16.libero.it (EHLO mtalibero16.libero.it)
([192.168.36.178])
by mailrelay13.libero.it
with ESMTP id BLL37848;
Wed, 13 Apr 2011 14:10:38 +0200 (CEST)
Authentication-Results: mtalibero16.libero.it; dkim=neutral (message
not signed) header.i=none
Received-SPF: Pass identity=mailfrom; client-ip=216.207.245.17;
receiver=mtalibero16.libero.it;
x-conformance=spf_only;
x-record-type="v=spf1"
X-LREMOTE-IP: 216.207.245.17
Received: from lists.digium.com ([216.207.245.17])
by mtalibero16.libero.it with ESMTP; 13 Apr 2011 12:10:37 +0000
Received: from localhost ([127.0.0.1] helo=inxs.digium.internal)
by lists.digium.com with esmtp (Exim 4.69)
id 1Q9ys0-0005ZE-MK; Wed, 13 Apr 2011 07:08:28 -0500
Received: from smarthost2.sentex.ca ([205.211.164.50])
by lists.digium.com with esmtp (Exim 4.69)
Received: from mail.advan.ca (64-7-151-162.border7-dynamic.dsl.sentex.ca
[64.7.151.162])
by smarthost2.sentex.ca (8.14.4/8.14.4) with ESMTP id p3DC8BDt083660
Wed, 13 Apr 2011 08:08:11 -0400 (EDT)
Received: from [192.168.254.60] (dsl-173-206-230-165.tor.primus.ca
[173.206.230.165])
(using TLSv1 with cipher AES256-SHA (256/256 bits))
(No client certificate requested)
by mail.advan.ca (Postfix) with ESMTP id 02D4020074
Wed, 13 Apr 2011 08:06:52 -0400 (EDT)
Date: Wed, 13 Apr 2011 08:08:11 -0400
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB;
rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.67 on 205.211.164.50
Subject: [asterisk-users] Fwd: Re: Asterisk as a Condo door
opener/intercom
X-Mailman-Version: 2.1.11
Precedence: list
Asterisk Users Mailing List - Non-Commercial Discussion
List-Id: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users.lists.digium.com>
<http://lists.digium.com/mailman/options/asterisk-users>,
List-Archive: <http://lists.digium.com/pipermail/asterisk-users>
<http://lists.digium.com/mailman/listinfo/asterisk-users>,
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
X-Junkmail-Status: score=10/55, host=mailrelay13.libero.it
X-Junkmail-Signature-Raw: score=unknown,
refid=str=0001.0A0B0203.4DA592BE.0062:SCFSTAT1096517,ss=1,re=-4.000,fgs=0,
ip=216.207.245.17,
so=2010-12-23 16:51:53,
dmn=2011-03-08 23:48:17,
mode=multiengine
X-Junkmail-IWF: false
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0),
refid=str=0001.0A0B0203.4DA592BE.0062:SCFSTAT1096517,ss=1,re=-4.000,fgs=0,
ip=216.207.245.17,
so=2010-12-23 16:51:53,
dmn=2011-03-08 23:48:17
X-Mirapoint-Loop-Id: 6da273897f2e173fd6f2e4db7291bb15
X-libjamoibt: 2587
Asterisk as a phone system makes perfect sense in a condo. You can get
all the DID's you want and eliminate costs for the owners. You can offer
standard FXO for people who don't care and IP sets for people who want
to "upgrade" to feature sets.
Your door openner is a piece of cake.
1. Create an option in your dialplan only in the "from-access-door"
context that reads DTMF from the called station only.
2. Use this to access an external program to turn on a serial port line
for 10 seconds.
3. This line drives a solid state relay (~$30) so you won't blow the
sink current on the PC port that drives a standard door lock.
A commercial door strike is about $100. The program to run the port is
childs play. Here is a test prog I used for turning on a power hungry
last printer. Change the comments and the sleep time and you're done.
/*
* lpon Lineprinter ON
* *** test program only **
*
* (c) David Cook, 1994
*
* Set signlal lines on serial port to turn on 5vdc
* signal. Used for solid-state relay (low current
* draw on RS232C port) to switch high voltage/high
* current load for printer.
*
* Part of an intelligent print spooler to only power
* on/off high draw printer when required.
*
* Usage: lpon<device> <bits to set>
* For example, lpon /dev/cua4 4 to set bit 3 on
* port /dev/cua4.
* "4" = 00000100 or bit 3 which is DTR
* "2" = 00000010 or bit 2 which is RTS
* "6" = 00000110 or both DRT& RTS
*/
#include<sys/types.h>
#include<sys/ioctl.h>
#include<termios.h>
#include<fcntl.h>
#include<errno.h>
#include<stdlib.h>
#include<unistd.h>
#include<stdio.h>
#include<signal.h>
#include "lpswitch.h"
/* Main program. */
int main(int argc, char **argv)
{
struct termios port_config;
int fd;
int set_bits = 2;
/* Open monitor device. */
if ((fd = open(SWDEV, O_RDWR | O_NDELAY))< 0) {
fprintf(stderr, "lpswtich: %s: %d\n", SWDEV, strerror(errno));
exit(1);}
cfmakeraw(&port_config );
port_config.c_iflag=port_config.c_iflag|IXON;
port_config.c_oflag=port_config.c_oflag|CLOCAL|~CRTSCTS;
tcsetattr( fd, TCSANOW,&port_config );
ioctl(fd, TIOCMSET,&set_bits );
/* wait for printer to warm up */
sleep(45);
/* not say "ready" and release the printer */
set_bits = 6;
cfmakeraw(&port_config );
port_config.c_iflag=port_config.c_iflag|IXON;
port_config.c_oflag=port_config.c_oflag|CLOCAL|~CRTSCTS;
tcsetattr( fd, TCSANOW,&port_config );
ioctl(fd, TIOCMSET,&set_bits );
close(fd);
}
Message: 3
Date: Mon, 11 Apr 2011 18:21:39 -0500
Subject: Re: [asterisk-users] Asterisk as a Condo door opener/intercom
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
Content-Type: text/plain; charset="us-ascii"
Continuing top posting...
The same argument could be made for any commercial solution. Why use
Asterisk when we could throw $4,000 at our problem for a commercial
solution?
I'd like to have a solution that would have the features you suggest for
$400.
--Don
On Behalf Of C F
Sent: Monday, April 11, 2011 11:43 AM
Viking electronics makes a door box that connects to any analog line
(IIRC e-20).
They also make a DTMF keypad that integrates in series with any analog
line. They might also make a door box with a DTMF keypad on it.
Sandman makes a relay that will get energized when there is a ring on
the line which could be used to unlock the door.
However, why would you use asterisk? Using asterisk for the sole
purpose of MDU entry system is like using windows for asterisk, it
works but why?
Go for the commercial solutions, it comes with a geziilion options for
your setup one of them the ability of chosing an apartment, another
add key fobs, another one is the ability of using a code for the
residence (not guests) to unlock the door. Also the interface with
asterisk you will have to build one from scratch. The commercial
solutions have em built in.
Post by Bruce B
Post by Bruce B
Hi Everyone,
Looking to replace a condo intercom system. Apparently the
current one
taps
Post by Bruce B
Post by Bruce B
into the lines and dials phone numbers but needs to be changed
as it's
Post by Bruce B
faulty.
I will probably still use the same analogue dialing and back it
up with a
Post by Bruce B
VoIP line and use the current cabling that is in place. But as
for as the
Post by Bruce B
door opening function goes, I am not sure how to interface and
how open
Post by Bruce B
these modules are usually built.
I would appreciate it if someone with experience can throw in some
pointers
Post by Bruce B
Post by Bruce B
as to what I might be facing and what challenges I have to
solve to
replace
Post by Bruce B
Post by Bruce B
this with a nice Asterisk system.
Thanks,
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
http://www.asterisk.org/hello
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Loading...