Actions

Difference between revisions of "Unlock intercom station with password"

From Zenitel Wiki

(Solution)
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This article describes how a master station can be locked in idle, and unlocked by dialing a passcode (Event Trigger). When the code is dialed, the station will be unlocked for a preset periode of time, then it will automatically be locked.
+
{{AI}}
 +
This article describes how a master station can be locked in idle, and unlocked by dialing a passcode. When the code is dialed, the station will be unlocked for a preset periode of time, then it will automatically be locked again.
  
In the programming example below the master station dials 9535 + substation directory number to disable calls from that substation for 15 minutes. The feature code 9535 and the substation numbers can be assigned to DAK keys for easy operation.  
+
The passcode is an [[Event Trigger (Event Type)|Event Trigger]] number. When dialed it will move the station to a [[Class of service|COS (Class of Service)]] in which all wanted features are enabled. Also a timer is started. When the timer expires, the station will be moved to a COS were all features are disabled, except the event trigger feature itself.  
  
If the master station is a [[Control Room Master IV|CRM IV]] or [[IP Flush Master - 1008031000|CRM V]] station with [[DAK48 module - 1008010100|DAK48 panel]], the "disabled" status will be indicated with a red LED in the assosiated button on the DAK panel.
+
* In AlphaPro - Directory & Features, '''Insert''' a new event trigger directory number with feature number 85, e.g. 9200.
 +
[[File:UnlockDirNo.PNG|thumb|left|500px|Create a passcode using feature 85. Here 9200 is used as passcode]]
 +
<br style="clear:both;" />
 +
* In AlphaPro - COS, modify COS 2 to include feature 85 only.
 +
[[File:UnlockCOS2.PNG|thumb|left|500px|Make feature 85 (event trigger) available in COS 2]]
 +
<br style="clear:both;" />
  
If the master station is a DualDisplay station (either [[Dual Display Station - 1007007000|analog]] or [[IP Dual Display Station - 1008007000|IP based]]), the "disabled" status will be highlighted with inverse video in the assosiated button in the DAK display.
 
  
 +
* Program two new events in the Event Handler.
  
==Solution==
+
In AlphaPro, select '''Exchange & System''' - > '''Events''', and '''Insert''' two events with the following properties:
Directory number 9535 is by default a two-step event trigger, [[Event_Trigger_w/User_Parameter|feature 95/0]]. When 9535 + Substation is dialled, an [[Event_Trigger_with_parameter_%28Event_Type%29|event type 25]] is triggered and the action string [[SET_STATION_COS|$SSC L%2.dir U2]] moves the substation to [[COS]] 2. COS 2 is by default empty, which will prevent calls to be initiated. The command [[DISCON_ST|$DISCON_ST L%1.dir U2]] will disconnect the master station with a success tone after having entered the substation number. The [[PROGRAM|$PROG L%2.dir LV]] command will switch off audio program on the substation. The [[IND|IND %1.phy %1.dak(I%2.dir) 1 1 ON]] command will turn on the red LED in the DAK48 panel if a CRMIV or CRMV station is used. A 15 minute timer is started by the command [[SET_TIMER|$ST L%2.dir W9000 L9988]].
 
  
When the timer expires it will trigger [[Event_Timeout_%28Event_Type%29|event type 21]], and the command [[SET_STATION_COS|$SSC L%1.dir U1]] will move the station back to COS 1, the [[IND|IND %1.phy %1.dak(I%2.dir) 1 1 OFF]] command will switch off the red LED, and calls and program selection can again be made.
+
'''Event 1''' - Unlock the station by moving the station to COS 1 when dialing passcode 9200. A 10,0 second timer is started.
 +
[[File:Application24a.png|500px|left|thumb|]]
 +
<br style="clear:both;" />
  
------------
+
{{Code2|
'''Event 1''' - Move the substation to COS 2, start a timer, and disconnect the master station.
+
[[SET_STATION_COS|$SSC L%1.dir U1]]
{|  
+
[[SET_TIMER|$ST L%1.dir W100 L9200]]
|-
+
}}
|width="100pt"|'''Event Owner''':
 
|width="400pt"|The Master Station
 
|-
 
|'''Event type''': || [[Event Trigger with parameter (Event Type)|25 – Event trigger with parameter]]
 
|-
 
|'''Subevent''': || 0
 
|-
 
|'''When change to''': || ON
 
|-
 
|'''When related to''': || All
 
|-
 
|'''Action''': || [[SET_STATION_COS|$SSC L%2.dir U2]]
 
|-
 
| &nbsp; || [[DISCON_ST|$DISCON_ST L%1.dir U2]]
 
|-
 
| &nbsp; || [[PROGRAM|$PROG L%2.dir LV]]
 
|-
 
| &nbsp; || [[IND|IND %1.phy %1.dak(I%2.dir) 1 1 ON]]
 
|-
 
| &nbsp; || [[SET_TIMER|$ST L%2.dir W9000 L9988]]
 
|}
 
  
---------------
+
The parameter W100 = 10.0 seconds. Change if required.
'''Event 1''' - Unlock the station by moving the station to COS 1 when dialing passcode 9980.
 
{|
 
|-
 
|width="100pt"|'''Event Owner''':
 
|width="400pt"|Stations w/UDP, Id: 8 (All stations)
 
|-
 
|'''Event type''': || 15 – Event trigger
 
|-
 
|'''When change to''': || ON
 
|-
 
|'''When related to''': || Directory number, Id: 9980
 
|-
 
|'''Action''': || [[SET_STATION_COS|$SSC L%1.dir U1]]
 
|-
 
| &nbsp; || [[SET_TIMER|$ST L%2.dir W100 L9980]]
 
|-
 
|}
 
  
  
---------------
 
'''Event 1''' - Lock the station by moving it to COS 2 after timeout.
 
{|
 
|-
 
|width="100pt"|'''Event Owner''':
 
|width="400pt"|Stations w/UDP, Id: 8 (All stations)
 
|-
 
|'''Event type''': || [[Event Timeout (Event Type)|21 – Event timer]]
 
|-
 
|'''When change to''': || ON
 
|-
 
|'''When related to''': || Directory number, Id: 9980
 
|-
 
|'''Action''': || [[SET_STATION_COS|$SSC L%1.dir U2]]
 
|-
 
|}
 
  
== Additional notes==
+
'''Event 2''' - After the 10 sec timeout, lock the station by moving it to COS 2.
If there are several two-step event triggers used for different features, they must be separated by using different parameter 1 for the feature 95, i.e. 95/0, 95/1, 95/2 etc.
+
[[File:Application24b.png|500px|left|thumb|]]
 +
<br style="clear:both;" />
  
Example:
+
{{Code2|
* 9535 = 95/0 (default)
+
[[SET_STATION_COS|$SSC L%1.dir U2]]
* 9546 = 95/1
+
}}
* 9547 = 95/2
 
  
------------------
+
{{Note| By default all stations are in COS 1, and thereby "Unlocked". To prevent that a SendAll from AlphaPro will "unlock" all stations, it is recommended to "lock" all stations by moving them to COS 2 in the AlphaPro database.}}
 +
[[File:UnlockCOS2_2.PNG|thumb|left|500px|Put stations in COS 2]]
 +
<br style="clear:both;" />
  
  
[[Category:Applications]]
+
[[Category:AlphaCom Applications]]
 +
[[Category:ICX-AlphaCom Applications]]

Latest revision as of 08:04, 1 June 2022

AI.png

This article describes how a master station can be locked in idle, and unlocked by dialing a passcode. When the code is dialed, the station will be unlocked for a preset periode of time, then it will automatically be locked again.

The passcode is an Event Trigger number. When dialed it will move the station to a COS (Class of Service) in which all wanted features are enabled. Also a timer is started. When the timer expires, the station will be moved to a COS were all features are disabled, except the event trigger feature itself.

  • In AlphaPro - Directory & Features, Insert a new event trigger directory number with feature number 85, e.g. 9200.
Create a passcode using feature 85. Here 9200 is used as passcode


  • In AlphaPro - COS, modify COS 2 to include feature 85 only.
Make feature 85 (event trigger) available in COS 2



  • Program two new events in the Event Handler.

In AlphaPro, select Exchange & System - > Events, and Insert two events with the following properties:

Event 1 - Unlock the station by moving the station to COS 1 when dialing passcode 9200. A 10,0 second timer is started.

Application24a.png


Action commands:


The parameter W100 = 10.0 seconds. Change if required.


Event 2 - After the 10 sec timeout, lock the station by moving it to COS 2.

Application24b.png


Action commands:


Note icon By default all stations are in COS 1, and thereby "Unlocked". To prevent that a SendAll from AlphaPro will "unlock" all stations, it is recommended to "lock" all stations by moving them to COS 2 in the AlphaPro database.


Put stations in COS 2