Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configure the SBC1000/2000

  1. Select the new Message Manipulation entry in the navigation tree

    Panel
    borderStylenone

    Caption
    0Figure
    1Select Message Manipulation

    Image Modified 

  2. Add a SIP Message Rule Table

    Panel
    borderStylenone

    Caption
    0Figure
    1Add SIP Message Rule Table

    Image Modified

  3. Set how the rule will be applied. It can be applied to All SIP Messages, only Requests, only Responses, or Selected Messages.

    Panel
    borderStylenone

    Caption
    0Figure
    1Applicable Messages

    Image Modified 

  4. Add an entry to the new table.

    Panel
    Image Removed
    borderStylenone

    Caption
    0Figure
    1Add Entry

    Image Added

  5. Set

    Set

    the Header Action to Modify and the Header Name to P-Asserted-Identity. As you can see, any SIP Header can be manipulated.

    Panel
    borderStylenone

    Caption
    0Figure
    1Set Header Action and Name

    Image Modified

  6. To set the new PAI value, click Add/Edit...

    Panel
    borderStylenone

    Caption
    0Figure
    1Set PAI Value

    Image Modified

  7. ... and add the new value in the Edit Message Field

    Image Removed
    Panel
    borderStylenone

    Caption
    0Figure
    1Edit Message Field

    Image Added

  8. Click OK to

    Click OK to

    complete adding the entry to the table.

    Panel
    borderStylenone

    Caption
    0Figure
    1Click OK

    Image Modified 

  9. In the SG, Enable the Message Manipulation

    Panel
    borderStylenone

    Caption
    0Figure
    1Enable Message Manipulation

    Image Modified

  10. Add the new Message Manipulation to the

    Outbound Message Manipulation

    Outbound Message Manipulation Table

    Panel
    borderStylenone

    Caption
    0Figure
    1Add Message Table

    Image Modified

...

Debugging Output

In the debugging output below, you can see the PAI change from +15103644064 to 555

...

By adding a Conditional Rule to the Message Rule, you can perform the manipulation only when it matches a particular condition. In the example below, the PAI would only be modified if the call is from +15103644064.

  1. Add a Conditional Rule Table entry

    Panel
    borderStylenone

    Caption
    0Figure
    1Add Conditional Rule Table Entry

    Image Modified 

  2. Add the Description and set the Match Type from the pulldown. In this case, we're looking to match the calling number, which is represented by the from.uri.userinfo.user token.

    Panel
    borderStylenone

    Caption
    0Figure
    1Add Description and Match Type

    Image Modified

  3. Set the Operation to Equals. Set the Match Value Type to Literal and put the number to be matched into

    the Match Value.

    the Match Value.

    Panel
    borderStylenone

    Caption
    0Figure
    1Set Operation

    Image Modified

  4. With the Match information configured, it's time to modify the Message Rule so that it only runs when the Condition is met. In the Message Rule, click the Condition Expression Add/Edit button.

    Panel
    borderStylenone

    Caption
    0Figure
    1Set Static PAI

    Image Modified

  5. Set it for Match All Conditions and select the Conditional Rule you just finished programming in the previous steps. Click Apply.

    Panel
    borderStylenone

    Caption
    0Figure
    1Message Rule Condition

    Image Modified

  6. Click Apply to complete the update to the Message Rule.

    Panel
    borderStylenone

    Caption
    0Figure
    1Update Message Rule

    Image Modified

Important Notes

Info

The SIP Header feature cannot generate a new SIP packet. Only arriving or leaving SIP packets changed via the SIP Header function.