Acme Packet (MOSC)

MOSC Banner

Change connection information to DNS instead of IP in SDP

edited Jan 12, 2016 5:03AM in Acme Packet (MOSC) 3 commentsAnswered

We have a client that wants to see a DNS entry in our SDP information, instead of the IP.  I figured out how to change the c line, but I'm struggling with the o line.  Can someone help me with this one?

name                                    AddDNS

        description                             replace ipv4 address with DNS in contact and SDP for mobile

        split-headers                          

        join-headers                           

        header-rule

                name                                    FixSDP

                header-name                             Content-Type

                action                                  manipulate

                comparison-type                         case-sensitive

                msg-type                                any

                methods                                

                match-value                            

                new-value                              

                element-rule

                        name                                    ReplaceCLine

                        parameter-name                          application/sdp

                        type                                    mime

                        action                                  find-replace-all

                        match-val-type                          any

                        comparison-type                         pattern-rule

                        match-value                             c=IN IP4 1.2.3.4

                        new-value                               "c=IN sip123.rc.com"

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