Acme Packet (MOSC)

MOSC Banner

hmr for Diversion utilizing location prefixes, mulitple locations

edited Sep 11, 2017 6:12PM in Acme Packet (MOSC) 8 commentsAnswered ✓

Adding HMR to insert correct Diversion based on calling location.  We use location prefixes (3 digits) and these represent geographical locations.  I have a working HMR but I have 220 locations to add and want to do it as efficiently as allowed.  The included HMR represents a single location:

  header-rule

                name                                    branchNum999

                header-name                             To

                action                                  store

                comparison-type                         pattern-rule

                msg-type                                any

                methods                                 INVITE

                match-value                            

                new-value                              

                element-rule

                        name                                    branch999

                        parameter-name                         

                        type                                    uri-user-only

                        action                                  store

                        match-val-type                          any

                        comparison-type                         pattern-rule

                        match-value                             ^999(.+)$

                        new-value                              

        header-rule

                name                                    xID999

                header-name                             request-uri

                action                                  manipulate

                comparison-type                         case-sensitive

                msg-type                                out-of-dialog

                methods                                 INVITE

                match-value                            

                new-value                              

                element-rule

                        name                                    x999

                        parameter-name                         

                        type                                    uri-user-only

                        action                                  replace

                        match-val-type                          any

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