Acme Packet (MOSC)

MOSC Banner

How can I deny the blacklist registration?

edited Jan 11, 2013 4:55PM in Acme Packet (MOSC) 1 commentAnswered ✓

Dear All,

 

I want to create a blacklist for deny the registration. 

Any quick way to do ?

 

header-rule
name Blacklist_matchFrom
header-name from
action store
comparison-type pattern-rule
msg-type request
methods INVITE,REGISTER
match-value
new-value
element-rule
name Blacklist_matchFromvalue
parameter-name from
type uri-user
action store
match-val-type any
comparison-type pattern-rule
match-value ^\+1445566778[0-4]
new-value
header-rule
name ChangeRURI
header-name request-uri
action manipulate
comparison-type pattern-rule
msg-type request
methods INVITE,REGISTER
match-value $Blacklist_matchFrom.$Blacklist_matchFromvalue
new-value
element-rule
name changeRURIvalue
parameter-name request-uri
type header-value
action replace
match-val-type any
comparison-type pattern-rule
match-value
new-value sip:block@blacklist.acme
last-modified-by admin@1.1.1.1
last-modified-date 2012-12-18 03:58:33

local-policy
from-address
*
to-address
blacklist.acme

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