IPv6 to IPv4 SDP manipulation
Here is my HMR:
sip-manipulation
name ReplaceIP6withIP4
description Replace Ip6 to Ip4 in SDP
split-headers
join-headers
mime-sdp-rule
name replace
msg-type any
methods INVITE
action manipulate
comparison-type case-sensitive
match-value
new-value
sdp-media-rule
name replace
media-type audio
action manipulate
comparison-type case-sensitive
match-value
new-value
sdp-line-rule
name replace
type c
action find-replace-all
comparison-type pattern-rule
match-value ^(IN IP6).*
new-value "IN IP4 10.10.10.10"
When I run it in test-sip-manipulation it doesn't update the c line. What am I missing? Thanks in advance.
Got Mime SDP Rule replace
replace.replace manipulate(audio)
replace.replace find-replace-all(c)
After Manipulation[ReplaceIP6withIP4]
INVITE sip:123456789@prod.voipdnsservers.com SIP/2.0
Via: SIP/2.0/TCP [2607:fb90:722b:4aed:74d7:c081:cd8b:b444]:61627;branch=z9hG4bKac1b331b690ba6e9;alias