This is the Start up config from the Patton
#########################################################
#
# For SN-4114 4-port FXO
# Supported firmware versions R5.x
#
# Author: Kevin Attard Compagno
# Contact:
[email protected]
#
#########################################################
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultDialtone
flush-play-list
play 1 1000 425 -6 450 -6
profile call-progress-tone defaultAlertingtone
flush-play-list
play 1 400 425 -13 450 -13
pause 2 200
play 1 400 425 -13 450 -13
pause 2 2000
profile call-progress-tone defaultBusytone
flush-play-list
play 1 375 425 -7
pause 2 375
profile call-progress-tone defaultReleasetone
flush-play-list
play 1 375 425 -7
pause 2 375
profile call-progress-tone defaultCongestiontone
flush-play-list
play 1 375 425 -7
pause 2 375
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
codec 3 g729 rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_IP_LAN
ipaddress 192.168.1.25 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
no digit-collection timeout
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
early-connect
early-disconnect
route call dest-interface IF_FXO_0
remote 192.168.1.210 5060
address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri
interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
early-connect
early-disconnect
route call dest-interface IF_FXO_1
remote 192.168.1.210 5060
address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri
interface sip IF_SIP_2
bind context sip-gateway GW_SIP_2
early-connect
early-disconnect
route call dest-interface IF_FXO_2
remote 192.168.1.210 5060
address-translation outgoing-call request-uri user-part fix 10003 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri
interface sip IF_SIP_3
bind context sip-gateway GW_SIP_3
early-connect
early-disconnect
route call dest-interface IF_FXO_3
remote 192.168.1.210 5060
address-translation outgoing-call request-uri user-part fix 10004 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri
interface fxo IF_FXO_0
route call dest-interface IF_SIP_0
loop-break-duration min 60 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after dial-tone
interface fxo IF_FXO_1
route call dest-interface IF_SIP_1
loop-break-duration min 60 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after dial-tone
interface fxo IF_FXO_2
route call dest-interface IF_SIP_2
loop-break-duration min 60 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after dial-tone
interface fxo IF_FXO_3
route call dest-interface IF_SIP_3
loop-break-duration min 60 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after dial-tone
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10001 password *******
username 10002 password *******
username 10003 password *******
username 10004 password *******
location-service LS_10001
domain 1 192.168.1.210
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10001
identity 10001
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.210 5060
lifetime 300
register auto
location-service LS_10002
domain 1 192.168.1.210
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.210 5060
lifetime 300
register auto
location-service LS_10003
domain 1 192.168.1.210
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10003
identity 10003
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.210 5060
lifetime 300
register auto
location-service LS_10004
domain 1 192.168.1.210
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10004
identity 10004
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.210 5060
lifetime 300
register auto
context sip-gateway GW_SIP_0
interface LAN
bind interface IF_IP_LAN context router port 5060
context sip-gateway GW_SIP_0
bind location-service LS_10001
no shutdown
context sip-gateway GW_SIP_1
interface LAN
bind interface IF_IP_LAN context router port 5062
context sip-gateway GW_SIP_1
bind location-service LS_10002
no shutdown
context sip-gateway GW_SIP_2
interface LAN
bind interface IF_IP_LAN context router port 5064
context sip-gateway GW_SIP_2
bind location-service LS_10003
no shutdown
context sip-gateway GW_SIP_3
interface LAN
bind interface IF_IP_LAN context router port 5066
context sip-gateway GW_SIP_3
bind location-service LS_10004
no shutdown
port ethernet 0 0
encapsulation ip
bind interface IF_IP_LAN router
no shutdown
port fxo 0 0
use profile fxo au
encapsulation cc-fxo
bind interface IF_FXO_0 switch
no shutdown
port fxo 0 1
use profile fxo au
encapsulation cc-fxo
bind interface IF_FXO_1 switch
no shutdown
port fxo 0 2
use profile fxo au
encapsulation cc-fxo
bind interface IF_FXO_2 switch
no shutdown
port fxo 0 3
use profile fxo au
encapsulation cc-fxo
bind interface IF_FXO_3 switch
no shutdown