Actions

Difference between revisions of "%sev"

From Zenitel Wiki

 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Returns the [[Sub-Event (Event Handler)|sub-event]] number (in decimal format) of the event being processed.  
+
{{AI}}
 +
* Returns the [[Sub-Event (Event Handler)|sub-event]] number (in decimal format) of the event being processed.  
  
If the sub-type of en event is defined as 255, the main event will be triggered independent on the reported sub-type.  
+
Sub-event value 255 can be used as a "wild card", then the main event will be triggered regardless of the sub-event number.  
  
Some EventHandler reports uses ''sub event'' in addition to the main [[Event_Handler#Events_Types|event type]]:
+
Some [[Event_Handler#Events_Types|event types]] that use sub-events:
* When used with feature 105, 'Event trigger on dialling digits',  %SEV will return the dialled digit (Main event is [[Event Trigger with parameter (Event Type)]]).
+
* [[Event Trigger with parameter (Event Type)|Event 25 - Event Trigger with parameter]] is triggered when dialling digits after having called feature 105. %SEV will return the dialled digit
* When used with [[External_Data_Input]], %SEV is the EDIO port 1 - 4 the EDI text arrived on.
+
* [[External Data Input|Event 28 - External Data Input]] is triggered when reciving text on an EDIO port. %SEV tells which EDIO port 1 - 10 the text arrived on.
* When used with [[AlphaNet Link (Event Type)|event 29 - AlphaNet Link]], %SEV is the remote node number
+
* [[AlphaNet Link (Event Type)|Event 29 - AlphaNet Link]] reports AlphaNet links up or down. %SEV returns the remote node number
* When used with [[Private Ringing Outgoing(Event Type)|event 33 - Private Ringing Outgoing]], %SEV returns a number indicating the reason why ringing ended
+
* [[Station Input or Station DAK key (Event Type)| Event 30 - Station Input or Station DAK key]] reports DAK keys or inputs activated: %SEV will return the DAK key number or Input number
* ...
+
* [[Private Ringing Outgoing(Event Type)|Event 33 - Private Ringing Outgoing]]. %SEV will return a number indicating the reason why ringing ended
  
 
Back to [[Event_Handler#List_of_context_parameters]].
 
Back to [[Event_Handler#List_of_context_parameters]].
  
 +
[[Category:Event Handler macros]]
 
[[Category:Event Handler]]
 
[[Category:Event Handler]]

Latest revision as of 08:49, 4 October 2019

AI.png
  • Returns the sub-event number (in decimal format) of the event being processed.

Sub-event value 255 can be used as a "wild card", then the main event will be triggered regardless of the sub-event number.

Some event types that use sub-events:

Back to Event_Handler#List_of_context_parameters.