#----------------------------------------------------------------#
#
# SN4552
# R5.T SIP
#
#
#----------------------------------------------------------------#
cli version 3.20
banner "WELCOME\nPLEASE LOG ON"
dns-client server 192.1.2.98
dns-client cache 100
dns-relay
webserver port 80 language en
snmp community public ro
system hostname PATTON
system location DAFUER
system contact "[email protected]"
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
profile napt NAPT_WAN
profile ppp default
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g726-32k rx-length 20 tx-length 20
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_WAN
ipaddress dhcp
context cs switch
national-prefix 0
international-prefix 00
digit-collection timeout 3
routing-table called-e164 RT_ISDN_TO_SIP
route T dest-interface IF_SIP_NATJA
routing-table called-e164 RT_SIP_TO_ISDN
route default dest-interface IF_ISDN
interface isdn IF_ISDN
route call dest-table RT_ISDN_TO_SIP
interface sip IF_SIP_NATJA
bind context sip-gateway GW_SIP
route call dest-table RT_SIP_TO_ISDN
local 192.1.2.98 5080
early-connect
early-disconnect
context cs switch
no shutdown
context sip-gateway GW_SIP
interface IF_SIP_NATJA
bind interface IF_WAN context router port 5060
context sip-gateway GW_SIP
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface IF_WAN router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface IF_LAN router
no shutdown
port bri 0 0
clock auto
power-feed
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
power-feed
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
port bri 0 1
shutdown