Removing entire SDP content in 180 messages
Hi,
I'll need a manipulation that takes a '180 Ringing' message and removes the SDP content if any is present.
I've seen the thread "How to replace 183 with SDP to 180 without SDP", and I have pretty much copied it, but the only problem is I'm using a old firmware and so I cannot use mime-sdp-rules.
I'd like to have an opinion is this would work:
sip-manipulation
        name                           DeleteSDP180
        description                    Deletes SDP content from 180 messages
        split-headers
        join-headers
        header-rule
                name                           CheckFor180
                header-name                    @status-line
                action                         store
                comparison-type                pattern-rule
                msg-type                       reply
                methods                        
                match-value                    
                new-value                      
                element-rule
                        name                           is180
                        parameter-name                 
                        type                           status-code
                        action                         store
                        match-val-type                 any
