Event Trigger with parameter (Event Type)
From Zenitel Wiki
The event type 25 is triggered by a so-called "two-step" event trigger. There are two different types, one which waits for a complete directory number to be dialled, and one which triggers every time a digit is pressed or released:
- Feature 95 (Default 9535): Dial 9535 + dir no
- Feature 105 (Default 9545): Dial 9545 + digit
Contents
Event description - Event Trigger w. directory number (feature 95)
Event Owner: | The calling station |
Event type: | 25 - Event trigger with User Parameter |
Subevent: | Parameter-attribute of the Event Trigger number, see below |
When change to ON: | When dialing Event Trigger + succeeding dir no |
When change to OFF: | N/A |
When related to: | The succeeding dir no |
Additional information
- The parameter-attribute of the Event Trigger directory number (95/n) must match the sub-event.
- Example: Feature 95/2 will trigger event type 25, sub-event 2
- The user can dial more than one directory number, an Event Report type 25 is generated for each directory number dialed
- %1 is the station were the function is dialed
- %2 is the dialed directory number
- If the station has mail in its queue, the %2 directory number will default to the sender of the current mail. The user can press M-key to accept the default, or dial another number. This is useful for queue handling.
- 20 second timeout on inactivity
- $DISCON_ST can be used for termination with desired tone
Applications
Build special functions such as Dynamic group call and Anti-nuisance control
Event description - Event Trigger w. digits (feature 105) or PNCI
Triggered by Event Trigger feature 105 (9545 + digit) or digits pressed during conversation with an intercom station with Station Type set to ’PNCI’:
Event Owner: | The calling station |
Event type: | 25 - Event trigger with User Parameter |
Subevent: | Equal to the dialed digit (0–9) or M-key (10) |
When change to ON: | When a digit is pressed |
When change to OFF: | When a digit is released |
When related to: | The Event Trigger or the PNCI directory number |
Additional information
Calling feature 105
When activating feature 105 (default directory number 9545) all succeeding digits are reported to the event handler and is trigged as Event Type 25, with subevent equal to digit dialed 0-9.
- Feature parameter = ‘0’ (105/0): The pressed digit is shown in the display
- Feature parameter = ‘1’ (105/1): The display is not updated. Display text can be customized by using $DSPL (to indicate ‘left’, ‘up’ etc)
- Feature parameter = ‘100’ (105/100): the dual display navigation keys are reported as sub events 20, 22,23 and 24
- The event is ON as long as the station key is down and reported OFF when key is released
- If sub-event is set to 255 all digits will be reported. Use %sev to read the sub-event number (digit = 0 - 9, M-key = 10)
- The M key is reported on/off as sub event 10
- 20 second timeout on inactivity
- $DISCON_ST can be used for termination with desired tone
- Start event: When feature 105 is dialled (before additional digits are entered), event 15 is reported ON, %1 = station, %2 = Event Trigger dir no. Corresponding OFF-event when the feature is disconnected (only related to feature 105, not when calling PNCI)
Calling a station type “PNCI”
When in conversation with a station of type PNCI, the digits keys are reported with sub event equal to digit dialed 0-9
- %1 is calling station
- %2 is PNCI
- The event is reported ON when the key is pressed, and OFF when it is released
Applications
CCTV camera control, recorders, PABX, door opening