Acme Packet (MOSC)

MOSC Banner

delete SDP info from INVITE

edited Mar 16, 2013 4:07AM in Acme Packet (MOSC) 7 commentsAnswered

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?

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