Acme Packet (MOSC)

MOSC Banner

HMR for tag

edited Apr 22, 2013 4:53PM in Acme Packet (MOSC) 4 commentsAnswered

Hello,

 

Need help in using element rules.

 

I have an call tag parameter in To header

To: <sip:+1234445@10.27.0.5;user=phone>;tag=fd79b70b;psei=237f7sdff881

I need to store it into another parameter and replace with a special value, but this just removes parameters from To header.

How to work correctly with parameters?

 

sip-manipulation
        name                           chgTag
        description                    
        split-headers                  
        join-headers                   
        header-rule
                name                           addOldTag
                header-name                    To
                action                         manipulate
                comparison-type                pattern-rule
                msg-type                       response
                methods                        INVITE
                match-value                    
                new-value                      
                element-rule
                        name                           saveTag
                        parameter-name                 tag
                        type                           header-param
                        action                         store
                        match-val-type                 any
                        comparison-type                pattern-rule
                        match-value                    
                        new-value 
element-rule
name oldTag
parameter-name oldtag
type header-param
action add

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