Setting Up Subscribe Dialog Limits

Setting up subscribe dialog limits means setting up an enforcement profile. For the sole purpose of setting up the subscription event limits, you only need to configure the name parameters and then as many subscribe-event configurations as you require. The enforcement profile has other uses, such as SIP SDP address correlation, so only configure the parameters you need.

To configure subscribe dialog limits:

  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 a name for this enforcement profile. You will use this name later when you apply the enforcement profile to a realm; it is the value you enter into the enforcement-profile parameter in the realm configuration.
  5. Still in the enforcement profile configuration, type subscribe-event and press Enter.
    ORACLE(enforcement profile)# subscribe-event
    ORACLE(subscribe-event)#
  6. event-type—Enter the SIP subscription event type for which you want to set up limits. You can also wildcard this value (meaning that this limit is applied to all event types except the others specifically configured in this enforcement profile). To use the wildcard, enter an asterisk (*) for the parameter value.

    By default, this parameter is blank.

    Note:

    The value you enter must be configured as an exact match of the event type expected in the SIP messages (except for the wildcard). Further, the value conforms to the event type BNF specified in RFC 3265.
  7. max-subscriptions—Enter the maximum number of subscriptions allowed to a user for the SIP subscription event type you entered in the event-type parameter. Leaving this parameter set to 0 (default) means that there is no limit. You can set this parameter to a maximum value of 65535.
  8. If you are entering multiple subscribe-event configurations, then you save them each by using the ACLI done command and then repeat Steps 6 and 7 to configure a new one. If you do not save each, then you will simply overwrite the first configuration repeatedly.
    ORACLE(subscribe-event)# done
  9. When you finish setting up subscribe-event configurations and have saved them, exit to return to the enforcement profile configuration.
    ORACLE(subscribe-event)# exit
  10. You also need to save the enforcement profile configuration.
    ORACLE(enforcement profile)# done