Acme Packet (MOSC)

MOSC Banner

HMR to Replace the (Status-Line: SIP/2.0 302 ->Status-Code: 302) when Contact uri-user start with +

edited Jun 14, 2019 11:58AM in Acme Packet (MOSC) 2 commentsAnswered ✓

Hello fellows:

I would like you can help me to give more ideas how define the following HMR.

I am doing a HMR to change the (Status-Line: SIP/2.0 302 Moved Temporarily-> Status-Code: 302) of the SIP 302 message  to a status code SIP 699.

I am doing the HMR to match when uri-user of the Contact comes with 00xxxxxxxxxxxx and when comes with +xxxxxxxxxxxx, where xxxxxxxxxxxx(could be any digits).

See below our HMR.

sip-manipulation

        name                                    Reject302_v4

        description

        split-headers

        join-headers

        header-rule

                name                                    sip302

                header-name                             @status-line

                action                                  manipulate

                comparison-type                         case-sensitive

                msg-type                                reply

                methods                                 INVITE

                match-value

                new-value

                element-rule

                        name                                    is302

                        parameter-name

                        type                                    status-code

                        action                                  store

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