Acme Packet (MOSC)

MOSC Banner

HMR to replace tag 180 TO header to 200 OK TO tag

edited May 23, 2018 5:01AM in Acme Packet (MOSC) 2 commentsAnswered

Why is this not matching? Thanks.

sip-manipulation

        name                                    keep_to_tg_same

        description

        split-headers

        join-headers

        header-rule

                name                                    stor_to_tag

                header-name                             TO

                action                                  store

                comparison-type                         pattern-rule

                msg-type                                reply

                methods

                match-value

                new-value

                element-rule

                        name                                    storg_tag

                        parameter-name                          tag

                        type                                    status-code

                        action                                  store

                        match-val-type                          any

                        comparison-type                         pattern-rule

                        match-value                             180

                        new-value

        header-rule

                name                                    repl_200_to_tag

                header-name                             TO

                action                                  manipulate

                comparison-type                         pattern-rule

                msg-type                                any

                methods

                match-value                             200

                new-value

                element-rule

                        name                                    rep_to_tag

                        parameter-name                          TO

                        type                                    status-code

                        action                                  sip-manip

                        match-val-type                          any

                        comparison-type                         case-sensitive

                        match-value

                        new-value                               $stor_to_tag.$storg_tag.$0

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