Acme Packet (MOSC)

MOSC Banner

HMR assistance

edited Sep 11, 2015 8:14AM in Acme Packet (MOSC) 1 commentAnswered

I Need to change inbound DNIS that comes in as 3307xxxx, 3317,3327,or 3337, always want to change it to 3317xxxx. (There are others too but this is an example)  I  Need some syntax help with the replacement value as it keeps giving me a parsing error (So I am sure my syntax is wrong)  Here is what I have so Far:

Can anyone tell me what I am doing wrong?

header-rule

                name                                    MatchTo

                header-name                             To

                action                                  none

                comparison-type                         pattern-rule

                msg-type                                request

                methods                                 INVITE

                match-value

                new-value

                element-rule

                        name                                    MatchT0Value

                        parameter-name                          uri-user

                        type                                    uri-user

                        action                                  store

                        match-val-type                          any

                        comparison-type                         pattern-rule

                        match-value                             ^(3)([1-2])([0-3])(7)([0-9]){4}        *** This matches the digits Correctly

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