Acme Packet (MOSC)

MOSC Banner

HMR to change From header sip:anonymous@anonymous.invalid to a valid value

edited Jul 4, 2014 9:20AM in Acme Packet (MOSC) 5 commentsAnswered ✓

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center