Acme Packet (MOSC)

MOSC Banner

Inbound SIP Manipulation RegEx

edited Feb 8, 2014 12:47AM in Acme Packet (MOSC) 12 commentsAnswered ✓

Ok, need some help with this rule, hoping you guys can help.

 

I want all inbound calls that start with a +1123456XXXX to ultimately have the all the digits stripped except the last four and I want to add a 1 before sending it on to the local policy.

 

I think I have the match value set correctly but am really unsure of the "new-value"

 

Suggestions welcomed and appreciated!

 

sip-manipulation
        name                           CHANGE-DID-TO-FIVE-DIGIT
        description                    CHANGE-INBOUND-DID-CALL-TO-FIVE-DIGIT-INTERNAL
        split-headers                 
        join-headers                  
        header-rule
                name                           chgURI
                header-name                    request-uri
                action                         manipulate
                comparison-type                pattern-rule
                msg-type                       request
                methods                        INVITE
                match-value                   
                new-value                     
                element-rule
                        name                           SiteAchgURI
                        parameter-name                
                        type                           uri-user
                        action                         manipulate
                        match-val-type                 any

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