beautypg.com

Logevent, Event logging to the syslog server, Action.logevent – 2N Helios IP Automation Manual v2.8 User Manual

Page 27: Parameters, Example

background image

27

2N TELEKOMUNIKACE a.s., www.2n.cz

®

Parameters

Event – define the event to launch this action.
Condition – define the condition to be met for the action to be executed. This
parameter is optional.
Direction – define the call RTP stream playing direction.

Valid values:

in – incoming stream to the intercom
out – outgoing stream from the intercom
both – incoming and outgoing stream.

The parameter is optional, the default value is

.

both

– define the RTP stream operation.

Operation

Valid values

mute – mute the stream
unmute – unmute the stream (stream is played).

Example

Mute call streams in both ways

:

if the event defined on row 2 arises

Action.ControlRtpStream: Direction=both; Operation=mute; Event=2

Action.LogEvent

The

block defines the action that logs the event to the syslog server. This

LogEvent

block can be used for verification of Automation settings.

Parameters

Event – define the event to launch this action.
Condition – define the condition to be met for the action to be executed. This
parameter is optional.

Example

Send a syslog message with captured event 2 (Event.CardEntered) if the event defined

:

on row 2 arises

Action.LogEvent: Event=2

Sent syslog message format:

LOCAL0.DEBUG: Jan 10 12:49:14.305 ACT: aut_action_logevent_callback():
Logged event 'CardEntered'