SBC, Session-Agent Whitelisting, Does anyone know how to log only messages that do not match the whi
I've implemented some Session-Agent whitelisting using HMR in our lab. Does anyone know of a way to log only those messages that do not match the whitelist? Right now it seems to be logging everything including successful messages.
Whitelist is configured as follows.
sip-manipulation
name Access_IN
description Whitelist for known user-agents, blackhole everything else.
split-headers
join-headers
header-rule
name ua_whitelist
header-name User-Agent
action store
comparison-type pattern-rule
msg-type out-of-dialog
methods
match-value UA1|UA2|UA3|UA4|UA5
new-value
header-rule
name addNullRoute
header-name Route
action add
comparison-type boolean
msg-type request
methods
match-value !($ua_whitelist.$0)
new-value "<sip:1.2.3.4;lr>"
header-rule
name LogOnDeny
header-name User-Agent