Acme Packet (MOSC)

MOSC Banner

Modify reason in Diversion Header

edited Jan 28, 2015 4:30PM in Acme Packet (MOSC) 4 commentsAnswered ✓

Diversion: <sip:1234@1.1.1.1>;reason=follow-me;privacy=off;screen=yes

 

I need to match reason=follow-me and replace it with reason=unconditional

 

sip-manipulation
        name                                    test
        description
        split-headers
        join-headers
        header-rule
                name                                    test1
                header-name                             Diversion
                action                                  manipulate
                comparison-type                         case-insensitive
                msg-type                                request
                methods                                 INVITE
                match-value
                new-value
                element-rule
                        name                                    test2
                        parameter-name
                        type                                    header-value
                        action                                  replace
                        match-val-type                          any
                        comparison-type                         case-insensitive
                        match-value                             reason=follow-me
                        new-value                               reason=unconditional

 

No go, any pointers?

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