Question about SDP Manipulation
Hello;
I am trying to create an HMR for SDP that looks for “c=IN IP4 0.0.0.0“ and converts a=sendonly/recvonly/sendrecv to a=inactive, or adds that if none of those are found. This is what I create, can someone assist me how to correct the logic ?
sip-manipulation
name Ctypemanip
description
split-headers
join-headers
header-rule
name storectype
header-name Content-Type
action manipulate
comparison-type case-sensitive
msg-type request
methods
match-value
new-value
element-rule
name checkCvalue
parameter-name application/sdp
type mime
action store
match-val-type any
comparison-type case-sensitive
match-value c=IN IP4 0.0.0.0
new-value
element-rule
name checkavalue
parameter-name application/sdp
type mime
action store
match-val-type any
comparison-type case-sensitive