CS Context Overview
189
Software Configuration Guide, Revision 1.03
SN(if-pstn)[PublicP~]#
exit
SN(ctx-cs)[switch]#
exit
SN(if-h323)[Company~]#
exit
SN(ctx-cs)[switch]#
SN(ctx-cs)[switch]#
exit
SN(cfg)#
In addition we have to use the VoIP profile by the gateway:
SN(cfg)#
gateway h323 h323
SN(gw-h323)[h323]#
use voip-profile H323VoIPProfile
SN(gw-h323)[h323]#
exit
SN(cfg)#
Activate CS Context Configuration
Prior to activating our configuration we use two 'show' commands to display part of our
configuration:
SN(cfg)#
show context cs config
Following session-router configuration sets are available:
switch
Interfaces:
CompanyOfficeB
CompanyOfficeA
PBX
PublicPSTN
Routing tables:
CalledNumberRouting
SN(cfg)#
SN(cfg)#
show gateway h323 config
CURRENT H.323 GATEWAY CONFIGURATION
State : enabled
RAS : disabled
Call-signaling port : 1720
Q.931-tunneling : disabled
Faststart : enabled
Codecs :
G.711 A-law, rxlen:10, txlen:10
G.711 U-law, rxlen:20, txlen:10
G.723, rxlen:10, txlen:10
G.729, rxlen:10, txlen:10
H.323-ID :
E.164 alias :
Binding: ip-context 'router', interface 'eth00' ip-address
'147.86.130.1'
SN(cfg)#
Finally we bind the PSTN interfaces to the ports and create simultaneously the line hunt groups and
activate the gateway and CS context:
SN(ctx-cs)[switch]#
interface pstn PBX
SN(if-pstn)[PBX]#
bind port 2 0
SN(if-pstn)[PBX]#
bind port 2 1
SN(if-pstn)[PBX]#
exit
SN(ctx-cs)[switch]#
interface pstn PublicPSTN
SN(if-pstn)[PublicP~]#
bind port 2 2
SN(if-pstn)[PublicP~]#
bind port 2 3