Patton 4960 (4 E1 T1)

The following config is for a Patton 4960 Gateway.

The gateway is configured with a single PRI.

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

  1. #
  2. SN4960/4E24V/UI #
  3. R4.T 2006-12-11_RFE438 H323 RBS SIP #
  4. 2007-02-02T01:22:53 #
  5. Generated configuration file #
  6. #
    #----------------------------------------------------------------#

cli version 3.20
administrator administrator password xxxxxx encrypted
clock local offset -08:00

  1. Put in your DNS Server
    dns-client server xxx.xxx.xxx.xxx
    dns-relay
    webserver port 80 language en
    sntp-client
  2. Put in your primary and secondary SNTP time server
    sntp-client server primary xxx.xxx.xxx.xxx port 123 version 4
    sntp-client server secondary xxx.xxx.xxx.xxx port 123 version 4
    sntp-client poll-interval 36000
    sntp-client local-clock-offset
  3. Enter your gateway's fqdn
    system hostname gateway.xyz.com

system

ic voice 0
pcm law-select uLaw

system
clock-source 1 e1t1 0 0
clock-source 2 internal

profile napt NAPT_WAN

profile napt NAPT

profile ppp default

profile call-progress-tone US_Dialtone

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 g711ulaw64k rx-length 20 tx-length 20
codec 2 g711alaw64k 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 WAN
ipaddress dhcp
use profile napt NAPT_WAN
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

interface LAN

  1. Enter the IP address of your gateway
    ipaddress xxx.xxx.xxx.xxx 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router

  1. Enter your default gateway
    route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx 0

context cs switch
digit-collection timeout 4

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

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-SIP1
bind gateway GW-SIP
service default
route call dest-table TAB_IN

  1. Enter your SIP domain name
    remote xyz.com
    no address-translation incoming-call calling-uri

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

gateway sip GW-SIP
bind interface LAN router

service default

  1. Enter your SIP domain name below
    registration manual xyz.com

gateway sip GW-SIP
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
permanent-layer2
uni-side user
encapsulation q931

q931

  1. set your protocol to ni2 might also be dms100
    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

port e1t1 0 1
port-type e1
clock master
framing crc4
shutdown

port e1t1 0 2
port-type e1
clock master
framing crc4
shutdown

port e1t1 0 3
port-type e1
clock master
framing crc4
shutdown