Acme Packet (MOSC)

MOSC Banner

Hello, can you help me with my first HMR

edited Dec 4, 2012 7:16AM in Acme Packet (MOSC) 2 commentsAnswered

Hello friends, I have to make a HMR that remove a complete line from SDP, I want to remove all this line from SDP in INVITE : "a=silenceSuppff - - - - " , I made following HMR:

 

sip-manipulation
      name My_Custom_HMR
      description Cascading HMR
      split-headers
      join-headers
      header-rule
             name nat_ip
             header-name To
             action sip-manip
             comparison-type case-sensitive
             msg-type any
             methods
             match-value
             new-value ACME_NAT_TO_FROM_IP

       header-rule
             name DelSilSupfrominvite
             header-name Content-Type
             action manipulate
             comparison-type pattern-rule
             msg-type any
             methods INVITE
             match-value
             new-value
                     element-rule
                                name RemoveSilenceLine
                                parameter-name application/sdp
                                type mime
                                action find-replace-all
                                match-val-type any
                                comparison-type pattern-rule
                                match-value \Ra=silenceSuppff

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center