Acme Packet (MOSC)

MOSC Banner

HMR to Delete Route header if To doesn't have tag

edited Oct 20, 2016 1:39PM in Acme Packet (MOSC) 2 commentsAnswered ✓

Greetings;

Create this HMR to delete Route header if To header doesn't have "tag". Basically delete Route header if its initial request and not  an in-dialogue request (i.e. re-INVITE). Can you please walk me through what's wrong with my logic as the HMR is deleting Route header even if To has tag ?

sip-manipulation

        name                                    deleteRTwithtag

        description                            

        split-headers                          

        join-headers                           

        header-rule

                name                                    checktotag

                header-name                             TO

                action                                  none

                comparison-type                         case-sensitive

                msg-type                                request

                methods                                 INVITE

                match-value                            

                new-value                              

                element-rule

                        name                                    checkfortag

                        parameter-name                          tag

                        type                                    header-param-name

                        action                                  store

                        match-val-type                          any

                        comparison-type                         case-insensitive

                        match-value                            

                        new-value                              

        header-rule

                name                                    StripRouteHdr

                header-name                             Route

                action                                  delete

                comparison-type                         boolean

                msg-type                                request

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