HMR to change From header sip:anonymous@anonymous.invalid to a valid value
Hi Acme Packet Community,
Hope that you can help me with a HMR that I'm after that will change the uri host and user values of a From SIP header when they match
<sip:anonymous@anonymous.invalid
to be
<sip:71212347@telephony.companyuk.corp
Looking at previous HMRs, I think that I've possibly got c.80% of the content, but I don't know RegEx and I'm not sure about the quotes, types and parameter-names.
Can somebody please review and adjust my draft HMR below please !
Thanks in anticipation,
Phil
header-rule
name FromAnonymous
header-name From
action manipulate
comparison-type pattern-rule
msg-type request
methods INVITE