Configuring MIME Support

The find-replace-all action has been added to the header rules. Element rules support the find-replace-all action and the mime type.

To set the header rule with the find-replace-all action:

  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 sip-manipulation and press Enter.
    ORACLE(session-router)# sip-manipulation
    ORACLE(sip-manipulation)#
  4. Type header-rules and press Enter.
    ORACLE(sip-manipulation)# header-rules
    ORACLE(sip-header-rules)#
  5. action—Set the action parameter to find-replace-all if you want to enable SIP HMR MIME manipulation.
  6. Save and activate your configuration.

    To set the element rule with the find-replace-all action and MIME type:

  7. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
    ORACLE(configure)#
  8. Type session-router and press Enter.
    ORACLE(configure)# session-router
    ORACLE(session-router)#
  9. Type sip-manipulation and press Enter.
    ORACLE(session-router)# sip-manipulation
    ORACLE(sip-manipulation)#
  10. Type header-rules and press Enter.
    ORACLE(sip-manipulation)# header-rules
    ORACLE(sip-header-rules)#
  11. Type element-rules and press Enter.
    ORACLE(sip-header-rules)# element-rules
  12. ORACLE(sip-element-rules)#
  13. action—Set the action parameter to find-replace-all if you want to enable SIP HMR MIME manipulation.
  14. type—Set the type parameter to mime if you want to enable SIP HMR MIME manipulation.
  15. Save and activate your configuration.