Features/Mass Deployment/Setting Files/XML/XmlSubTags/action

From Snom User Wiki

Jump to: navigation, search

The action-tag encloses a set of set of actions of different types

Though each action type has its own syntax, there are a few common traits:

  • each action-type may occur as often as wanted
  • each action has an attribute named "when" - it defines on which event the action may be done. These values are supported:
    • on press the action will be taken, when the associated key is pressed. This value is only allowed in settings describing a key-behavior.
    • on release the action will be taken, when the associated key is released. This value is only allowed in settings describing a key-behavior.
    • on notify the action will be taken, when an incoming sip-notify is determined to apply to this xml-entity. See NotifyParsingRule of type applies
      • prior to taking any action, all NotifyParsingRules will be evaluated
      • is default, i.e. will be taken should no when-attribute be set
    • after initialization (since 8.7.4) the action will be taken just after the xml configuration is first loaded/applied.
  • each action has an attribute named states which contains multiple states in a coma-separated list-> The action will only be taken when the current state of the xml-entity matches one of those in this list.
  • all attribute-values of actions may contain $()-placeholders which allow for dynamic insertion of variables and arrays from the xml-entity context
Personal tools
Interoperability