Acme Packet (MOSC)

MOSC Banner

Stripping BFCP in 6.2

edited Mar 4, 2013 11:57PM in Acme Packet (MOSC) 1 commentAnswered ✓

Hi Folks,

 

I've been trying to put together a HMR to strip BFCP in 6.2 and I'm hitting a snag, we don't strip everything we want.

 

sip-manipulation

        name                           removeUDPBFCP

        description                    remove UDP_BFCP from SDP

        split-headers

        join-headers

        header-rule

                name                           removeudpBFCP

                header-name                    Content-Type

                action                         manipulate

                comparison-type                case-sensitive

                msg-type                       any

                methods

                match-value

                new-value

                element-rule

                        name                           removeSDPUDPBFCP

                        parameter-name                 application/sdp

                        type                           mime

                        action                         find-replace-all

                        match-val-type                 any

                        comparison-type                case-sensitive

                        match-value                    (UDP/BFCP)(.*)

                        new-value

 

Doesn't strip all the attributes lines, just the C line. Any tips?

 

syd-a-sbc1(test-sip-manipulation)# execute
Got Header Rule removeudpBFCP (headerName=Content-Type action=manipulate cmpType=case-sensitive)
Before Manipulation Content-Type Header Value = 'application/sdp'
removeudpBFCP.removeSDPUDPBFCP manipulate(mime:application/sdp)
  Content-Type: application/sdp
ctype is empty, using header value
Expression: '(UDP/BFCP)(.*)
' String: 'v=0
o=CiscoSystemsCCM-SIP 366377 1 IN IP4 202.158.207.35
s=SIP Call
b=TIAS:3968000
b=AS:3968
t=0 0
m=audio 22940 RTP/AVP 104 105 0 8 18 101
c=IN IP4 113.197.2.95
a=rtpmap:104 G7221/16000
a=fmtp:104 bitrate=32000
a=rtpmap:105 G7221/16000
a=fmtp:105 bitrate=24000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:18 G729/8000
a=ptime:20
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 29622 RTP/AVP 97
c=IN IP4 113.197.2.95
b=TIAS:3904000
a=label:11
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42E01F;packetization-mode=0;max-fs=3601;level-asymmetry-allowed=1
a=imageattr:97 recv [x=[32-1280],y=[18-720],par=1.7777,q=1.00]
a=content:main
a=mid:227796888
m=video 25388 RTP/AVP 97
c=IN IP4 113.197.2.95
b=TIAS:3904000
a=label:12
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42E01F;packetization-mode=0;max-fs=4001;level-asymmetry-allowed=1
a=content:slides
m=application 5070 UDP/BFCP *
c=IN IP4 113.197.2.95
a=floorctrl:c-s
a=floorid:2 mstrm:12
a=confid:47
a=userid:47
'
Matches: $0 UDP/BFCP *
$1 UDP/BFCP
$2  *
ExpressionString::resolve: orig value '' resolved ''
Expression: '(UDP/BFCP)(.*)
' String: 'c=IN IP4 113.197.2.95
a=floorctrl:c-s
a=floorid:2 mstrm:12
a=confid:47
a=userid:47
'
Matches:
findReplaceAll: 1 replacements made
updated body with value
v=0
o=CiscoSystemsCCM-SIP 366377 1

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