I want to use the uri-user value in the FROM header to replace the uri-user value in the PAI header.
I've tried using the following rule, but when tested with the "test-sip-manipulation" tool, I get a PAI uri-user value of "TRUE". What am I doing wrong?
sip-manipulation
name PAI_test
description PAI replacement test
split-headers
join-headers
header-rule
name storeFromUriUser
header-name From
action store
comparison-type case-sensitive
msg-type request
methods
match-value
new-value
element-rule
name UriUser
parameter-name
type uri-user
action store
match-val-type any
comparison-type case-sensitive
match-value
new-value
header-rule
name PAI_Header
header-name P-Asserted-Identity
action manipulate
comparison-type case-sensitive
msg-type any
methods
match-value
new-value
element-rule