#----------------------------------------------------------------#
# #
# SN4120/2BIS4V #
# R6.3 2013-05-01 H323 SIP #
# 2015-06-17T10:24:41 #
# SN/00A0BA0B2431 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local default-offset +00:00
timer PROVISIONING now + 3 minutes "provisioning execute PF_PROVISIONING_CONFIG"
webserver port 80 language en
sntp-client
sntp-client server primary pool.ntp.org port 123 version 4
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
profile ppp default
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
profile provisioning PF_PROVISIONING_CONFIG
destination configuration
location 1 http://redirect.patton.com/$(system.mac);mac=$(system.mac);serial=$(system.serial);hwMajor=$(system.hw.major);hwMinor=$(system.hw.minor);swMajor=$(system.sw.major);swMinor=$(system.sw.minor);swDate=$(system.sw.date);productName=$(system.product.name);cliMajor=$(cli.major);cliMinor=$(cli.minor);osName=$(cli.major>=4|Trinity|SmartWare);subDirTrinity=$(cli.major>=4|/Trinity);subDirSmartWare=$(cli.major<4|/SmartWare);dhcp66=$(dhcp.66);dhcp67=$(dhcp.67)
location 2 $(dhcp.66)
location 3 $(dhcp.66)/$(system.mac).cfg
location 4 http://$(dhcp.66)/$(dhcp.67)
location 5 http://$(dhcp.66)/$(system.mac).cfg
location 6 tftp://$(dhcp.66)/$(dhcp.67)
location 7 tftp://$(dhcp.66)/$(system.mac).cfg
activation reload immediate
context ip router
interface eth0
ipaddress 192.168.1.101 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
interface isdn PSTN_IF1
route call dest-interface SIP_IF1
interface isdn PSTN_IF2
route call dest-interface SIP_IF2
interface sip SIP_IF1
bind context sip-gateway GW1
route call dest-interface PSTN_IF1
remote 192.168.1.100
interface sip SIP_IF2
bind context sip-gateway GW1
route call dest-interface PSTN_IF2
remote 192.168.1.100
context cs switch
no shutdown
authentication-service ISDN1
username ISDN1 password 36ocYTYpKxk= encrypted
authentication-service ISDN2
username ISDN2 password 36ocYTYpKxk= encrypted
location-service LOC_SVC1
domain 1 192.168.1.100
identity ISDN1
authentication outbound
authenticate 1 authentication-service ISDN1 username ISDN1
authentication inbound
authenticate 1 authentication-service ISDN1 username ISDN1
registration outbound
registrar 192.168.1.100
preferred-transport-protocol udp
proxy 1 192.168.1.100
lifetime 300
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
registration inbound
contact 192.168.1.100 switch SIP_IF1 priority 1000
lifetime default 300 min 1 max 4294967295
location-service LOC_SVC2
domain 1 192.168.1.100
identity ISDN2
authentication outbound
authenticate 1 authentication-service ISDN2 username ISDN2
authentication inbound
authenticate 1 authentication-service ISDN2 username ISDN2
registration outbound
registrar 192.168.1.100
preferred-transport-protocol udp
proxy 1 192.168.1.100
lifetime 300
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
registration inbound
contact 192.168.1.100 switch SIP_IF2 priority 1000
lifetime default 300 min 1 max 4294967295
context sip-gateway GW1
interface SIP_IF1
bind interface eth0 context router port 5060
context sip-gateway GW1
bind location-service LOC_SVC1
bind location-service LOC_SVC2
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface PSTN_IF1 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface PSTN_IF2 switch
port bri 0 1
no shutdown
Comments