Hallo,
Nachdem ich jetzt die letzten Tage mich mit meinem Patton beschäftigt habe möchte ich hier nun dass Resultat veröffentlichen. Ich hoffe dass es jemandem vielleicht weiterhilft.
Rahmendaten:
Patton 4554 mit V5.1
Asteriskserver : 172.20.0.2
DNS Server: 172.20.0.1
Gatway: 172.20.0.254
sip.conf
Sollte noch einer Verbesserungen oder Ratschläge für mich haben würde ich mich sehr darüber freuen.
Grüsse Michael
Nachdem ich jetzt die letzten Tage mich mit meinem Patton beschäftigt habe möchte ich hier nun dass Resultat veröffentlichen. Ich hoffe dass es jemandem vielleicht weiterhilft.
Rahmendaten:
Patton 4554 mit V5.1
Asteriskserver : 172.20.0.2
DNS Server: 172.20.0.1
Gatway: 172.20.0.254
Code:
#----------------------------------------------------------------#
# #
# SN4554/2BIS/EUI #
# R5.1 2008-07-14 SIP #
# 2008-08-27T14:13:14 #
# SN/00A0BXXXXXXX #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local offset +02:00
dns-client server 172.20.0.1
webserver port 80 language en
sntp-client
sntp-client server primary de.pool.ntp.org port 123 version 4
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
profile ppp default
profile call-progress-tone defaultDialtone
play 1 1000 425 0
profile call-progress-tone defaultBusytone
play 1 480 425 -7
pause 2 480
profile call-progress-tone defaultReleasetone
play 1 240 425 -7
pause 2 240
profile call-progress-tone defaultCongestiontone
play 1 240 425 -7
pause 2 240
profile tone-set default
profile voip default
codec 1 g711ulaw64k rx-length 20 tx-length 20
codec 2 g711alaw64k 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 LAN
ipaddress 172.20.0.251 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 172.20.0.254 0 traffic-class default
route 0.0.0.0 0.0.0.0 172.20.0.254 0 traffic-class local-default
route 0.0.0.0 0.0.0.0 172.20.0.254 0 traffic-class local-voice
context cs switch
national-prefix 0
international-prefix 00
routing-table called-e164 RT_ISDN_0_TO_SIP_0
route T2 dest-service HG_ISDN_0_TO_SIP_0
routing-table called-e164 RT_ISDN_1_TO_SIP_1
route T2 dest-service HG_ISDN_1_TO_SIP_1
mapping-table calling-pi to calling-e164 MP_REM_CLIR
map restricted to ""
interface isdn IF_ISDN_0
route call dest-table RT_ISDN_0_TO_SIP_0
interface isdn IF_ISDN_1
route call dest-table RT_ISDN_1_TO_SIP_1
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
route call dest-service HG_SIP_0_TO_ISDN_0
remote 172.20.0.2
interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
route call dest-service HG_SIP_1_TO_ISDN_1
remote 172.20.0.2
service hunt-group HG_ISDN_0_TO_SIP_0
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_SIP_0
service hunt-group HG_SIP_0_TO_ISDN_0
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_ISDN_0
service hunt-group HG_ISDN_1_TO_SIP_1
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_SIP_1
service hunt-group HG_SIP_1_TO_ISDN_1
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_ISDN_1
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 172.20.0.2
username 10000 password 10000
username 10001 password 10001
location-service LS_SIP_0_TO_PBX
location-service LS_SIP_1_TO_PBX
domain 1 172.20.0.2
context sip-gateway GW_SIP_0
interface LAN
bind interface LAN context router port 5060
context sip-gateway GW_SIP_0
bind location-service LS_SIP_0_TO_PBX
no shutdown
context sip-gateway GW_SIP_1
interface LAN
bind interface LAN context router port 5062
context sip-gateway GW_SIP_1
bind location-service LS_SIP_1_TO_PBX
no shutdown
port ethernet 0 0
encapsulation ip
bind interface LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
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
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
sip.conf
Code:
;Abgehend BRI1
[1234] ;//MSN
type=peer
username=10000
fromuser=1234 ;//MSN für abgehender Anruf
secret=10000
host=172.20.0.251
fromdomain=172.20.0.251
insecure=very
canreinvite=no
nat=no
disallow=all
allow=ulaw
;Abgehend BRI2
[5678] ;//MSN
type=peer
port=5062
username=10001
fromuser=5678 ;//MSN für abgehender Anruf
secret=10001
host=172.20.0.251
fromdomain=172.20.0.251
insecure=very
canreinvite=no
nat=no
disallow=all
allow=ulaw
-----------------------------------------------------------
;Ankommende Anrufe
[Paton_in_BRI1]
type=peer
fromdomain=172.20.0.251
host=172.20.0.251
disallow=all
allow=ulaw
context=ankommend
[Paton_in_BRI2]
type=peer
port=5062
fromdomain=172.20.0.251
host=172.20.0.251
disallow=all
allow=ulaw
context=ankommend
Sollte noch einer Verbesserungen oder Ratschläge für mich haben würde ich mich sehr darüber freuen.
Grüsse Michael
Zuletzt bearbeitet: