Acme Packet (MOSC)

MOSC Banner

SIP-manipulation for Allow

in Acme Packet (MOSC) 5 commentsAnswered

I have situation where Allow statement needs to be modified?

Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY

In this statement, UPDATE value needs to be deleted. How can I use SIP-manipulation to delete that from Allow line?

Here what I was trying to build which is not working.

header-rule

    name                  removeUPDATE

    header-name               Allow

    action                 manipulate

    comparison-type             case-sensitive

    msg-type                any

    methods

    match-value

    new-value

    element-rule

        name                  delUPDATE

        parameter-name

        type                  header-value

        action                 delete-element

        match-val-type             any

        comparison-type             pattern-rule

        match-value               (,\s*UPDATE|UPDATE\s*,)

        new-value

Tagged:

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