User`s manual
SIP User's Manual 5. Web Management
Version 5.0 95 December 2006
Table 5-14: Number Manipulation ini File Parameters (continues on pages 93 to 95)
Parameter Description
SourceNumberMapIP2Tel
Manipulate the source number for IP to Tel calls.
NumberMapIP2Tel = a,b,c,d,e,f,g,h,i
a = Source number prefix
b = Number of stripped digits from the left, or (if brackets are used) from the
right. A combination of both options is allowed.
c = String to add as prefix, or (if brackets are used) as suffix. A combination
of both options is allowed.
d = Number of remaining digits from the right
e = Not in use, should be set to $$
f = Not in use, should be set to $$
g = Destination number prefix
h = Not in use, should be set to $$
I = Source IP address (obtained from the Request-URI in the INVITE
message).
The ‘b’ to ‘d’ manipulation rules are applied if the called and calling numbers
match the ‘a’, ‘g’ and ‘I’ conditions.
The manipulation rules are executed in the following order: ‘b’, ‘d’ and ‘c’.
Parameters can be skipped by using the sign ‘$$’, for example:
NumberMapIP2Tel =01,2,972,$$,$$,$$,034
NumberMapIP2Tel =03,(2),667,$$,$$,$$,22
Note: The Source IP address can include the ‘x’ wildcard to represent single
digits. For example: 10.8.8.xx represents all the addresses between 10.8.8.10
to 10.8.8.99. The ‘*’ wildcard represents any number between 0 and 255, e.g.
10.8.8.* represents all the addresses between 10.8.8.0 and 10.8.8.255.
5.5.3.1 Dialing Plan Notation
The dialing plan notation applies, in addition to the four Manipulation tables, also to TelÆIP
Routing table and to IPÆHunt Group Routing table.
When entering a number in the destination and source ‘Prefix’ columns, you can create an
entry that represents multiple numbers using the following notation:
[n-m] represents a range of numbers
[n,m] represents multiple numbers. Note that this notation only supports single digit
numbers.
x represents any single digit
# (that terminates the number) represents the end of a number
A single asterisk (*) represents any number
For example:
[5551200-5551300]# represents all numbers from 5551200 to 5551300
[2,3,4]xxx# represents four-digit numbers that start with 2, 3 or 4
54324 represents any number that starts with 54324
54324xx# represents a 7 digit number that starts with 54324
123[100-200]# represents all numbers from 123100 to 123200.
The VoIP gateway matches the rules starting at the top of the table. For this reason, enter
more specific rules above more generic rules. For example, if you enter 551 in entry 1 and
55 in entry 2, the VoIP gateway applies rule 1 to numbers that starts with 551 and applies
rule 2 to numbers that start with 550, 552, 553, 554, 555, 556, 557, 558 and 559. However
if you enter 55 in entry 1 and 551 in entry 2, the VoIP gateway applies rule 1 to all numbers
that start with 55 including numbers that start with 551.