Actions

Unlock intercom station with password

From Zenitel Wiki

Revision as of 15:57, 30 April 2013 by Asle (talk) (Solution)

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.

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.

If the master station is a CRM IV or CRM V station with DAK48 panel, the "disabled" status will be indicated with a red LED in the assosiated button on the DAK panel.

If the master station is a DualDisplay station (either analog or IP based), the "disabled" status will be highlighted with inverse video in the assosiated button in the DAK display.


Solution

Directory number 9535 is by default a two-step event trigger, feature 95/0. When 9535 + Substation is dialled, an event type 25 is triggered and the action string $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 L%1.dir U2 will disconnect the master station with a success tone after having entered the substation number. The $PROG L%2.dir LV command will switch off audio program on the substation. The 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 $ST L%2.dir W9000 L9988.

When the timer expires it will trigger event type 21, and the command $SSC L%1.dir U1 will move the station back to COS 1, the 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 9980.

Event Owner: Stations w/UDP, Id: 8 (All stations)
Event type: 15 – Event trigger
When change to: ON
When related to: Directory number, Id: 9980
Action: $SSC L%1.dir U1
  $ST L%2.dir W100 L9980



Event 1 - Lock the station by moving it to COS 2 after timeout.

Event Owner: Stations w/UDP, Id: 8 (All stations)
Event type: 21 – Event timer
When change to: ON
When related to: Directory number, Id: 9980
Action: $SSC L%1.dir U2