Patton 4960 Firmware version 5.2

#----------------------------------------------------------------#

  1. #
  2. SN4960/1E24V #
  3. R5.2 2009-01-14 H323 RBS SIP #
  4. 2009-07-02T19:40:29 #
  5. SN/00A0BA04A0FA #
  6. Generated configuration file #
  7. #
    • #-- #--- #---- #----- #------ #------- #-------- #--------- #---------- #----------- #------------ #------------- #-------------- #--------------- #---------------- #----------------- #------------------ #------------------- #-------------------- #--------------------- #---------------------- #----------------------- #------------------------ #------------------------- #-------------------------- #--------------------------- #---------------------------- #----------------------------- #------------------------------ #------------------------------- #-------------------------------- #--------------------------------- #---------------------------------- #----------------------------------- #------------------------------------ #------------------------------------- #-------------------------------------- #--------------------------------------- #---------------------------------------- #----------------------------------------- #------------------------------------------ #------------------------------------------- #-------------------------------------------- #--------------------------------------------- #---------------------------------------------- #----------------------------------------------- #------------------------------------------------ #------------------------------------------------- #-------------------------------------------------- #--------------------------------------------------- #---------------------------------------------------- #----------------------------------------------------- #------------------------------------------------------ #------------------------------------------------------- #-------------------------------------------------------- #--------------------------------------------------------- #---------------------------------------------------------- #----------------------------------------------------------- #------------------------------------------------------------ #------------------------------------------------------------- #-------------------------------------------------------------- #--------------------------------------------------------------- #---------------------------------------------------------------- #----------------------------------------------------------------#  

#

  1. GATEWAYHOSTNAME.SIP.DOMAIN - the FQDN of the gateway
  2. GATEWAY.LAN.IP.ADDRESS - the IP address of the gateway
  3. GATEWAY.LAN.SUB.NET - the subnet mask for the gateway's IP address
  4. GATEWAY.DEFAULT.ROUTE.IP - the default gateway for the LAN
  5. SIP.DOMAIN - the SIP domain
    #

cli version 3.20
dns-client server DNS.SERVER.IP.ADDR
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary time-b.nist.gov port 123 version 4
sntp-client server secondary 192.43.244.18 port 123 version 4
sntp-client poll-interval 36000
sntp-client local-clock-offset
system hostname GATEWAYHOSTNAME.SIP.DOMAIN

system

ic voice 0
pcm law-select uLaw

system
clock-source 1 e1t1 0 0

profile napt NAPT_WAN
profile napt NAPT

profile ppp default

profile call-progress-tone US_Dialtone
play 1 1000 350 -13 440 -13

profile call-progress-tone US_Alertingtone
play 1 2000 440 -19 480 -19
pause 2 4000

profile call-progress-tone US_Busytone
play 1 500 480 -24 620 -24
pause 2 500

profile tone-set default
profile tone-set US
map call-progress-tone dial-tone US_Dialtone
map call-progress-tone ringback-tone US_Alertingtone
map call-progress-tone busy-tone US_Busytone
map call-progress-tone release-tone US_Busytone
map call-progress-tone congestion-tone US_Busytone

profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g729 rx-length 20 tx-length 20

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN
network 192.168.1.0 255.255.255.0
include 1 192.168.1.10 192.168.1.99
lease 2 hours
default-router 1 192.168.1.1
domain-name-server 1 192.168.1.1

profile aaa default
method 1 local
method 2 none

context ip router

interface WAN
ipaddress dhcp
use profile napt NAPT_WAN
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

interface LAN
ipaddress GATEWAY.LAN.IP.ADDRESS GATEWAY.LAN.SUB.NET
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context ip router
route 0.0.0.0 0.0.0.0 GATEWAY.DEFAULT.ROUTE.IP 0

context cs switch
digit-collection timeout 4

routing-table called-e164 TAB_OUT
route .%T dest-interface IF_SIPX

routing-table called-e164 TAB_IN
route default dest-service OUTBOUND

mapping-table called-e164 to called-e164 STIP-ALL
map default to ""

interface isdn IF_PRI_1
route call dest-table TAB_OUT
use profile tone-set US
caller-name send-information-following
user-side-ringback-tone

interface sip IF_SIPX
bind context sip-gateway GW-SIP
route call dest-table TAB_IN
remote SIP.DOMAIN
address-translation outgoing-call from-header user-part call host-part fix GATEWAY.LAN.IP.ADDRESS
address-translation outgoing-call to-header user-part call host-part fix SIP.DOMAIN

service hunt-group OUTBOUND
drop-cause normal-unspecified
drop-cause no-circuit-channel-available
drop-cause network-out-of-order
drop-cause temporary-failure
drop-cause switching-equipment-congestion
drop-cause access-info-discarded
drop-cause circuit-channel-not-available
drop-cause resources-unavailable
route call 1 dest-interface IF_PRI_1

context cs switch
no shutdown

location-service SIPX_VOIP
domain 1 SIP.DOMAIN

context sip-gateway GW-SIP

interface IF_SIPX
bind interface LAN context router port 5060

context sip-gateway GW-SIP
bind location-service SIPX_VOIP
no shutdown

port ethernet 0 0
medium auto
encapsulation ip
bind interface WAN router
no shutdown

port ethernet 0 1
medium auto
encapsulation ip
bind interface LAN router
no shutdown

port e1t1 0 0
port-type t1
clock slave
linecode b8zs
framing esf
encapsulation q921

q921
uni-side user
encapsulation q931

q931
protocol ni2
uni-side user
bchan-number-order ascending-cyclic
encapsulation cc-isdn
bind interface IF_PRI_1 switch

port e1t1 0 0
no shutdown