Acme Packet (MOSC)

MOSC Banner

Reject HMR on dialled number

edited Mar 31, 2018 5:04AM in Acme Packet (MOSC) 2 commentsAnswered

Good day,

I am in need of the community's assistance, with creating a HMR.

Basically what I need to accomplish is to match on requests, and if the To number/RURI starts with a '0' and it is 13 digits or longer the message should be rejected, but if it starts with '00' is should be ignored,

On all the REGEX I have tried it either doesn't match or matches on '0' and '00'

This is the base HMR I am working from:

sip-manipulation

        name                                    BlockInvalidNumbers

        description                             BlockInvalidNumbers

        split-headers                          

        join-headers                           

        header-rule

                name                                    matchRURI

                header-name                             request-uri

                action                                  reject

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