Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Patton 4524 Tested

This configuration is for a Patton 4524 gateway running release code 5.4. The configuration features emergency number dialing. If a call comes in to the gateway and both lines are busy, one of the lines will get hung up so that 911 can be dialed.

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

  1. #
  2. SN4524/2JS2JO/EUI #
  3. R5.4 2009-09-22 H323 SIP FXS FXO #
  4. 2009-12-01T10:25:13 #
  5. SN/0xxxxxxxxxxx #
  6. Generated configuration file #
  7. #
    #----------------------------------------------------------------#
    #
  8. FQDN.OF.SIPX.PBX - Fully Qualified Domain Name of sipX PBX
  9. IP.OF.SECONDARY.NTP - IP Address of Secondary NTP Server
  10. FQDN.OF.PATTON.GATEWAY - Fully Qualified Domain Name of Patton Gateway
  11. IP.ADDRESS.OF.GATEWAY - IP Address of the Patton Gateway
  12. SUBNET.MASK.OF.GATEWAY - Subnet Mask of the Patton Gateway
  13. DEF.GATEWAY.OF.PATTON - Default IP Gateway for the Patton Gateway
  14. SIP.DOMAIN.NAME - The SIP Domain Name

cli version 3.20
administrator administrator password xxxxx
administrator cmc1 password xxxxx
clock local offset -05:00
dns-client server 172.16.129.2
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary FQDN.OF.SIPX.PBX port 123 version 4
sntp-client server secondary IP.OF.SECONDARY.NTP port 123 version 4
sntp-client poll-interval 36000
sntp-client local-clock-offset
system hostname FQDN.OF.PATTON.GATEWAY

system

ic voice 0
low-bitrate-codec g729

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 g729 rx-length 20 tx-length 20

profile pstn default

profile ringing-cadence default
play 1 1000
pause 2 4000

profile sip default

profile aaa default
method 1 local
method 2 none

context ip router

interface eth0
ipaddress dhcp
use profile napt NAPT
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

interface eth1
ipaddress IP.ADDRESS.OF.GATEWAY SUBNET.MASK.OF.GATEWAY
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context ip router
route 0.0.0.0 0.0.0.0 DEF.GATEWAY.OF.PATTON 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 SVC-PRIO.OUTBOUND
route 911 dest-service SVC-PRIO.EMERGENCY

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

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

interface fxo IF_FXO0
route call dest-table SVC-PRIO.INBOUND
loop-break-duration min 60 max 100
no disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 2
use profile tone-set US

interface fxo IF_FXO1
route call dest-table SVC-PRIO.INBOUND
loop-break-duration min 60 max 100
no disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 2
use profile tone-set US

service hunt-group FXOHUNT
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
drop-cause user-busy
drop-cause destination-out-of-order
route call 1 dest-interface IF_FXO1
route call 2 dest-interface IF_FXO0

service priority SVC-PRIO
quiesce-time 3
max-calls-to-drop 1

port EMERGENCY
route call dest-service FXOHUNT
priority 10

port INBOUND
route call dest-interface TAB_OUT

port OUTBOUND
route call dest-service FXOHUNT

context cs switch
no shutdown

location-service SIPX_VOIP
domain 1 SIP.DOMAIN.NAME

context sip-gateway GW-SIP

interface IF_SIPX
bind interface eth1 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 eth0 router
shutdown

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

port fxs 0 0
shutdown

port fxs 0 1
shutdown

port fxo 0 0
flash-hook-duration 50
use profile fxo us
caller-id format bell
encapsulation cc-fxo
bind interface IF_FXO0 switch
no shutdown

port fxo 0 1
flash-hook-duration 50
use profile fxo us
caller-id format bell
encapsulation cc-fxo
bind interface IF_FXO1 switch
no shutdown

  • No labels