Setting Up and Enforcement Profile
To set up an enforcement profile:
-
In Superuser mode, type
configure terminal and press Enter.
ORACLE# configure terminal ORACLE(configure)#
-
Type
session-router and press Enter.
ORACLE(configure)# session-router ORACLE(session-router)#
-
Type
enforcement-profile and press Enter.
ORACLE(session-router)# enforcement-profile ORACLE(enforcement-profile)#
-
name—Enter the name for the enforcement profile. This parameter has no default, but you must note it so that you can apply this set of allowed SIP headers in: the global SIP configuration, a SIP interface, a realm, or SIP session agent.
ORACLE(enforcement-profile)# name EnfProfile1
-
allowed-methods—Enter a list of SIP methods that you want to allow for this set. The default value is
none. Valid values are:
-
INVITE | REGISTER | PRACK | OPTIONS | INFO | SUBSCRIBE | NOTIFY | REFER | UPDATE | MESSAGE | PUBLISH
To enter multiple methods for the list, type the parameter name followed by a space, then the names of all methods you want to include each separated by a only a comma and in capital letters.
ORACLE(enforcement-profile)# allowed-methods INVITE,REGISTER,PRACK
-
- Save and activate your configuration.