Acme Packet (MOSC)

MOSC Banner

If -> Then Statements with HMRs

edited Jan 22, 2015 2:38PM in Acme Packet (MOSC) 2 commentsAnswered

I am currently experiencing an issue with an HMR I am using:

 

sip-manipulation
    name changeCLine
    description Change SDP c line to use public firewall IP
    split-headers
    join-headers
    header-rule
        name replaceCLine
        header-name Content-Type
        action manipulate
        comparison-type case-sensitive
        msg-type any
        methods INVITE
        match-value
        new-value
        element-rule
            name changeCLine
            parameter-name application/sdp
            type mime
            action find-replace-all
            match-val-type any
            comparison-type case-sensitive
            match-value c=IN IP4 172.16.50.60
            new-value "c=IN IP4 201.202.203.100"
    header-rule
        name changeContactHost
        header-name Contact
        action manipulate
        comparison-type case-sensitive
        msg-type any
        methods
        match-value
        new-value
        element-rule
            name changeHostElem
            parameter-name
            type uri-host
            action replace
            match-val-type any
            comparison-type case-sensitive
            match-value
            new-value 201.202.203.100

 

The above is placed on my out-manip facing my network edge. The problem is that its replacing ALL if the SIP packets going back with this information. We put this rule in place because we have some SIP handset on the open internet, and some internally. The open internet phones were experiencing one way audio because they were getting the response, but when setting up audio were trying to return it to the 172.16. address which was unroutable from their location. The current manipulation is working fine for both use cases completing calls, but is breaking RTP reporting for the internal

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