Setting Up and Enforcement Profile

To set up an enforcement profile:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
    ORACLE(configure)#
  2. Type session-router and press Enter.
    ORACLE(configure)# session-router
    ORACLE(session-router)#
  3. Type enforcement-profile and press Enter.
    ORACLE(session-router)# enforcement-profile
    ORACLE(enforcement-profile)#
  4. 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
  5. 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
  6. Save and activate your configuration.