Looking for HMR help
I'm getting an error on an HMR and I really don't understand why?
The error is: Header Rule ReplaceSubscribe (headerName=request-uri action=find-replace-all cmpType=pattern-rule) does not apply to method SUBSCRIBE.
I'm trying to replace the hostname in the To: and the request-uri with an IP address.
The manipulation is below:
sip-manipulation
name ConferenceFix
description
split-headers
join-headers
header-rule
name ReplaceSubscribe
header-name request-uri
action find-replace-all
comparison-type pattern-rule
msg-type request
methods SUBSCRIBE
match-value .*sip:conf-[0-9]*@([^ ]*).*[[:1:]]
new-value "172.30.20.101:5510"
header-rule
name ReplaceTo
header-name To
action find-replace-all
comparison-type pattern-rule
msg-type request
methods SUBSCRIBE
match-value .*sip:conf-[0-9]*@([^ ]*).*[[:1:]]
new-value "172.30.20.101:5510"