Acme Packet (MOSC)

MOSC Banner

HMR to store the ipv6 address and replace it in the ReuestURI

edited Sep 16, 2013 10:24PM in Acme Packet (MOSC) 9 commentsAnswered

Hi,

I am looking for a way, where Acme stores the IPv6 address in particular private header (p-com-cb) and then replaces the host portion of the request uri with it.

 

The ipv6 address i am using is

p-com-cb: <sip:nena@2001:490:cff2:80:0:0:0:4>^

 

The HMR i have created is as below -

 

sip-manipulation
        name                           Addipv6RouteHeader
        description
        header-rule
                name                           pcomcb
                header-name                    p-com-cb
                action                         store
                comparison-type                case-sensitive
                match-value
                msg-type                       any
                new-value                      $0
                methods                        SUBSCRIBE
                element-rule
                        name                           gethosturi
                        parameter-name
                        type                           uri-host
                        action                         store
                        match-val-type                 any
                        comparison-type                case-sensitive
                        match-value
                        new-value                      $0

 

        header-rule
                name                           ChangeRequestURI
                header-name                    request-uri
                action                         manipulate
                comparison-type                case-sensitive
                match-value
                msg-type                       request
                new-value                      $pcomcb.$0
                methods                        SUBSCRIBE
                element-rule

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