delete SDP info from INVITE
Hi!
I'd like to delete one media attribute from the incoming INVITE messages:
fmtp:101 0-15
is HMR a suitable solution or a codec-policy is more suitable?
what I had in mind is:
sip-manipulation
        name                           stripfmtpFromSDP
        description                   
        split-headers
        join-headers
        header-rule
                name                           modifySDP
                header-name                    Stripfmtp
                action                         manipulate
                comparison-type                case-sensitive
                msg-type                       request
                methods                        INVITE
                match-value
                new-value
                element-rule
                        name                           stripfmtp
                        parameter-name                 application/SDP
                        type                           mime
                        action                         find-replace-all
                        match-val-type                 any
                        comparison-type                case-sensitive
                        match-value                    a=fmtp:.*\R
                        new-value
I'm not sure if the type stablished in the element rule (mime) is correct, and I feel the same about the match-value field.
Do you guys think this might work?