SIP Methods for Local Policies

This feature allows the Oracle® Enterprise Session Border Controller to include SIP methods in routing decisions. If you want to use this feature, you set a list of one or more SIP methods in the local policy attributes. These are the SIP methods you can enter in the list: INVITE, REGISTER, PRACK, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE, MESSAGE, and PUBLISH.

After the Oracle® Enterprise Session Border Controller performs a local policy look-up for SIP, it then searches for local policy attributes that have this methods list configured. If it finds a a set of policy attributes that matches a method that matches the traffic it is routing, the Oracle® Enterprise Session Border Controller uses that set of policy attributes. This means that the Oracle® Enterprise Session Border Controller considers first any policy attributes with methods configured before it considers those that do not have methods. In the absence of any policy attributes with methods, the Oracle® Enterprise Session Border Controller uses the remaining ones for matching.

In cases where it finds neither matching policy attributes with methods or matching policy attributes without them, the Oracle® Enterprise Session Border Controller either rejects the calls with a 404 No Routes Found (if the request calls for a response) or drops the call.

You configure local policy matching with SIP methods in the local policy attributes parameter calls methods. This parameter is a list that takes either one or multiple values. If you want to enter multiple values, you put them in the same command line entry, enclosed in quotation marks and separated by spaces.

To configure SIP methods for local policy matching:

  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 local-policy and press Enter. If you are adding this feature to a pre-existing local policy configuration, you will need to select and edit your local policy.
    ORACLE(session-router)# local-policy
    ORACLE(local-policy)#
  4. Type policy-attributes and press Enter. If you are adding this feature to a pre-existing local policy configuration, you will need to select and edit your local policy.
    ORACLE(local-policy))# policy-attributes
    ORACLE(policy-attributes)#
  5. methods—Enter the SIP methods you want to use for matching this set of policy attributes. Your list can include: INVITE, REGISTER, PRACK, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE, MESSAGE, and PUBLISH.

    By default, this parameter is empty—meaning that SIP methods will not be taken into consideration for routing based on this set of policy attributes.

    If you want to enter more than one method, you entry will resemble the following example.

    ACMEPACKET(local-policy-attributes)# methods "PRACK INFO REFER"
  6. Save and activate your configuration.