SmartWare Software Configuration Guide

31 • CS context overview

 

 

Finally, we configure the call router. Here we create a routing table that examines the called party number of a call and routes numbers starting with a 1 and containing at least 3 digits to the hunt group that tries to reach company office A over VoIP and falls back to the PSTN. We route numbers starting with 2 and containing at least 3 digits to the hunt group that tries to reach company office B over VoIP and falls back to the PSTN.

Calls with a prefix of 5 and at least 3 digits are routed to the hunt group that selects a free BRI to the PBX and all other calls are routed to the hunt group that selects a free BRI to the PSTN:

node(ctx-cs)[switch]#routing-table called-e164 TAB-CALLED-NUMBER node(rt-tab)[TAB-CAL~]#route 1.. dest-service HUNT-COMPOFF-A node(rt-tab)[TAB-CAL~]#route 2.. dest-service HUNT-COMPOFF-B node(rt-tab)[TAB-CAL~]#route 5.. dest-service HUNT-PBX node(rt-tab)[TAB-CAL~]#route default dest-service HUNT-PUBLIC-PSTN

node(rt-tab)[TAB-CAL~]#show call-router config

 

 

Table switch/TAB-CALLED-NUMBER:

 

 

 

Key

Value

Function

Dest-Type

Dest-Name

called-e164

-

 

 

 

-------------------------------------------------------------------------------

1..

-

-

dest-service

HUNT-COMPOFF-A

2..

-

-

dest-service

HUNT-COMPOFF-B

5..

-

-

dest-service

HUNT-PBX

default

-

-

dest-service

HUNT-PUBLIC-PSTN

node(rt-tab)[TAB-CAL~]#exit node(ctx-cs)[switch]#

The hunt group HUNT-COMPOFF-A tries to reach the company office A routing the call directly to the H.323 interface IF-COMPOFF-A. When this call fails (e.g. because the data network is broken), we route the call to the PSTN hunt group. Likewise, hunt group HUNT-COMPOFF-B works, but tries to route the call to the H.323 interface IF-COMPOFF-B first.

node(ctx-cs)[switch]#service hunt-group HUNT-COMPOFF-A node(rt-tab)[HUNT-CO~]#no cyclic node(rt-tab)[HUNT-CO~]#timeout 5 node(rt-tab)[HUNT-CO~]#route call 1 dest-interface IF-COMPOFF-A node(rt-tab)[HUNT-CO~]#route call 2 dest-service HUNT-PUBLIC-PSTN node(rt-tab)[HUNT-CO~]#exit

node(ctx-cs)[switch]#service hunt-group HUNT-COMPOFF-B node(rt-tab)[HUNT-CO~]#no cyclic node(rt-tab)[HUNT-CO~]#timeout 5 node(rt-tab)[HUNT-CO~]#route call 1 dest-interface IF-COMPOFF-B node(rt-tab)[HUNT-CO~]#route call 2 dest-service HUNT-PUBLIC-PSTN node(rt-tab)[HUNT-CO~]#exit

node(ctx-cs)[switch]#

The hunt group HUNT-PBX routes the call either to the interface IF-PBX1 or IF-PBX2, depending on which interface there is a free B channel. Likewise the hunt group HUNT-PUBLIC-PSTN works on the PSTN inter- faces.

node(ctx-cs)[switch]#service hunt-group HUNT-PBX node(rt-tab)[HUNT-PB~]#cyclic node(rt-tab)[HUNT-PB~]#route call 1 dest-interface IF-PBX1 node(rt-tab)[HUNT-PB~]#route call 2 dest-interface IF-PBX2 node(rt-tab)[HUNT-PB~]#exit node(ctx-cs)[switch]#service hunt-group HUNT-PUBLIC-PSTN

Activating CS context configuration

354

Page 354
Image 354
Patton electronic SmartNode 4110 Series manual 354