Acme Packet (MOSC)

MOSC Banner

Logical AND operation in HMR

edited Sep 25, 2013 3:52PM in Acme Packet (MOSC) 1 commentAnswered

Is it possible to use logical AND operation in match-value field.

I want to add P-Asserted Identity field based on FROM value only if:

- PAI does not exists,

AND

- uri user part is a number only.

This will prevent me from introducing second PAI header or PAI header with non-digits.

 

Have you dot any ideas: here is what I wanted to introduce (NN4250, 6.1)

 

        header-rule
                name                           PAIexists
                header-name                    P-Asserted-Identity
                action                         store
                comparison-type                pattern-rule
                match-value
                msg-type                       any
                new-value
                methods                        INVITE
        header-rule
                name                           storeFROM
                header-name                    From
                action                         store
                comparison-type                case-sensitive
                match-value
                msg-type                       any
                new-value
                methods                        INVITE
                element-rule
                        name                           storeNumber
                        parameter-name
                        type                           uri-phone-number-only
                        action                         store

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