Actions

Difference between revisions of "Anti-nuisance control (Event Handler)"

From Zenitel Wiki

(Solution)
Line 1: Line 1:
 
This article describes how a master station can disable substations from making calls and audio program selection for a periode of time.
 
This article describes how a master station can disable substations from making calls and audio program selection for a periode of time.
  
==Solution==
 
 
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 [[Control Room Master IV|CRM IV]] or [[IP Flush Master - 1008031000|CRM V]] station with [[DAK48 module - 1008010100|DAK48 panel]], the status will be indicated with a red LED on the assosiated button on the DAK panel.
 
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 [[Control Room Master IV|CRM IV]] or [[IP Flush Master - 1008031000|CRM V]] station with [[DAK48 module - 1008010100|DAK48 panel]], the status will be indicated with a red LED on the assosiated button on the DAK panel.
  
 +
 +
==Solution==
 
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. A 15 minute timer is started by the command '''[[SET_TIMER|$ST L%2.dir W9000 L9999]]'''. 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, and calls and program selection can again be made.
 
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. A 15 minute timer is started by the command '''[[SET_TIMER|$ST L%2.dir W9000 L9999]]'''. 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, and calls and program selection can again be made.
  

Revision as of 11:20, 2 December 2009

This article describes how a master station can disable substations from making calls and audio program selection for a periode of time.

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 status will be indicated with a red LED on the assosiated button on the DAK panel.


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. A 15 minute timer is started by the command $ST L%2.dir W9000 L9999. 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, and calls and program selection can again be made.


Event 1 - Move the substation to COS 2, start a timer, and disconnect the master station.

Event Owner: The Master Station
Event type: 25 – Event trigger with parameter
Subevent: 0
When change to: ON
When related to: All
Action: $SSC L%2.dir U2
  $ST L%2.dir W9000 L9999
  $DISCON_ST L%1.dir U2
  $PROG L%2.dir LV

Event 2 - Move the substation back to COS 1.

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