Acme Packet (MOSC)

MOSC Banner

Fix FROM header if the called party number is 123

edited May 28, 2014 7:19PM in Acme Packet (MOSC) 3 commentsAnswered ✓

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,

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