Call router configuration task list 490
SmartWare Software Configuration Guide 40 • Call router configuration
Example: Remove entries from a mapping table
The running-config shows the following table:
mapping-table called-e164 to called-e164 MY-TABLE
map 10 to 20
map 11 to 21
map 12 to 22
map 13 to 23
To remove the first two entries from the table enter the following commands:
node(cfg)#context cs
node(ctx-cs)[switch]#mapping-table MY-TABLE
node(map-tab)[MY-TABLE]#no map 10
node(map-tab)[MY-TABLE]#no map 11
The resulting running-config is:
mapping-table called-e164 to called-e164 MY-TABLE
map 12 to 22
map 13 to 23
Procedure: To delete an entire mapping table
Mode: Context CS
Example: Remove an entire mapping table
node(cfg)#context cs
node(ctx-cs)[switch]#no mapping-table MY-TABLE
Creating complex functions
Complex functions allow combining mapping tables, which need to be executed in sequence. This is useful if,
for example, the calling and the called party number have to be modified in the same step. Complex function
names can be any arbitrary string.
Procedure: To create a complex number manipulation function
Step Command Purpose
1 node(ctx-cs)[switch]#no mapping-
table table-name
Delete the mapping table table-name.
Note: You do not have to enter the type of the table when
just deleting it. The type must only be specified when creating
a table.