Fix FROM header if the called party number is 123
Hi,
I need a help to set SIP manipulation for "FROM" header if the called party number in INVITE contains "123xx" or "345xx". I have defined the following manipulation rule:- The goal is to replace (take out) the "ZZ" in the calling party field. I don't know how to set the rule such that this is only applicable when the called party matches "123xx" or "345xx".
header-rule
name modifyFromforZZ
header-name From
action manipulate
comparison-type pattern-rule
match-value
msg-type request
new-value
methods INVITE
element-rule
name FromZZ
parameter-name
type uri-user
action replace
match-val-type any
comparison-type pattern-rule
match-value [+]ZZ
new-value [+]
Thanks,