Acme Packet (MOSC)

MOSC Banner

HMR to Match URI-Host

edited Jun 26, 2019 2:25PM in Acme Packet (MOSC) 3 commentsAnswered ✓

Hi,

I am trying to create a HMR to match URI-HOST using a alternator, but keep getting error?

header-rule

        name                                    requestUri

        header-name                             request-uri

        action                                  manipulate

        comparison-type                         case-sensitive

        msg-type                                any

        methods                                 INVITE

        match-value

        new-value

        element-rule

                name                                    convertshortcodeforuridialWebex

                parameter-name                          host

                type                                    uri-host

                action                                  replace

                match-val-type                          any

                comparison-type                         pattern-rule

                match-value                             $RURI_HOST.$0!="alpha.webex.com|webex.com"

                new-value                               xyz.com

        element-rule

                name                                    convertoldshortcodetoneWebex

                parameter-name                          user

                type                                    uri-user

                action                                  replace

                match-val-type                          any

                comparison-type                         pattern-rule

                match-value                             $RURI_HOST.$0!="alpha.webex.com|webex.com"

                new-value                               62900

Input: INVITE sip:923637752@abc.com SIP/2.0

Expected output: INVITE sip:62900@xyz.com SIP/2.0.

Any help is highly appreciated ?

Thanks,

Gaurav

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