Difference between revisions of "OWN - Modify Event Owner (%1) and/or Related To (%2) values"
From Zenitel Wiki
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{AI}} | ||
+ | The '''OWN''' command can be used in the [[Event Handler]] to modify the "Event Owner" or the "Related To" parameter. It can be useful in some applications, especially in [[RCI]] strings were there by default is no parameters. The OWN command can set the "owner", "Related To", or both. | ||
== Syntax == | == Syntax == | ||
OWN <owner> <[related_to]> | OWN <owner> <[related_to]> | ||
− | + | The OWN command allows you to use [[Event_Handler#List_of_context_parameters|context parameters]] to look up properties of unrelated stations. | |
== Example == | == Example == | ||
OWN 101 – sets the event owner to dir.no. 101 | OWN 101 – sets the event owner to dir.no. 101 | ||
− | OWN r 101 – sets the “related_to” to dir.no. | + | OWN r 102 – sets the “related_to” to dir.no. 102 |
+ | OWN 101 102 – sets the event owner to dir.no. 101 and the “related_to” to dir.no. 102 | ||
[[Category:Event Handler]] | [[Category:Event Handler]] | ||
+ | [[Category:Built-In Action Commands]] |
Latest revision as of 16:16, 4 October 2019
The OWN command can be used in the Event Handler to modify the "Event Owner" or the "Related To" parameter. It can be useful in some applications, especially in RCI strings were there by default is no parameters. The OWN command can set the "owner", "Related To", or both.
Syntax
OWN <owner> <[related_to]>
The OWN command allows you to use context parameters to look up properties of unrelated stations.
Example
OWN 101 – sets the event owner to dir.no. 101 OWN r 102 – sets the “related_to” to dir.no. 102 OWN 101 102 – sets the event owner to dir.no. 101 and the “related_to” to dir.no. 102