Acme Packet (MOSC)

MOSC Banner

Modifying RURI "rn" parameter

edited Nov 12, 2018 5:06PM in Acme Packet (MOSC) 2 commentsAnswered ✓

I'm trying to modify the "rn" routing number of a TEL URI using the following HMR

sip-manipulation

        name                                    tel_rn_mod

        description

        split-headers

        join-headers

        header-rule

                name                                    mod_tel_uri

                header-name                             request-uri

                action                                  manipulate

                comparison-type                         case-sensitive

                msg-type                                request

                methods

                match-value

                new-value

                element-rule

                        name                                    modUriRn

                        parameter-name                          rn

                        type                                    uri-user-param

                        action                                  replace

                        match-val-type                          any

                        comparison-type                         pattern-rule

                        match-value                             1456.+0(\d{9})

                        new-value                               0+$1

I need to change the INVITE from -

INVITE tel:55555555;rn=14566420255555555;npdi;cic=1456 SIP/2.0

to -

INVITE tel:55555555;rn=0255555555;npdi;cic=1456 SIP/2.0

The result of the test-sip seems to indicate there is nothing in the RURI rn parameter.

sda6300(test-sip-manipulation)# display

INVITE tel:55555555;rn=14566420255555555;npdi;cic=1456 SIP/2.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