Jump to content

Patton 4114 config file that works u are willing to share?


mattlandis

Recommended Posts

Sure .. here you are (this works with minor mod on any patton SN 411X or SN 452X)

 

This config takes calls from the SIP interface (IF_SIP bound to GW_SIP .. set the IP of your PBXnSIP box here .. currently 192.168.46.210) and routes to FXO ports (FXO_HUNT) and takes calls from the FXO ports (IF_FX0-3 using US type tones) and sends to the SIP interface (IF_SIP/GW_SIP)

 

cli version 3.20
administrator administrator password gTwkMZxcw6rVnPpTNxYkuA== encrypted
clock local offset -07:00
dns-client server 192.168.45.203
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.41.20 port 123 version 4
system hostname rcp-ks-voip-gw2

system

 ic voice 0
low-bitrate-codec g729

profile ppp default

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

profile call-progress-tone US_Alertingtone
 play 1 1000 440 -19 480 -19
 pause 2 3000

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

profile call-progress-tone US_Releasetone
 play 1 250 480 -24 620 -24
 pause 2 250

profile tone-set default
 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_Releasetone
 map call-progress-tone congestion-tone US_Busytone

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_Releasetone
 map call-progress-tone congestion-tone US_Busytone

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

profile pstn default
 output-gain 2

profile sip default

profile aaa default
 method 1 local
 method 2 none

context ip router

 interface eth0
ipaddress 192.168.46.212 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context ip router
 route 0.0.0.0 0.0.0.0 192.168.46.1 1 traffic-class default
 route 0.0.0.0 0.0.0.0 192.168.46.1 1

context cs switch
 digit-collection timeout 2

 interface sip IF_SIP
bind gateway GW_SIP
service default
route call dest-service FXO_Hunt
remote-party-id calling-party

 interface fxo IF_CO1
route call dest-interface IF_SIP
loop-break-duration min 300 max 1500
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
use profile tone-set US

 interface fxo IF_CO2
route call dest-interface IF_SIP
loop-break-duration min 300 max 1500
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
use profile tone-set US

 interface fxo IF_CO3
route call dest-interface IF_SIP
loop-break-duration min 300 max 1500
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
use profile tone-set US

 interface fxo IF_CO4
route call dest-interface IF_SIP
loop-break-duration min 300 max 1500
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
use profile tone-set US

 service hunt-group FXO_Hunt
cyclic
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_CO1
route call 2 dest-interface IF_CO2
route call 2 dest-interface IF_CO3
route call 2 dest-interface IF_CO4

context cs switch
 no shutdown

gateway sip GW_SIP
 bind interface eth0 router

 service default
domain rcp.local
defaultserver manual 192.168.46.210 5060 loose-router
session-timer 1600

gateway sip GW_SIP
 no shutdown

port ethernet 0 0
 medium auto
 encapsulation ip
 bind interface eth0 router

 vlan 10
shutdown

port ethernet 0 0
 no shutdown

port fxo 0 0
 use profile fxo us
 caller-id format bell
 encapsulation cc-fxo
 bind interface IF_CO1 switch
 no shutdown

port fxo 0 1
 use profile fxo us
 caller-id format bell
 encapsulation cc-fxo
 bind interface IF_CO2 switch
 no shutdown

port fxo 0 2
 use profile fxo us
 caller-id format bell
 encapsulation cc-fxo
 bind interface IF_CO3 switch
 no shutdown

port fxo 0 3
 use profile fxo us
 caller-id format bell
 encapsulation cc-fxo
 bind interface IF_CO4 switch
 no shutdown

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...