Patton electronics SmartNode Series Software Configuration Manual page 392

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

33 • Call router configuration
Example #2: This example shows a mapping table that selects the best matching entry based on the presenta-
tion indicator and, once found, sets the called party number. In the example a call arrives to the mapping table
with a presentation indicator of restricted. The mapping table selects the only entry (which matches) and sets
the called party number to the empty string.
Example #3: This example shows a mapping table that selects the best matching entry based on the called party
number and, once found, changes the same property, the called party number. This is a very powerful method
to manipulate numbers using regular expressions. In this example a call arrives to the mapping table with a
called party number of 234. The mapping table selects the only entry (which matches) and adds a prefix of
5551 to the called party number.
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:To create a mapping table and add entries
Mode: Context CS
Step
Command
1
node(ctx-cs)[switch]#mapping-table
input-type to output-type table-name
node(map-tab)[table-name]#map key to
2
value
3
Example: Called and calling party manipulation mapping table
SN(cfg)#context cs
SN(ctx-cs)[switch]#mapping-table e164 to uri SETURI
SN(rt-tab)[SETURI]#map 100 to sip:john.smith@nil.net
SN(rt-tab)[SETURI]#map 101 to sip:jane.smith@nil.net
390
SmartWare Software Configuration Guide
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 .
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.
Repeat step 2 to add lines for additional table entries.
Purpose
Call router configuration task list

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartNode Series and is the answer not in the manual?

This manual is also suitable for:

Smartware release 3.10

Table of Contents