![Patton electronics SmartWare R.3.20 Скачать руководство пользователя страница 410](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387410.webp)
Call router configuration task list
410
SmartWare Software Configuration Guide
33 • Call router configuration
Example #4:
This example shows the same input call properties as in example #3. The mapping table is also
almost the same, but unlike in the previous example, here we don’t look for a specific number type (e.g. called
party number, calling party number), but for any E.164 number property of the call. The output property is
also a generic number. In this case the mapping table replaces both, the calling and the called party number.
For example, the mapping table applies its algorithm to all E.164 numbers of the call.
Note
Like a routing table, a mapping table selects the best matching entry based
on the input property type. This is done using the best matching prefix
method for E.164 numbers and string compare for other properties. Unless
you don’t have a default entry in a mapping table, no action is performed
when no match can be found and the call is not dropped. In the above exam-
ple #3, if a call arrives the mapping table with a called party number of 200,
which does not match the entry (1..), the called party number is not
changed.
Procedure:
T
o
create a mapping table and add entries
Mode:
Context CS
Example:
Called and calling party manipulation mapping table
node(cfg)#context cs
node(ctx-cs)[switch]#mapping-table e164 to uri SETURI
node(rt-tab)[SETURI]#map 100 to sip:[email protected]
node(rt-tab)[SETURI]#map 101 to sip:[email protected]
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.
Step
Command
Purpose
1
node(ctx-cs)[switch]#mapping-table
input-type to output-type table-name
Create a mapping table
table-name that examines the call
property specified with
input-type and modifies the call prop-
erty specified with
output-type. This enters the table mode
where entries can be added or removed. To enter a previ-
ously created table from the context CS mode, you may leave
away the
input-type and output-type.
2
node(map-tab)[table-name]#map
key to
value
Add an entry to the mapping that sets the
output-type call
property to
value if the output-type call property matches the
key. The format of the key depends on the input-type of the
table, and the format of the
value depends on the output-type
of the table.
3
Repeat step 2 to add lines for additional table entries.
Содержание SmartWare R.3.20
Страница 553: ...553 Appendix A Terms and definitions Chapter contents Introduction 554 SmartWare architecture terms and definitions 554...
Страница 559: ...559 Appendix B Mode summary Chapter contents Introduction 560...
Страница 566: ...566 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 568...
Страница 571: ...571 Appendix E Used IP ports available voice codecs Chapter contents Used IP ports 573 Available voice codecs 574...