Acme Packet (MOSC)

MOSC Banner

How to delete a header that is duplicated

edited Dec 5, 2012 5:55PM in Acme Packet (MOSC) 5 commentsAnswered ✓

Hello,

 

I am trying to build an HMR in order to delete the header k:100rel. The problem is that there is also header k:timer in the same INVITE, and so far I manage to delete both headers. How can I choose to delete only the correct one? I tried to match this particular header with different ways but I haven't managed to make it work so far. One example:

 

     sip-manipulation
        name                           Remove_k:100rel
        description                    (Remove header k:100rel)
        header-rule
                name                           StoreHeader
                header-name                    k
                action                         store
                comparison-type                pattern-rule
                match-value         ^100rel
                msg-type                       request
                new-value
                methods                        INVITE
        header-rule
                name                           RemoveHeader

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