![Patton electronics SmartWare R.3.20 Software Configuration Manual Download Page 440](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387440.webp)
Call router configuration task list
440
SmartWare Software Configuration Guide
33 • Call router configuration
Test the call router configuration
After activating the call router configuration you can test the call router by simulating a route lookup as if a call
is routed to a table. You have to execute the test call-router command and specify all necessary call properties
together with the routing table you want to test.
Note
You must activate the call router using the
no shutdown
command first.
Procedure:
To test the call router configuration
Mode:
Context CS
Example:
Create and test a routing table
node(cfg)#context cs
node(cts-cs)[switch]#routing-table called-e164 TEST
node(rt-tab)[TEST]#route 1 dest-interface IF1
node(rt-tab)[TEST]#route 1[0-4] dest-interface IF2
node(rt-tab)[TEST]#route 11 dest-interface IF3
node(rt-tab)[TEST]#route 111T dest-interface IF4
node(rt-tab)[TEST]#route default dest-interface IF5
node(rt-tab)[TEST]#exit
node(ctx-cs)[switch]#no shutdown
node(ctx-cs)[switch]#debug call-router detail 5
node(ctx-cs)[switch]#test call-router TEST called-e164 123
Parameters
==========
Time: 2004-03-02T16:55:33<-- Time of the lookup
Result: route-found-place-call<-- Lookup result
Destination: IF2<-- Dest. Interface
Timeout: 0<-- Digit-Coll. TO
Property Containers
-------------------
Properties
Properties
E164-Number: 123 (String)<-- CdPN after lookup/change
Properties
16:55:33 CR > [switch] Routing-Lookup:
16:55:33 CR > Find best-matching called-element in table test
16:55:33 CR > 01: Prefix Timeout Expression: E164-Number of 123 completely
(no timeout) matches 1
Step
Command
Purpose
1
node(ctx-cs)[switch]#debug call-
router detail
level
Enables the call router debug monitor. Chose level 5 to trace
route lookups in detail.
2
node(ctx-cs)[switch]#test call-router
table-name [property-type property-
value]
Tests the routing or mapping table
table-name with the speci-
fied call property. You can repeat the optional section multi-
ple times and thus enter as many call properties as you want.