Acme Packet (MOSC)

MOSC Banner

Question about SDP Manipulation

edited Nov 25, 2015 4:10PM in Acme Packet (MOSC) 4 commentsAnswered ✓

Hello;


I am trying to create an HMR for SDP that looks for “c=IN IP4 0.0.0.0“ and converts a=sendonly/recvonly/sendrecv to a=inactive, or adds that if none of those are found. This is what I create, can someone assist me how to correct the logic ?


sip-manipulation

        name                                    Ctypemanip

        description                            

        split-headers                          

        join-headers                           

        header-rule

                name                                    storectype

                header-name                             Content-Type

                action                                  manipulate

                comparison-type                         case-sensitive

                msg-type                                request

                methods                                

                match-value                            

                new-value                              

                element-rule

                        name                                    checkCvalue

                        parameter-name                          application/sdp

                        type                                    mime

                        action                                  store

                        match-val-type                          any

                        comparison-type                         case-sensitive

                        match-value                             c=IN IP4 0.0.0.0

                        new-value                              

                element-rule

                        name                                    checkavalue

                        parameter-name                          application/sdp

                        type                                    mime

                        action                                  store

                        match-val-type                          any

                        comparison-type                         case-sensitive

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