Acme Packet (MOSC)

MOSC Banner

adding header from xml-metadata to INVITE

edited May 26, 2020 5:00AM in Acme Packet (MOSC) 2 commentsAnswered

Hello;

I was working on this HMR which will copy "parent-party-uuid=GJ7S409JTH0N9BBL77G41G9NSO0004CQ" from xml-metadata (apkt:ReferTarget) and add it with the INVITE (as header). I was able to add the "parent-party-uuid" header but content is not adding. Wondering what's wrong with my HMR.

========================================

sip-manipulation

        name                                    uuidfrommedtada

        description

        split-headers

        join-headers

        header-rule

                name                                    storeuuid

                header-name                             Content-Type

                action                                  manipulate

                comparison-type                         case-sensitive

                msg-type                                request

                methods                                 INVITE

                match-value                             parent-party-uuid=*

                new-value

                element-rule

                        name                                    copyuuid

                        parameter-name                          application/rs-metadata+xml

                        type                                    mime

                        action                                  store

                        match-val-type                          any

                        comparison-type                         case-sensitive

                        match-value                            

                        new-value

        header-rule

                name                                    adduuid

                header-name                             parent-party-uuid

                action                                  add

                comparison-type                         pattern-rule

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