CHAPTER26 Manipulation
Mediant 1000 Gateway & E-SBC | User's Manual
■ [n,l] = defines the location in the original destination or source number where the digits y are
added:
● n = location (number of digits counted from the left of the number) of a specific string in the
original destination or source number.
● l = number of digits that this string includes.
■ y = prefix to add at the specified location.
For example, assume that you want to manipulate an incoming IP call with destination number
"+5492028888888" (i.e., area code "202" and phone number "8888888") to the number
"0202158888888". To perform such manipulation, the following configuration is required in the
Number Manipulation table:
1. The following notation is used in the 'Prefix to Add' field:
0[5,3]15
where,
● 0 is the number to add at the beginning of the original destination number.
● [5,3] denotes a string that is located after (and including) the fifth character (i.e., the first '2'
in the example) of the original destination number, and its length being three digits (i.e., the
area code 202, in the example).
● 15 is the number to add immediately after the string denoted by [5,3] - in other words, 15 is
added after (i.e. to the right of) the digits 202.
2. The first seven digits from the left are removed from the original number, by entering "7" in the
'Stripped Digits From Left' field.
Table 26-3: Example of Configured Rule for Manipulating Prefix using Special Notation
Parameter Rule 1
Destination Phone Pattern +5492028888888
Source Phone Pattern *
Source IP Address *
Stripped Digits from Left 7
Prefix to Add 0[5,3]15
In this configuration example, the following manipulation process occurs:
1. The prefix is calculated as 020215.
2. The first seven digits from the left are removed from the original number, thereby changing the
number to 8888888.
3. The prefix that was previously calculated is then added.
SIP Calling Name Manipulations
The calling name manipulation tables let you configure up to 120 manipulation rules for manipulating
the calling name (i.e., caller ID) in SIP messages for IP-to-Tel and Tel-to-IP calls. Manipulation
includes modifying or removing the calling name. For example, assume that an incoming SIP
INVITE message includes the following header:
P-Asserted-Identity: "company:john" sip:6666@78.97.79.104
Using the Calling Name Manipulation for IP-to-Tel Calls table, "company" can be changed to
"worker" in the outgoing INVITE, as shown below:
- 619 -