Acme Packet (MOSC)

MOSC Banner

HMR Match all But a range of extensions

ALl, I'm trying to create an HMR that will match anything except for a range DID's outbound and overwrite the from header.

SO an outbound call would parse the From header and replace the user portion UNLESS the user portion matches the +155555512.. range.

Something like this:

 name                  MaskFrom

        header-name               From

        action                 manipulate

        comparison-type             pattern-rule

        msg-type                any

        element-rule

            name                  replaceFromUser

            type                  uri-user

            action                 find-replace-all

            match-val-type             any

            comparison-type             case-sensitive

            match-value

            new-value                \++15555551234


I've tried numerous versions of the Match-value (~=\++155555512..) I have been unable to come up with a syntax that works for this. thoughts?

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