Actions

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

From Zenitel Wiki

 
(92 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Anti-nuisance control
+
{{AI}}This article describes how a master station can disable substations from making calls and/or audio program selection for a period of time. This function is typically used in prisons, where you want to block calls from a particular cell for a certain time.
  
Local Guard should be able to disable calls from substation for a periode of time.
+
Operation:
 +
* The master station dials '''9535 + directory number''' to disable calls from that substation for a preset time (15 minutes in the example below).
 +
* The feature code 9535 and the substation directory numbers can be assigned to DAK keys for easy operation.
 +
* If the master station is a [[CRM-V]] station (IP Flush Master with DAK-48 Module), the "disabled" status will be indicated with a red LED in the associated button on the DAK panel.
 +
* If the master station is a [[IP Dual Display Station - 1008007000|DualDisplay station]], the "disabled" status will be highlighted with inverse video in the associated button in the DAK display.
  
In the programming example below the guard station dials 9535 + substation number to
 
  
disable calls from that station for 15 minutes.
+
==Configuration==
 +
Directory number 9535 is by default a two-step event trigger, [[Event_Trigger_w/User_Parameter|feature 95/0]]. When 9535 + Substation is dialed, 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 CRM-V station is used. A 15 minute timer (900,0 seconds) is started by the command [[SET_TIMER|$ST L%2.dir W9000 L9988]].  
  
Directory number 9535 is a two-step event trigger, feature 95/0. When dialled, an event
+
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.
  
type 25 is triggered and the action string $SSC L%2.dir U2 moves the station to COS 2.  
+
------------
 +
'''Event 1''' - Move the substation to COS 2, start a timer, and disconnect the master station.
 +
[[File:Application5a.png|500px|left|thumb]]
 +
<br style="clear:both;" />
  
COS 2 is by default empty, which will prevent calls to be initiated. Also a 15 minute
+
{{Code2|
 +
[[SET_STATION_COS|$SSC L%2.dir U2]]
 +
[[DISCON_ST|$DISCON_ST L%1.dir U2]]
 +
[[PROGRAM|$PROG L%2.dir LV]]
 +
[[IND|IND %1.phy %1.dak(I%2.dir) 1 1 ON]]
 +
[[SET_TIMER|$ST L%2.dir W9000 L9988]]
 +
}}
  
timer is started, $ST L%2.dir W9000 L9999. The timer will trigger event type 21 When
+
---------------
 +
'''Event 2''' - Move the substation back to COS 1.
 +
[[File:Application5b.png|500px|left|thumb]]
 +
<br style="clear:both;" />
  
timing out, and command $SSC L%2.dir U1 will move the station back to COS 1.
+
{{Code2|
 +
[[SET_STATION_COS|$SSC L%1.dir U1]]
 +
[[OWN|OWN 110 %1.dir]]
 +
[[IND|IND %1.phy %1.dak(I%2.dir) 1 1 OFF]]
 +
}}
  
'''Set transfer to dummy number 345 when not in Call Requester Mode:'''
+
The two last lines (OWN and IND) are required only if a DAK48 panel is used. In the example the CRM-V station has directory number 110. The first parameter in the OWN command must be changed according to the directory number used in your installation.
{|
 
|-
 
|width="100pt"|Event Owner:
 
|width="300pt"|The Master Station
 
|-
 
|Event type: || 25 – Event trigger with parameter
 
|-
 
Subevent: || 0
 
|-
 
|When change to: || ON
 
|-
 
|When related to: || All
 
|-
 
|Action: || $TRF L%1.dir “I345”
 
|-
 
|}
 
  
'''Reset transfer when in Call Requester Mode:'''
+
== Additional notes==
{|
+
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., which then translates to the subevent in the event with Event Type 25.
|-
 
|width="100pt"|Event Owner:
 
|width="300pt"|Stations w/UDP Id: 8 (All stations)
 
|-
 
|Event type: || 21 – Event timer
 
|-
 
|When change to: || ON
 
|-
 
|When related to: || Directory number:  9999
 
|-
 
|Action: || $TRF L%1.dir “”
 
|-
 
|}
 
  
 +
Example:
 +
* 9535 = 95/0 (default)
 +
* 9546 = 95/1
 +
* 9547 = 95/2
  
Event 1:
+
------------------
  
Event Owner: The guard station
+
[[Category:AlphaCom Applications]]
Event type: 25 - Event trigger with parameter
+
[[Category:ICX-AlphaCom Applications]]
Subevent: 0
+
[[Category:Control Room Applications]]
When change to: ON
+
[[Category:Applications using Event Handler]]
When Related To: All
 
Action:
 
$SSC L%2.dir U2
 
$ST L%2.dir W9000 L9999
 
 
 
Event 2:
 
 
 
Event Owner: Station w. UDP, Id: 8 (all stations)
 
Event type: 21 - Event timeout
 
Subevent: 0
 
When change to: ON
 
When Related To: Directory number  0 | 9999
 
Action:
 
$SSC L%2.dir U1
 
 
 
 
 
[[Category:Applications]]
 

Latest revision as of 13:38, 8 November 2024

AI.png

This article describes how a master station can disable substations from making calls and/or audio program selection for a period of time. This function is typically used in prisons, where you want to block calls from a particular cell for a certain time.

Operation:

  • The master station dials 9535 + directory number to disable calls from that substation for a preset time (15 minutes in the example below).
  • The feature code 9535 and the substation directory numbers can be assigned to DAK keys for easy operation.
  • If the master station is a CRM-V station (IP Flush Master with DAK-48 Module), the "disabled" status will be indicated with a red LED in the associated button on the DAK panel.
  • If the master station is a DualDisplay station, the "disabled" status will be highlighted with inverse video in the associated button in the DAK display.


Configuration

Directory number 9535 is by default a two-step event trigger, feature 95/0. When 9535 + Substation is dialed, 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 CRM-V station is used. A 15 minute timer (900,0 seconds) 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 - Move the substation to COS 2, start a timer, and disconnect the master station.

Application5a.png


Action commands:



Event 2 - Move the substation back to COS 1.

Application5b.png


Action commands:


The two last lines (OWN and IND) are required only if a DAK48 panel is used. In the example the CRM-V station has directory number 110. The first parameter in the OWN command must be changed according to the directory number used in your installation.

Additional notes

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., which then translates to the subevent in the event with Event Type 25.

Example:

  • 9535 = 95/0 (default)
  • 9546 = 95/1
  • 9547 = 95/2