In this section:
Steps to Creating an Effective SMM Translation
Step 1: Add a Condition Rule
If there are any conditions for the SMM Rule, add a Condition Rule. Examples include:
- Only on a particular phone number
Only a specific header (name)
Select a Match Type Token value; this states the SIP Packet element (diversion number, IP address, etc.) for the match. Then, complete of the remainder which provides the value you desire to match.
Step 2: Select SIP Packets to be changed
Decide which type of SIP packets are to be changed (All Messages, All Requests, All Responses, Select Messages). The types of SIP packets to be changed is selected when the SMM Message Rule Table is created.
- Add the SIP Message Rule Table.
- Configure which SIP messages will be examined by this Rule Table.
- Configure whether the SMM Table will be Mandatory or Optional in the Signaling Group.
Step 3: Select SIP Packet element
Click the name of the newly created SMM Table in the left-hand navigation tree, then add an SMM Rule entry.
Select rule type: Header, Request, Status, or Raw
Step 4: Identify which rule section corresponds to the SIP element to be changed
- Add SIP Header Rule.
For Header Value, configure the URI User. For example, to change the FROM number to something other than anonymous (i.e, From <sip:anonymous@10.1.1.74>;tag=254b0000).
Step 5: Select Type of Change to be made
Configure the rule to correspond with the manipulation you require.
- Access SIP Header Rule.
- Select the Result Type. This setting operates exactly the same as the Translational Table optional/mandatory.
- Set the Action to Add, Remove, Copy, or Modify. The available options will vary based upon the type of rule you're adding. If you think about it, you can't _add a Request URI or Status Line; the SIP packet already has one, right?
- Configure a Header Name (either from the pre-progammed list or by typing the name of the header if it isn't in the list). Request and Status Rules address only the Request and Status headers; those rules do not require a header to be chosen.
- Configure the target rule setting. For example, when changing any calling number of anonymous to 1000, set the User URI Info to Modify and add the configuration/value for the SIP element.
- If you created a Condition in Step 1, add it to the Rule entry . In this example, the SMM will only execute if the Calling Number is 'anonymous'.
Select the appropriate type of change to be made.
Step 6: Configure the new rule into either a Signaling Group or Call Route
Configure the new rule into either a Signaling Group or Call Route (SMM Rules can be processed either ingress or egress at the Signaling Group).
For details on Signaling Groups or Call Routes, refer to Managing SIP Signaling Groups or Managing Call Routing Tables.
Like the Transformation Table's User Values, the SMM feature supports a method to copy values into user-controlled, generic tokens, SG User Values. The SG User Values can be transported from ingress to egress SG, or be utilized in a Transformation Table (e.g. to move a P-Asserted number to the Calling Number at the Call Route level rather than the Signaling Group level). See this SMM Document for an example of the SG User Value used with a Translation Table.