Example 1 Stripping All Route Headers
This example explains how to strip all route headers from a SIP packet. First, you create a header manipulation ruleset, in the example it is called route-stripper. Then you configure the list of header manipulation rules you need to strip route headers. In this case, you only need one rule named Route (to match the Route header name) with the action set to Delete.
ORACLE# configure terminal ORACLE(configure)# session-router ORACLE(session-router)# sip-manipulation ORACLE(sip-manipulation)# name route-stripper ORACLE(sip-manipulation)# header-rules ORACLE(sip-header-rules)# name Route ORACLE(sip-header-rules)# action Delete ORACLE(sip-header-rules)# done header-rule name Route action delete match-value msg-type any ORACLE(sip-header-rules)# ex ORACLE(sip-manipulation)# done sip-manipulation name route-stripper header-rule name Route action delete match-value msg-type any