14.12.2012 Views

Optivity Telephony Manager: System Administration - BT Business

Optivity Telephony Manager: System Administration - BT Business

Optivity Telephony Manager: System Administration - BT Business

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

600 Alarm management<br />

Operators<br />

Example:<br />

script example2 when ($CurrentTrapDevice=”Meridian1”){<br />

}<br />

Scripts usually contain a logical expression for testing event data. Logical expressions<br />

support operators that you can use in any combination. Use parentheses to clarify the<br />

order of operations.<br />

The Alarm Notification application supports the operators described in Table 38.<br />

Table 38<br />

Operators<br />

The logical operators “and” and “or” are case-sensitive.<br />

553-3001-330 Standard 3.00 August 2005<br />

Operator Description<br />

+, -, *, / Addition, subtraction, multiplication, division<br />

= Greater than, greater than or equal<br />

=, != Equal, not equal<br />

Contains (look for substrings)<br />

and, or Logical and, logical or (case sensitive)<br />

:= Assigns a value to a variable. The data types must agree or a<br />

compiler error will result when the script is executed. If a value is<br />

assigned to a string value, the string must be declared large<br />

enough to contain the new value.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!