Acme Packet (MOSC)

MOSC Banner

SBC, Session-Agent Whitelisting, Does anyone know how to log only messages that do not match the whi

edited Aug 31, 2015 4:30PM in Acme Packet (MOSC) 2 commentsAnswered ✓

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center