HMR for tag
Hello,
Need help in using element rules.
I have an call tag parameter in To header
To: <sip:+1234445@10.27.0.5;user=phone>;tag=fd79b70b;psei=237f7sdff881
I need to store it into another parameter and replace with a special value, but this just removes parameters from To header.
How to work correctly with parameters?
sip-manipulation
name chgTag
description
split-headers
join-headers
header-rule
name addOldTag
header-name To
action manipulate
comparison-type pattern-rule
msg-type response
methods INVITE
match-value
new-value
element-rule
name saveTag
parameter-name tag
type header-param
action store
match-val-type any
comparison-type pattern-rule
match-value
new-value
element-rule
name oldTag
parameter-name oldtag
type header-param
action add