220
Session Router Configuration
Figure
S Context and Session Router elements
We assume that the CS interfaces have already been created and configured. So we can start directly
with the Session Router elements.
Since the command sequence is quite long it is usefull to create the configuration offline and
download it using TFTP. Note in the following lines the prompt is omitted as in a configuration file
and for better readability.
#-------------------------------------------------------------
# Session Router Config File
#-------------------------------------------------------------
context cs switch
#
# Bearer capability routing table “ISDNservice”
#
bearer-capability ISDNservice ud dest-interface local_ba
bearer-capability ISDNservice default dest-table dest_a
#
# Called party number routing table “dest_a”
#
called-party dest_a 0 dest-interface local_ba CACorange
called-party dest_a 00 dest-interface node_c CLImelon
called-party dest_a 074 dest-interface local_ba CACapple
called-party dest_a 075 dest-interface local_ba CACapple
called-party dest_a 076 dest-interface local_ba CACapple
called-party dest_a 0336652 dest-interface node_b
called-party dest_a default dest-interface local_ba
#
# Number manipulation “CACapple”
#
number-manipulation CACapple cdpn add 1055
#
# Number manipulation “CACorange”
#
number-manipulation CACorange cdpn add 1066
#
# Number manipulation “CLImelon”
# Truncate CLI to last 2 digits and add 0800 base number in front
#
number-manipulation CnPNtrunc3 cnpn truncate 3
number-manipulation CnPNadd_base cnpn add 08004455
#
complex-function CLImelon CnPNtrunc3
complex-function CLImelon CnPNadd_base
Prior to downloading this file you should make sure there are no other tables and functions in the
Session Router. Duplicate entries will cause an error message.
SN(ctx-cs)[switch]#
delete all-routing-tables
SN(ctx-cs)[switch]#
delete all-functions
SN(ctx-cs)[switch]#
copy tftp://172.16.36.20/configs/SRconf.cgf
running-config
Download...100%
Now the routing elements on the CS interfaces must be configured to point to the correct tables and
destination interfaces.
SN(ctx-cs)[switch]#
interface pstn local_ba
SN(if-pstn)[local_ba]#
routing dest-interface pbx_a
SN(if-pstn)[local_ba]#
exit
22-3: C
Software Configuration Guide, Revision 1.03