Difference between revisions of "Anti-nuisance control (Event Handler)"
From Zenitel Wiki
Line 5: | Line 5: | ||
Directory number 9535 is a two-step event trigger, [[Event_Trigger_w/User_Parameter|feature 95/0]]. When 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 station to [[COS]] 2. COS 2 is by default empty, which will prevent calls to be initiated. Also a 15 minute timer is started, $[[SET_TIMER|ST]] L%2.dir W9000 L9999. The timer will trigger [[Event_Timeout_%28Event_Type%29|event type 21]] when timing out. Command '''$SSC L%2.dir U1''' will then move the station back to COS 1. | Directory number 9535 is a two-step event trigger, [[Event_Trigger_w/User_Parameter|feature 95/0]]. When 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 station to [[COS]] 2. COS 2 is by default empty, which will prevent calls to be initiated. Also a 15 minute timer is started, $[[SET_TIMER|ST]] L%2.dir W9000 L9999. The timer will trigger [[Event_Timeout_%28Event_Type%29|event type 21]] when timing out. Command '''$SSC L%2.dir U1''' will then move the station back to COS 1. | ||
− | ''' | + | |
+ | '''Event 1:''' | ||
{| | {| | ||
|- | |- | ||
Line 25: | Line 26: | ||
|} | |} | ||
− | ''' | + | '''Timeout event - ''' |
{| | {| | ||
|- | |- |
Revision as of 23:00, 8 October 2007
A master station should be able to disable calls from substations for a periode of time.
In the programming example below the master station dials 9535 + substation number to disable calls from that substation 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. Command $SSC L%2.dir U1 will then move the station back to COS 1.
Event 1:
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 |
Timeout event -
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: | $SSC L%2.dir U1 |