Acme Packet (MOSC)

MOSC Banner

HMR help - add header depending on called number

in Acme Packet (MOSC) 6 commentsAnswered

Hello, I need to add a header when the called number is 911. I can get the header added, but I can't seem to figure out how to add it only when the called number matches. Thanks in advance.

sip-manipulation

    name                  911

    description               

    split-headers              

    join-headers               

    header-rule

        name                  sRURI

        header-name               request-uri

        action                 store

        comparison-type             case-sensitive

        msg-type                any

        methods                 INVITE

        match-value               

        new-value                

        element-rule

            name                  sUP

            parameter-name              

            type                  uri-user-only

            action                 store

            match-val-type             any

            comparison-type             pattern-rule

            match-value               911

            new-value                

    header-rule

        name                  aPAccessInfo

        header-name               P-Access-Network-Info

        action                 add

        comparison-type             boolean

        msg-type                any

        methods                 INVITE

        match-value               $sRURI.$sUP

        new-value                $FROM_USER.$0

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