Patton electronic SmartNode 4110 Series ユーザーズマニュアル
Activating CS context configuration
358
SmartWare Software Configuration Guide
31 • CS context overview
02:30:28 CR > [switch] Loading table 'IF-PUBLIC-PSTN2-precall-service'
02:30:28 CR > [switch] Loading table 'IF-COMPOFF-A-precall-service'
02:30:28 CR > [switch] Loading table 'IF-COMPOFF-B-precall-service'
02:30:28 CR > [switch] Loading table 'TAB-CALLED-NUMBER'
node(ctx-cs)[switch]#
02:30:28 CR > [switch] Loading table 'IF-COMPOFF-A-precall-service'
02:30:28 CR > [switch] Loading table 'IF-COMPOFF-B-precall-service'
02:30:28 CR > [switch] Loading table 'TAB-CALLED-NUMBER'
node(ctx-cs)[switch]#
Showing the running configuration
The configuration script for our application looks as follows:
cli version 3.00
system
clock-source 2 3
clock-source 2 3
profile voip H323-VOIP-PROFILE
codec 1 g723-6k3 rx-length 30 tx-length 30
codec 2 g711alaw64k rx-length 20 tx-length 20
codec 3 g711ulaw64k rx-length 20 tx-length 20
codec 1 g723-6k3 rx-length 30 tx-length 30
codec 2 g711alaw64k rx-length 20 tx-length 20
codec 3 g711ulaw64k rx-length 20 tx-length 20
context ip router
interface eth0
ipaddress 147.86.130.1 255.255.225.0
mtu 1500
ipaddress 147.86.130.1 255.255.225.0
mtu 1500
interface eth1
ipaddress 10.0.0.1 255.255.225.0
mtu 1500
ipaddress 10.0.0.1 255.255.225.0
mtu 1500
context cs switch
routing-table called-e164 TAB-CALLED-NUMBER
route 1.. dest-service HUNT-COMPOFF-A
route 2.. dest-service HUNT-COMPOFF-B
route 5.. dest-service HUNT-PBX
route default dest-service HUNT-PUBLIC-PSTN
route 1.. dest-service HUNT-COMPOFF-A
route 2.. dest-service HUNT-COMPOFF-B
route 5.. dest-service HUNT-PBX
route default dest-service HUNT-PUBLIC-PSTN
interface h323 IF-COMPOFF-A
bind gateway h323
route call dest-table TAB-CALLED-NUMBER
remoteip 146.86.130.11
use profile voip H323-VOIP-PROFILE
bind gateway h323
route call dest-table TAB-CALLED-NUMBER
remoteip 146.86.130.11
use profile voip H323-VOIP-PROFILE
interface h323 IF-COMPOFF-A
bind gateway h323
route call dest-table TAB-CALLED-NUMBER
remoteip 146.86.130.24
use profile voip H323-VOIP-PROFILE
bind gateway h323
route call dest-table TAB-CALLED-NUMBER
remoteip 146.86.130.24
use profile voip H323-VOIP-PROFILE
interface isdn IF-PBX1
route call dest-table TAB-CALLED-NUMBER
route call dest-table TAB-CALLED-NUMBER
interface isdn IF-PBX2
route call dest-table TAB-CALLED-NUMBER
route call dest-table TAB-CALLED-NUMBER