Frequently Asked Question
Patton SN-4554 PmP
Last Updated 8 years ago
Patton Smartnode 4554 [2x losse PmP PointMultiPoint]
Configuratie voorbeeld op 4AllBusiness PBX (FreePBX)
2x BRI aansluiting
2x 2 ISDN gesprekskanalen
Trunk voorbeeld in de PBX.
PattonScript: (ook los te downloaden als attachment)
Dit script aanpassen en importeren via Patton.
Passwords, logins en IP adressen aanpassen.
Copy de tekst en sla op in een tekst bestand om te importeren in de Patton.
#########################################################
#
# Voor Patton SmartNode 4554 2-port BRI
# Configuratie script voor in/outbound ISDN op de 4AllBusiness PBX
# Supported firmware versions R5.x
# Ingesteld als 2x losse trunk voor 2 losse ISDN aansluitingen [PmP = PointMultiPoint]
# aanpassen indien het PmP [=PointMultiPoint] moet zijn.
#
# Author: Bas Huijsen - 4AllBusiness.nl
# Contact: info@4allbusiness.nl
# In voorbeeld script is 192.168.1.106=PBX 10002/10003=username PattonPassword4A11Biz=secret 192.168.1.166=WebinterfacePattonZelf
#########################################################
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
profile ppp default
profile call-progress-tone defaultDialtone
flush-play-list
play 1 1000 425 0
profile call-progress-tone defaultAlertingtone
flush-play-list
play 1 1000 425 -7
pause 2 4000
profile call-progress-tone defaultBusytone
flush-play-list
play 1 500 425 -7
pause 2 500
profile call-progress-tone defaultReleasetone
flush-play-list
play 1 250 425 -7
pause 2 250
profile call-progress-tone defaultCongestiontone
flush-play-list
play 1 250 425 -7
pause 2 250
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
modem transmission 1 bypass g711alaw64k
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_IP_LAN
# Dit is het IP address van de Patton webinterface in het netwerk
# Default login naam=administrator password=[leeg]
ipaddress 192.168.1.166 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
mapping-table calling-pi to calling-e164 MAP_REMOVE_BLANK_CALLERID
map restricted to ""
mapping-table calling-e164 to calling-e164 MAP_LEADING_ZERO
map (.%)-(.%)-(.%)-(.%)-(.%) to 12345
map (.%)-(.%)-(.%)-(.%) to 1234
map (.%)-(.%)-(.%) to 123
map (.%)-(.%) to 12
mapping-table calling-e164 to calling-name MAP_CID_TO_CNAME
map (.%) to 1
complex-function MAPPING_INCOMING_CALLS
execute 1 MAP_REMOVE_BLANK_CALLERID
execute 2 MAP_LEADING_ZERO
mapping-table calling-e164 to calling-e164 SET_CNPN
map 0(.%) to 1
mapping-table calling-type-of-number to calling-type-of-number TYPE
map default to national
mapping-table calling-numbering-plan to calling-numbering-plan PLAN
map default to isdn-telephony
complex-function OUTBOUND
execute 1 PLAN
execute 2 SET_CNPN
execute 3 TYPE
routing-table called-e164 RT_ISDN_TO_SIP_0
route T2 dest-interface IF_SIP_0 MAPPING_INCOMING_CALLS
routing-table called-e164 RT_ISDN_TO_SIP_1
route T2 dest-interface IF_SIP_1 MAPPING_INCOMING_CALLS
routing-table called-e164 RT_SIP_TO_ISDN_0
route default dest-interface IF_ISDN_0 OUTBOUND
routing-table called-e164 RT_SIP_TO_ISDN_1
route default dest-interface IF_ISDN_1 OUTBOUND
interface isdn IF_ISDN_0
route call dest-table RT_ISDN_TO_SIP_0
call-reroute emit
diversion emit
user-side-ringback-tone
call-hold disable
caller-name
interface isdn IF_ISDN_1
route call dest-table RT_ISDN_TO_SIP_1
user-side-ringback-tone
call-reroute emit
diversion emit
call-hold disable
caller-name
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
no early-connect
early-disconnect
route call dest-table RT_SIP_TO_ISDN_0
# Aanpassen volgens 4AllBusiness PBX configuratie
remote 192.168.1.189 5060
call-reroute accept
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_1
bind context sip-gateway GW_SIP_1
no early-connect
early-disconnect
route call dest-table RT_SIP_TO_ISDN_1
# Aanpassen volgens 4AllBusiness PBX configuratie
remote 192.168.1.189 5060
call-reroute accept
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
context cs switch
no shutdown
authentication-service AS_ALL_LINES
# Aanpassen volgens 4AllBusiness PBX configuratie
realm 1 4AllbusinessPBX
username 10002 password PattonPassword4A11Biz
username 10003 password PattonPassword4A11Biz
location-service LS_10002
# Aanpassen volgens 4AllBusiness PBX configuratie
domain 1 192.168.1.189
identity-group default
# Aanpassen volgens 4AllBusiness PBX configuratie
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
# Aanpassen volgens 4AllBusiness PBX configuratie
registrar 192.168.1.189 5060
lifetime 300
register auto
location-service LS_10003
domain 1 192.168.1.189
# Aanpassen volgens 4AllBusiness PBX configuratie
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10003
# Aanpassen volgens 4AllBusiness PBX configuratie
identity 10003
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
# Aanpassen volgens 4AllBusiness PBX configuratie
registrar 192.168.1.189 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
# Aanpassen volgens 4AllBusiness PBX configuratie
bind location-service LS_10002
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_10003
no shutdown
port ethernet 0 0
encapsulation ip
bind interface IF_IP_LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_0 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_1 switch
port bri 0 1
no shutdown
Configuratie voorbeeld op 4AllBusiness PBX (FreePBX)
2x BRI aansluiting
2x 2 ISDN gesprekskanalen
Trunk voorbeeld in de PBX.
PattonScript: (ook los te downloaden als attachment)
Dit script aanpassen en importeren via Patton.
Passwords, logins en IP adressen aanpassen.
Copy de tekst en sla op in een tekst bestand om te importeren in de Patton.
#########################################################
#
# Voor Patton SmartNode 4554 2-port BRI
# Configuratie script voor in/outbound ISDN op de 4AllBusiness PBX
# Supported firmware versions R5.x
# Ingesteld als 2x losse trunk voor 2 losse ISDN aansluitingen [PmP = PointMultiPoint]
# aanpassen indien het PmP [=PointMultiPoint] moet zijn.
#
# Author: Bas Huijsen - 4AllBusiness.nl
# Contact: info@4allbusiness.nl
# In voorbeeld script is 192.168.1.106=PBX 10002/10003=username PattonPassword4A11Biz=secret 192.168.1.166=WebinterfacePattonZelf
#########################################################
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
profile ppp default
profile call-progress-tone defaultDialtone
flush-play-list
play 1 1000 425 0
profile call-progress-tone defaultAlertingtone
flush-play-list
play 1 1000 425 -7
pause 2 4000
profile call-progress-tone defaultBusytone
flush-play-list
play 1 500 425 -7
pause 2 500
profile call-progress-tone defaultReleasetone
flush-play-list
play 1 250 425 -7
pause 2 250
profile call-progress-tone defaultCongestiontone
flush-play-list
play 1 250 425 -7
pause 2 250
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
modem transmission 1 bypass g711alaw64k
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_IP_LAN
# Dit is het IP address van de Patton webinterface in het netwerk
# Default login naam=administrator password=[leeg]
ipaddress 192.168.1.166 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
mapping-table calling-pi to calling-e164 MAP_REMOVE_BLANK_CALLERID
map restricted to ""
mapping-table calling-e164 to calling-e164 MAP_LEADING_ZERO
map (.%)-(.%)-(.%)-(.%)-(.%) to 12345
map (.%)-(.%)-(.%)-(.%) to 1234
map (.%)-(.%)-(.%) to 123
map (.%)-(.%) to 12
mapping-table calling-e164 to calling-name MAP_CID_TO_CNAME
map (.%) to 1
complex-function MAPPING_INCOMING_CALLS
execute 1 MAP_REMOVE_BLANK_CALLERID
execute 2 MAP_LEADING_ZERO
mapping-table calling-e164 to calling-e164 SET_CNPN
map 0(.%) to 1
mapping-table calling-type-of-number to calling-type-of-number TYPE
map default to national
mapping-table calling-numbering-plan to calling-numbering-plan PLAN
map default to isdn-telephony
complex-function OUTBOUND
execute 1 PLAN
execute 2 SET_CNPN
execute 3 TYPE
routing-table called-e164 RT_ISDN_TO_SIP_0
route T2 dest-interface IF_SIP_0 MAPPING_INCOMING_CALLS
routing-table called-e164 RT_ISDN_TO_SIP_1
route T2 dest-interface IF_SIP_1 MAPPING_INCOMING_CALLS
routing-table called-e164 RT_SIP_TO_ISDN_0
route default dest-interface IF_ISDN_0 OUTBOUND
routing-table called-e164 RT_SIP_TO_ISDN_1
route default dest-interface IF_ISDN_1 OUTBOUND
interface isdn IF_ISDN_0
route call dest-table RT_ISDN_TO_SIP_0
call-reroute emit
diversion emit
user-side-ringback-tone
call-hold disable
caller-name
interface isdn IF_ISDN_1
route call dest-table RT_ISDN_TO_SIP_1
user-side-ringback-tone
call-reroute emit
diversion emit
call-hold disable
caller-name
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
no early-connect
early-disconnect
route call dest-table RT_SIP_TO_ISDN_0
# Aanpassen volgens 4AllBusiness PBX configuratie
remote 192.168.1.189 5060
call-reroute accept
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_1
bind context sip-gateway GW_SIP_1
no early-connect
early-disconnect
route call dest-table RT_SIP_TO_ISDN_1
# Aanpassen volgens 4AllBusiness PBX configuratie
remote 192.168.1.189 5060
call-reroute accept
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
context cs switch
no shutdown
authentication-service AS_ALL_LINES
# Aanpassen volgens 4AllBusiness PBX configuratie
realm 1 4AllbusinessPBX
username 10002 password PattonPassword4A11Biz
username 10003 password PattonPassword4A11Biz
location-service LS_10002
# Aanpassen volgens 4AllBusiness PBX configuratie
domain 1 192.168.1.189
identity-group default
# Aanpassen volgens 4AllBusiness PBX configuratie
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
# Aanpassen volgens 4AllBusiness PBX configuratie
registrar 192.168.1.189 5060
lifetime 300
register auto
location-service LS_10003
domain 1 192.168.1.189
# Aanpassen volgens 4AllBusiness PBX configuratie
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10003
# Aanpassen volgens 4AllBusiness PBX configuratie
identity 10003
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
# Aanpassen volgens 4AllBusiness PBX configuratie
registrar 192.168.1.189 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
# Aanpassen volgens 4AllBusiness PBX configuratie
bind location-service LS_10002
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_10003
no shutdown
port ethernet 0 0
encapsulation ip
bind interface IF_IP_LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_0 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_1 switch
port bri 0 1
no shutdown