CENTRODIGRAVITA.it
PATTON Smartnode 4112 PSTN :
Questo è il file di configurazione per il modello PATTON SmartNode SN4112/JO/EUI (SmartNode Dual FXO VoIP Gateway, 1x10/100baseT, H.323 and SIP, External UI Power) che è possibile importare direttamente dalla pagina web dell'apparato.
In questo file sono configurate le due porte FXO collegate ad una borchia TELECOM NT1PLUS e sono presenti i profili dei toni corretti per gestire la chisura delle chiamate come il BUSYTONE, CallWaitingtone, etc.
Ci sono configurati anche due Trunk utilizzabili per l'interfacciamento con asterisk.
#----------------------------------------------------------------#
# #
# SN4112/JO/EUI #
# R6.3 2013-05-01 H323 SIP FXS FXO #
# 1970-04-19T23:46:53 #
# SN/00A0BA0AE18A #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local default-offset +00:00
timer PROVISIONING now + 3 minutes "provisioning execute PF_PROVISIONING_CONFIG"
webserver port 80 language en
sntp-client
sntp-client server primary pool.ntp.org port 123 version 4
system hostname PATTON4112
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultCongestiontone
play 1 200 425 -12
pause 2 200
play 3 200 425 -12
pause 4 200
profile call-progress-tone IT_Dialtone
play 1 200 425 -12
pause 2 200
play 3 600 425 -12
pause 4 1000
play 5 200 425 -12
pause 6 200
play 7 600 425 -12
pause 8 1000
play 9 200 425 -12
pause 10 200
profile call-progress-tone IT_Alertingtone
play 1 1000 425 -12
pause 2 4000
play 3 1000 425 -12
pause 4 4000
play 5 1000 425 -12
pause 6 4000
profile call-progress-tone IT_Busytone
play 1 500 425 -12
pause 2 500
play 3 500 425 -12
pause 4 500
play 5 500 425 -12
pause 6 500
profile tone-set default
no map call-progress-tone congestion-tone
profile tone-set IT
map call-progress-tone dial-tone IT_Dialtone
map call-progress-tone ringback-tone IT_Alertingtone
map call-progress-tone busy-tone IT_Busytone
map call-progress-tone release-tone IT_Busytone
map call-progress-tone congestion-tone IT_Congestion
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
profile provisioning PF_PROVISIONING_CONFIG
destination configuration
location 1 http://redirect.patton.com/$(system.mac);mac=$(system.mac);serial=$(system.serial);hwMajor=$(system.hw.major);hwMinor=$(system.hw.minor);swMajor=$(system.sw.major);swMinor=$(system.sw.minor);swDate=$(system.sw.date);productName=$(system.product.name);cliMajor=$(cli.major);cliMinor=$(cli.minor);osName=$(cli.major>=4|Trinity|SmartWare);subDirTrinity=$(cli.major>=4|/Trinity);subDirSmartWare=$(cli.major<4|/SmartWare);dhcp66=$(dhcp.66);dhcp67=$(dhcp.67)
location 2 $(dhcp.66)
location 3 $(dhcp.66)/$(system.mac).cfg
location 4 http://$(dhcp.66)/$(dhcp.67)
location 5 http://$(dhcp.66)/$(system.mac).cfg
location 6 tftp://$(dhcp.66)/$(dhcp.67)
location 7 tftp://$(dhcp.66)/$(system.mac).cfg
activation reload immediate
context ip router
interface eth0
ipaddress 192.168.10.15 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.10.1 0
context cs switch
national-prefix 0
international-prefix 00
interface sip IF-SIP
bind context sip-gateway GW_ASTERISK_1
route call dest-service HG-PSTN
remote 192.168.10.10 5060
early-disconnect
interface fxo FXO-00
route call dest-interface IF-SIP
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 1
use profile tone-set IT
caller-id format bell
interface fxo FXO-01
route call dest-interface IF-SIP
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 1
use profile tone-set IT
caller-id format bell
service hunt-group HG-PSTN
cyclic
timeout 6
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 destination-out-of-order
drop-cause user-busy
route call 1 dest-interface FXO-00
route call 2 dest-interface FXO-01
context cs switch
no shutdown
authentication-service AUTH_ASTERISK
username fxo1 password 36ocYTYpKxk= encrypted
username fxo2 password 36ocYTYpKxk= encrypted
location-service LOC_SERV_ASTERISK_1
domain 1 192.168.10.10
identity fxo1
authentication outbound
registration outbound
registrar 192.168.10.10 5060
lifetime 60
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
identity fxo2
authentication outbound
registration outbound
registrar 192.168.10.10 5060
lifetime 60
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
context sip-gateway GW_ASTERISK_1
interface IF_GW_SIP_ASTERISK_1
bind interface eth0 context router port 5060
context sip-gateway GW_ASTERISK_1
bind location-service LOC_SERV_ASTERISK_1
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
encapsulation cc-fxo
bind interface FXO-00 switch
no shutdown
port fxo 0 1
encapsulation cc-fxo
bind interface FXO-01 switch
no shutdown
Tutto il materiale (testo, grafica e immagini) presente in questo sito è di proprietà di CENTRODIGRAVITA.it, pubblicato su concessione degli autori. Ne è vietata la riproduzione, anche parziale, senza il consenso scritto da parte dello staff CENTRODIGRAVITA.it. Eventuale materiale erroneamente pubblicato e soggetto a copyright verrà immediatamente rimosso su segnalazione del titolare dei diritti. CENTRODIGRAVITA.it non si assume nessuna responsabilità per danni che derivino dall'utilizzo delle informazioni, consigli e file scaricati dal sito. Per info o problemi cliccate qui per contattarci. o qui per accedere all'informativa sui cookie