[asterisk-users] Door Contacts via Asterisk?
Dr. Michael J. Chudobiak
mjc at avtechpulse.com
Mon Nov 15 13:34:11 CST 2010
On 11/15/2010 01:35 PM, Cassius Smith wrote:
> 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.
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
More information about the asterisk-users
mailing list