Difference between revisions of "Anti-nuisance control (Event Handler)"
From Zenitel Wiki
(New page: Anti-nuisance control Local Guard should be able to disable calls from substation for a periode of time. In the programming example below the guard station dials 9535 + substation number...) |
|||
Line 16: | Line 16: | ||
timing out, and command $SSC L%2.dir U1 will move the station back to COS 1. | timing out, and command $SSC L%2.dir U1 will move the station back to COS 1. | ||
+ | |||
+ | '''Set transfer to dummy number 345 when not in Call Requester Mode:''' | ||
+ | {| | ||
+ | |- | ||
+ | |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:''' | ||
+ | {| | ||
+ | |- | ||
+ | |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 “” | ||
+ | |- | ||
+ | |} | ||
+ | |||
Event 1: | Event 1: |
Revision as of 22:40, 8 October 2007
Anti-nuisance control
Local Guard should be able to disable calls from substation for a periode of time.
In the programming example below the guard station dials 9535 + substation number to
disable calls from that station for 15 minutes.
Directory number 9535 is a two-step event trigger, feature 95/0. When dialled, an event
type 25 is triggered and the action string $SSC L%2.dir U2 moves the station to COS 2.
COS 2 is by default empty, which will prevent calls to be initiated. Also a 15 minute
timer is started, $ST L%2.dir W9000 L9999. The timer will trigger event type 21 When
timing out, and command $SSC L%2.dir U1 will move the station back to COS 1.
Set transfer to dummy number 345 when not in Call Requester Mode:
Subevent: || 0Event Owner: | The Master Station |
Event type: | 25 – Event trigger with parameter |
When change to: | ON |
When related to: | All |
Action: | $TRF L%1.dir “I345” |
Reset transfer when in Call Requester Mode:
Event Owner: | 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 “” |
Event 1:
Event Owner: The guard 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
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