HMR to store the ipv6 address and replace it in the ReuestURI
Hi,
I am looking for a way, where Acme stores the IPv6 address in particular private header (p-com-cb) and then replaces the host portion of the request uri with it.
The ipv6 address i am using is
p-com-cb: <sip:nena@2001:490:cff2:80:0:0:0:4>^
The HMR i have created is as below -
sip-manipulation
name Addipv6RouteHeader
description
header-rule
name pcomcb
header-name p-com-cb
action store
comparison-type case-sensitive
match-value
msg-type any
new-value $0
methods SUBSCRIBE
element-rule
name gethosturi
parameter-name
type uri-host
action store
match-val-type any
comparison-type case-sensitive
match-value
new-value $0
header-rule
name ChangeRequestURI
header-name request-uri
action manipulate
comparison-type case-sensitive
match-value
msg-type request
new-value $pcomcb.$0
methods SUBSCRIBE
element-rule