White Papers
Application Notes
Secured Astribank Relays Output
Secured Astribank Relays Output |
|
Every member of Xorcom’s Astribank™ line of products (that features the FXS module in the first 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 paper will demonstrate advanced ways to use the Astribank relay outputs feature. Let's assume that you want to power off a server, and then power it on remotely. You want this operation to be secure, and to eliminate the possibility of human error. Once you have programmed the Astribank unit, the scenario will transpire as follows:
Note: The following example uses internal extensions rather than an external PSTN line. The same method can be used with external PSTN lines.
; For Caller ID 100 the PIN number is 123
; For Caller ID 101 the PIN number is 456
; For Caller ID 102 the PIN number is 789
; For Caller ID 103 the PIN number is 012
; If the call passes the authentication stage
; go to the action context [restart-service]
; If Caller ID is not recognized, dial the FAX machine
[restart-service]
; 2 for alarm system restart
; The user chose to open the first relay
; Dial the first relay, wait 5 seconds and hangup
; The user chose to open the second relay
; Dial the second relay, wait 5 seconds and hang-up
; The user pressed an invalid number
; Send user back to menu for another try
; In the event of a time out the channel terminates
|
|
| Last Updated ( Friday, 14 November 2008 ) |


