White Papers
Application Notes
Using Astribank to Open Doors
Using Astribank to Open Doors |
Using Asterisk Caller ID to Open DoorsEvery member of Xorcom’s Astribank, XR1000, XR2000 and XR3000 line of products that has an FXS module at the leftmost position includes two auxiliary output ports and four auxiliary input ports. These features open up a whole world of exciting applications for the Asterisk IP-PBX. This white paper will demonstrate how to control access of pre-approved personnel to restricted areas by using the output ports in Xorcom’s Astribank, a channel bank specifically designed for Asterisk, and modifying the Asterisk dialing plan. By using internally isolated relay, each one of the two output ports can switch up to 220 volts, 2 amperes. A relay can be activated by dialing in to its extension. The default relay extension numbers are the two numbers that follow the last line (line 8) in the Astribank-8. For larger Astribanks (Astribank-16, Astribank-24 or Astribank-32), the default numbers of the relays are the two numbers that follow the 8th extension on the first (left-most) block of extensions. Following is a step-by-step explanation of how to wire and set up your Astribank to control doors (or any other equipment of your choice). 1. Dial in to the relay and listen to it: if your Astribank is configured to support extensions 401 to 408, dial extension 409 with your ear close to the Astribank. You'll hear a "click" from the Astribank unit. Hang up your phone; you'll soon hear another "click". The first "click" is the sound that the relay makes when it is activated. This works exactly like a light switch, or pressing a push-button to activate a doorbell. Dialing to the second relay (410, in our example) will give the same results (with the second relay).
Figure 1: Illustration of CAT-5 cable with 8 internal wires exposed.
3. Figure 2 shows the wiring diagram of the output RJ-45 connector. If you are not sure how the wires in your cable are connected, you can use a simple Ohm meter or conductivity meter to find the right pair of wires. You'll measure "no conductivity" until you dial the relay's number (and then you’ll get "short circuit").
Figure 2: Wiring diagram of the
output RJ-45 connector.
5. Test the installation: Dial to the relay (409 or 410 in our example) and check that the door or the appliance is activated. 6. Update the dialing table to include all the active phone numbers in the list. Paragraph 7 (below) shows how to do this by editing the dialing plan. 7. Edit the dialing plan:
; Define an extension you will call in order to activate the relay
Tips and Tricks
|
|
| Last Updated ( Monday, 08 December 2008 ) |


