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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

900 Appendix B: Control files included with alarm notification<br />

}<br />

}<br />

}<br />

}<br />

}<br />

}<br />

rule ns1<br />

{<br />

if (1)<br />

{<br />

ns();<br />

}<br />

}<br />

}<br />

}<br />

}<br />

}<br />

}<br />

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

}<br />

{<br />

}<br />

if ( $CurrentTrapDevice = "CALL_SERVER" )<br />

{<br />

$NameSpace := nsCallServer;<br />

}<br />

else<br />

{<br />

if ($CurrentTrapDevice = "BCM" or $CurrentTrapDevice = "SRG")<br />

{<br />

$NameSpace := nsBcmSrg;<br />

}<br />

else<br />

{<br />

$NameSpace := nsGenericOrUnknown;<br />

}<br />

}<br />

// ****************************************************************************<br />

// Console and Log Files<br />

// ****************************************************************************<br />

// =======================================================================<br />

// This is a sample definition for using a log file. All events sent<br />

// to this notification will be appended to the filename defined below.<br />

// Please note that Windows "long" file names are not supported.<br />

// =======================================================================<br />

notification file sample_file {<br />

filename:="c:\sample_log.txt";<br />

}<br />

script ConsoleAndLog<br />

{

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

Saved successfully!

Ooh no, something went wrong!