Setting the Element Type

In the element rules (a subset of the SIP header rules configuration), you can now set the type parameter to either of the following values, both of which will only have an impact on the status-line:

  • status-code—Designates the status code of the response line; accepts any string, but during the manipulation process only recognizes the range from 1 to 699
  • reason-phrase—Designates the reason of the response line; accepts any string

Like other rule types you can set, the Oracle® Enterprise Session Border Controller matches against the value for these using case-sensitive, case-insensitive, or pattern-rule matching (set in the comparison-type parameter for the element rule).

To set the element type:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
  2. Type session-router and press Enter to access the signaling-level configuration elements.
    ORACLE(configure)# session-router
    ORACLE(session-router)#
  3. Type sip-manipulation and press Enter.
    ORACLE(session-router)# sip-manipulation
    ORACLE(sip-manipulation)#
  4. Type header-rules and press Enter.
    ORACLE(session-router)# header-rules
    ORACLE(sip-header-rules)#
  5. Type element-rule and press Enter. The system prompt changes to let you know that you can begin configuring individual parameters.
    ORACLE(sip-header-rules)# element-rules
    ORACLE(sip-element-rules)#
  6. type—Enter either status-code or reason-phrase, the value of which will be used for matching according to the comparison-type.