Remove Connection Information in SDP Media
Dear All,
I am new to HMR, i would like to remove duplicate Connection Information in SDP message body as shown below.
Via: SIP/2.0/UDP 10.10.10.123:5060;branch=z9hG4bK1173410F4
Remote-Party-ID: <sip:+4412345678@10.10.10.123>;party=calling;screen=yes;privacy=off
From: <sip:+4412345678@10.10.10.123>;tag=41529D08-237B
.....
v=0
o=CiscoSystemsSIP-GW-UserAgent 1287 8376 IN IP4 10.10.10.123
s=SIP Call
c=IN IP4 10.10.10.123
t=0 0
m=audio 19942 RTP/AVP 0
c=IN IP4 10.10.10.123 <---- Remove this
a=rtpmap:0 PCMU/8000
a=ptime:20
I wrote the HMR, however not success. Any suggestion?
header-rule
name ChkFromCiscoRouter
header-name From
action store
comparison-type case-sensitive
msg-type request
methods
match-value
new-value
element-rule
name ChkIP
parameter-name
type uri-host