How create an HMR to add Privacy depending on particular From
Good afternoon all,
i'm trying to implement an HMR that, depending on a particular from, add the privacy or not.
Actually i've this:
header-rule
name addPrivacy_test
header-name Privacy
action add
comparison-type case-sensitive
msg-type out-of-dialog
methods INVITE
match-value
new-value user
With that rule applied at session-agent level, all the requests are translated using the Privacy header, and the from is Anonymous.
Should be possible related to your experience to apply this rule depending on the From header (i.e. in case of the user part is "3333" and "3232" the privacy is added, but in case the user part is "4444" the privacy is not added)?