adding header from xml-metadata to INVITE
Hello;
I was working on this HMR which will copy "parent-party-uuid=GJ7S409JTH0N9BBL77G41G9NSO0004CQ" from xml-metadata (apkt:ReferTarget) and add it with the INVITE (as header). I was able to add the "parent-party-uuid" header but content is not adding. Wondering what's wrong with my HMR.
========================================
sip-manipulation
name uuidfrommedtada
description
split-headers
join-headers
header-rule
name storeuuid
header-name Content-Type
action manipulate
comparison-type case-sensitive
msg-type request
methods INVITE
match-value parent-party-uuid=*
new-value
element-rule
name copyuuid
parameter-name application/rs-metadata+xml
type mime
action store
match-val-type any
comparison-type case-sensitive
match-value
new-value
header-rule
name adduuid
header-name parent-party-uuid
action add
comparison-type pattern-rule