Reference13r2:Apps/PbxManager/Explorer
The PBX Manager Explorer is a tool to search and modify the PBX objects configuration based on xpath expressions.
Care should be taken to apply any changes with the OK buttons. These changes come into effect immediately and cannot be reverted. It is good practise to save a backup of the configuration before applying any modification.
Clicking OK if there is no change is also not advised. It creates an unnecessary write operation.
The search input
The search input is used for an xpath expression to filter the objects. Any object, for which an non-empty set is returned, is selected. If the search input is left empty, the expression "/user" is used, which selects all objects.
An example, which selects all objects with a long name starting With "A" would be
/user[starts-with(@cn, "A")]
Add
To modify the data, an expression to add a tag or attribute can be added, by clicking on the plus icon. For example the expression
device/@hw = hw0
adds a "device" tag with the attribute "hw" set to hw0
Del
By clicking on the minus icon an expression to remove a tag or attribut may be specified
Display of current configuration
In the first window below the expressions, the current configuration for each selected object is displayed
Preview of changed configuration
In the window below the configuration is display as if the changes where applied
Operations
OK
applies the change to the current object
OK(all)
applies the change to all objects
Skip
skips the current object
Cancel
Cancels the operation. The changes already applied with OK are not reversed
Examples
Search all users with number
/user[not(pseudo)][@e164]
Search all user devices with Innovaphone MAC as hardware ID
/user/device[starts-with(@hw,"009033")]
Remove the Flag 'TLS only' from all user devices
/user[not(pseudo)][@e164]/device[@tls="true"] -> -@tls
Activate Flag 'TURN' for all user devices
/user[not(pseudo)][@e164]/device[not(@trusted)] -> +@trusted=true