TANDBERG D14172.01 manual Special Commands, xfeedback, Example

Models: D14172.01

1 84
Download 84 pages 8.98 Kb
Page 33
Image 33
2.6Special Commands

TANDBERG Gatekeeper/Border Controller API User Guide

2.6Special Commands

In addition to the root commands described above, XACLI support a set of root commands that only applies to the Telnet session or RS232 session from where they are issued. This lets the user/control application individually configure the session(s) in use.

Supported special commands:

xfeedback (not supported on all platforms)

xpreferences

2.6.1 xfeedback

The special command xfeedback lets the user register user-defined XPath expressions (with possible exposure options) to monitor changes in the XML/XACLI data. Whenever there is a change in one or more elements addressed by a registered XPath expression, the part of the element structure containing these changes will be returned. The system supports a total of 20 registered expressions, with a total of 15 expressions for one session.

xfeedback ?

usage: xfeedback register <XPathExpression>

or: xfeedback deregister <index>

or: xfeedback list

or: xfeedback paths

-

(note: deregistration with index=0 will deregister all registered expressions)

OK

Example 2.20

User wants to monitor changes in the aliases registered to the system:

xfeedback register status/Registrations/Registration/Aliases/Alias

To view registered expressions:

xfeedback list

*xf 1 status/Registrations/Registration/Aliases/Alias

OK

When the endpoint for Alice registers:

*s Registrations: Registration 1:

Aliases:

Alias 1 (type=H323Id, origin=Endpoint): "alice@example.com"

*s/end

*s Registrations: Registration 1:

Aliases:

D14172.01

page 33 of 84

Page 33
Image 33
TANDBERG D14172.01 manual Special Commands, xfeedback, Example