Acme Packet (MOSC)

MOSC Banner

SIP Header Rename

edited Dec 7, 2019 4:05AM in Acme Packet (MOSC) 6 commentsAnswered

Is there a way to change the name of a SIP header other than creating a new header, copying header value to it and removing the original?

Example:

From:

    ININAttr: "header parameters and values"

To:

   User-to-User: "header parameters and values"

We've tried this but didn't work:

sip-manipulation

        name                                    replace

        description                            

        split-headers                          

        join-headers                           

        header-rule

                name                                    replaceinin

                header-name                             ININAttr

                action                                  manipulate

                comparison-type                         case-insensitive

                msg-type                                any

                methods                                 INVITE

                match-value                             ININAttr

                new-value                              

                element-rule

                        name                                    replaceininattr

                        parameter-name                          ININAttr

                        type                                    header-param-name

                        action                                  replace

                        match-val-type                          any

                        comparison-type                         pattern-rule

                        match-value                             ININAttr

                        new-value                               User-To-User

We also played with other value types and nothing works.

BR,

Mark

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