Acme Packet (MOSC)

MOSC Banner

Add PAI Display Name to an Invite response (18x) based on UA value in Invite Request

edited Nov 11, 2015 11:28AM in Acme Packet (MOSC) 2 commentsAnswered ✓

HI all,

Looking for some help.

I have built an HMR to add a uri "Display Name" to the PAI header of any Invite responses that don't have a uri-display populated, this works well enough in my lab.

        header-rule

                name                                    PAIDisplayName

                header-name                             p-asserted-identity

                action                                  manipulate

                comparison-type                         pattern-rule

                msg-type                                reply

                methods                                 Invite

                match-value                            

                new-value                              

                element-rule

                        name                                    Add_Dummy_Display_Name

                        parameter-name                         

                        type                                    uri-display

                        action                                  add

                        match-val-type                          any

                        comparison-type                         pattern-rule

                        match-value                             ^$

                        new-value                               "\"External\""

I now wish to be specific about the responses that this rule is applied to instead of catching all.

My idea is to match the  content of the  "User-Agent" header in the corresponding Invite request and only apply the header/element rule above based on this.

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