Acme Packet (MOSC)

MOSC Banner

Remove expires parameter from Contact

in Acme Packet (MOSC) 2 commentsAnswered ✓

What am I doing wrong here? When I test this, it doesn't work, but it is pretty straight forward and I can't figure out what I have wrong.

sip-manipulation

    name                  REMOVE_EXPIRE

    description               removes expire parameter from Contact

    split-headers              

    join-headers               

    header-rule

        name                  removeExpireContact

        header-name               contact

        action                 store

        comparison-type             case-sensitive

        msg-type                any

        methods                 REGISTER

        match-value               

        new-value                

        element-rule

            name                  removeExpire

            parameter-name             expires

            type                  header-param-name

            action                 delete-element

            match-val-type             any

            comparison-type             case-sensitive

            match-value               

            new-value                



3sbc-lab-2(test-sip-manipulation)# execute

Got Header Rule removeExpireContact (headerName=contact action=manipulate cmpType=case-insensitive)

Before Manipulation(3) Contact Header Value = '<sip:dmpashkov96284_cti@192.168.101.84:5060;transport=udp>;q=1.0;expires=0'

removeExpireContact.removeExpire manipulate(header-param-name:expires) pattern:\,+

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