SmartWare Software Configuration Guide
E.164 to E.164 Mapping Tables
As with routing tables you can use regular expressions when selecting an entry in a mapping table based on a
calling or called party number. If the output property type of a mapping table is also a calling or called party
number, you may use parts of the matched expressions when building the modified number as shown in exam-
ple #3 above.
Detailed Example: You have an internal dial plan that uses three digit numbers starting with a 2 (e.g. 200, 201,
etc.). So when an internal subscriber makes a call, its calling party number contains three digits.
1. You want to route calls to the public switched telephone network (PSTN), that is reachable over and
ISDN interface. From the PSTN provider you have an assigned number range from 099-8882500 to 099-
8882599.
2. You want to pass the last two digits of your internal subscribers when they are making calls to the PSTN.
Thus subscriber 244 should make a call to the PSTN using a calling party number of 099-8882544.
To achieve this, create a mapping table that looks like the following:
SN(cfg)#context cs
SN(ctx-cs)[switch]#mapping-table calling-e164 to calling-e164 MAP-PSTN
SN(rt-tab)[MAP-PSTN]#map 2(..) to 09988825\1
When a call reaches this table with a calling party number of 244, this number is tried to match to the entries
of this table:
2(44) matches 2(. .)
Thus the only entry is selected and executed. This means setting the calling party number to 09988825\1. The
last part of the value (a backslash followed by a single digit number) is a placeholder and means that the first
pattern (expression in brackets) of the key shall be used instead.
Thus the called party number is replaced with the specified prefix 09988825 concatenated with the bracketed
pattern in the key (44). The result is 0998882544.
Like this you can use brackets around any party of the expression of the key and use the part that matches to
this backet in the value you set.
Example: Mapping table to add a prefix to the called party number
Input:called-e164 = 0998882525
Output:called-e164 = *50998882525
SN(cfg)#context cs
SN(ctx-cs)[switch]#mapping-table called-e164 to called-e164 ADD-PFX
SN(rt-tab)[ADD-PFX]#map (.%) to *5\1
The input 0998882525 matches the expression (.%) – any character repeated zero or more times.
The first bracket encloses the whole number: (.%) == (0998882525) Ë \1 = 0998882525
The output is built as concatenation of *5 and the first bracket \1.
The called party number is set to *50998882525
Example: Mapping table to remove a prefix from the called party number
Call router configuration task list
33 • Call router configuration
391
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?