Acme Packet (MOSC)

MOSC Banner

header-rule to change the ANI

edited Sep 14, 2012 1:50PM in Acme Packet (MOSC) 4 commentsAnswered ✓

Hi , we have this HMR to change the ANI . This verifies if they correct ANI passes unchanged, if something comes out of the range we verify imposing a specific ANI.

 

sip-manipulation
        name                           ani-verify
        description                    ani-verify
        split-headers
        join-headers
        header-rule
                name                           hrFromStore
                header-name                    From
                action                         none
                comparison-type                pattern-rule
                msg-type                       request
                methods
                match-value
                new-value
                element-rule
                        name                           erFromStore
                        parameter-name                 From
                        type                           uri-user
                        action                         store
                        match-val-type                 any
                        comparison-type                pattern-rule
                        match-value                    ^1152796811$|^2304315211$|
                        new-value
        header-rule
                name                           hrFrom
                header-name                    From
                action                         manipulate
                comparison-type                pattern-rule
                msg-type                       request
                methods
                match-value
                new-value
                element-rule
                        name                           erFromIf
                        parameter-name                 From
                        type                           uri-user
                        action                         replace
                        match-val-type                 any
                        comparison-type                boolean
                        match-value                    $hrFromStore.$erFromStore
                        new-value                      $ORIGINAL
                element-rule
                        name                           erFromIfNot

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