214
Session Router Configuration
Example: Day of Week Routing Table
SN(ctx-cs)[switch]#
weekday DayTable1 sat dest-table LeastCost
SN(ctx-cs)[switch]#
weekday DayTable1 sun dest-table LeastCost
SN(ctx-cs)[switch]#
weekday DayTable1 default dest-interface
VoIPCarrierA
22.6.8 Create a Date Routing Table
The Date table is used to route calls according to the current system date. It can be used for example
to represent holidays in the routing decision tree. The table matches exact dates or date ranges.
Procedure
To create a date routing table
Mode
Context CS
Command
Purpose
Step 1
node
(ctx-cs)[
switch
]#date
tbl-name
key
dest-
interface
if-name
or
node
(ctx-cs)[
switch
]#date
tbl-name
key
dest-
table
tbl-name
Create a time routing table by adding
the first line.
Step 2
Repeat step 1 to add lines for multiple
table entries.
Example: Date Routing Table
SN(ctx-cs)[switch]#
date holiday2001 2001/01/01 dest-table leastCost
SN(ctx-cs)[switch]#
date holiday2001 2001/01/02 dest-table leastCost
SN(ctx-cs)[switch]#
date holiday2001 2001/05/01 dest-table leastCost
SN(ctx-cs)[switch]#
date holiday2001 2001/12/24-2002/01/02 dest-table
leastCost
SN(ctx-cs)[switch]#
date holiday2001 default dest-interface
VoIPCarrierA
22.7 Configure Number Manipulation Functions
Number manipulation functions are used to modify the call setup message and thus influence the
routing decision and or the outgoing setup message leaving the Session Router. Number
manipulation functions are identified by a name (string) and referenced in the routing tables.
Procedure
To create a number manipulation function
Mode
Context CS
Software Configuration Guide, Revision 1.03