How can I remove the user name from the FROM sip header.
From: "Test" <sip:email@example.com>;tag=dasds3242
In the instance I want to remove "Test".
I looked at the document on the HMR but the few setting I tried didnt give the desired results.
Avrom, assistance with HMR is a paid service offered by Tech Support. I would suggest opening a ticket with them to confirm the options you have available. Thanks
I'm 5 years late, but for future reference it's something along these lines, but I'd have to test it:
Create a ruleset and rule
hmr rule-set StripNameRuleSet
message-rule StripNameRule message-type request
match header from match-value "/(From: )(".+" )(<sip:.+)/"
modify header from position first-match match-value "/(From: )(".+" )(<sip:.+)/" new-value /\1\3/
Create a policy and add the ruleset to the policy
hmr policy StripName Policy
Then apply that policy for all SIP in
sip hmr server StripName in
or for out
sip hmr server StripName out