Acme Packet (MOSC)

MOSC Banner

HMR to Reject Calls to Numbers longer than 13 Digits

edited Jan 9, 2020 9:18AM in Acme Packet (MOSC) 2 commentsAnswered ✓

Hi everyone,

I'm failing on a Header-Manipulation to reject incoming Calls where the Callee-Number is longer than 13 Digits.

I want to reject calls incoming from Provider, so I placed the HMR as Inbound Manipulation on Access-SIP-Interface to Provider.

My HMR (which is not working) Looks like:

sip-manipulation

name access_in_reject

header-rule

name rejectLongNr

header-Name To

action manipulate

msg-type request

match-value

new-value

element rule

name rejectLongUriUser

parameter-name

type uri-user

action reject

match-val-type any

comparioson-type case-sensitive

match-value [+]\d{14,}

new-value 414:long

I also tried to write the number I called in match-value like [+]123456789012345 but it still didn't work. Where do I have a mistake?

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