Hallo Leute,
ich habe einen Patton SN4120 mit 2X ISDN Basisanschlüssen der A1 Telekom Austria. Beide ISDN als PTP konfiguriert. Als SIP Server verwende ich Asterisk (Elastix).
Durchwahlen funktionieren, sowie das raustelefonieren. Leider funktionieren keine Anrufe auf meine Kopfnummern. Habe hier schon ein paar Beispiele aus
dem Forum probiert allerdings ohne Erfolg.
TRUNK 1 Config:
Trunk 2 Config:
Patton Config:
Bin für jede Hilfe dankbar. Blicke hier einfach nicht mehr durch.
Beste Grüße,
David
ich habe einen Patton SN4120 mit 2X ISDN Basisanschlüssen der A1 Telekom Austria. Beide ISDN als PTP konfiguriert. Als SIP Server verwende ich Asterisk (Elastix).
Durchwahlen funktionieren, sowie das raustelefonieren. Leider funktionieren keine Anrufe auf meine Kopfnummern. Habe hier schon ein paar Beispiele aus
dem Forum probiert allerdings ohne Erfolg.
TRUNK 1 Config:
Code:
host=dynamic
port=5062
type=peer
user=isdn1
secret=12345678
insecure=very
qualify=yes
canreinvite=no
disallow=all
allow=alaw&ulaw
Trunk 2 Config:
Code:
host=dynamic
port=5064
type=peer
user=isdn2
secret=12345678
insecure=very
qualify=yes
canreinvite=no
disallow=all
allow=alaw&ulaw
Patton Config:
Code:
#----------------------------------------------------------------#
# #
# SN4120/2BIS4V #
# R6.T 2015-01-16 H323 SIP #
# 2015-03-28T16:48:41 #
# xxxxxxxxx#
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local default-offset +00:00
dns-client server 10.11.12.12
dns-client server 8.8.8.8
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
play 1 1000 425 -6
profile call-progress-tone defaultAlertingtone
play 1 1000 425 -13
pause 2 4000
profile call-progress-tone defaultBusytone
play 1 300 425 -7
pause 2 200
profile call-progress-tone defaultReleasetone
play 1 300 425 -7
pause 2 400
profile call-progress-tone defaultCongestiontone
play 1 300 425 -7
pause 2 400
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
# no autonomous-transitioning deaktiviert#
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_IP_LAN
ipaddress 10.11.12.44 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 10.11.12.12 0
context cs switch
digit-collection timeout 10
national-prefix 0
international-prefix 00
routing-table called-e164 AMT_IN-1
route 024567T!0 dest-interface isdn1 MAPPING_INCOMING_CALLS
route 00245671!T0 dest-interface isdn1 MAPPING_INCOMING_CALLS
route 24567!T0 dest-interface isdn1 MAPPING_INCOMING_CALLS
route T!0 dest-interface isdn1 MAPPING_INCOMING_CALLS
route default dest-interface isdn1 MAPPING_INCOMING_CALLS
route * dest-interface IF_ISDN_0
routing-table called-e164 AMT_IN-2
route 024568T!0 dest-interface isdn2 MAPPING_INCOMING_CALLS1
route 0024568!T0 dest-interface isdn2 MAPPING_INCOMING_CALLS1
route 024568!T0 dest-interface isdn2 MAPPING_INCOMING_CALLS1
route T!0 dest-interface isdn2 MAPPING_INCOMING_CALLS1
route default dest-interface isdn2 MAPPING_INCOMING_CALLS1
route * dest-interface IF_ISDN_1
mapping-table calling-pi to calling-e164 MAP_REMOVE_BLANK_CALLERID
map restricted to ""
mapping-table calling-pi to calling-e164 MAP_REMOVE_BLANK_CALLERID1
map restricted to ""
mapping-table calling-e164 to calling-e164 MAP_LEADING_ZERO
map (.%)-(.%)-(.%)-(.%)-(.%) to 0\1\2\3\4\5
map (.%)-(.%)-(.%)-(.%) to 0\1\2\3\4
map (.%)-(.%)-(.%) to 0\1\2\3
map (.%)-(.%) to 0\1\2
map (.%) to 0\1
mapping-table calling-e164 to calling-e164 MAP_LEADING_ZERO1
map (.%)-(.%)-(.%)-(.%)-(.%) to 0\1\2\3\4\5
map (.%)-(.%)-(.%)-(.%) to 0\1\2\3\4
map (.%)-(.%)-(.%) to 0\1\2\3
map (.%)-(.%) to 0\1\2
map (.%) to 0\1
mapping-table calling-e164 to calling-name MAP_CID_TO_CNAME
map (.%) to \1
mapping-table calling-e164 to calling-name MAP_CID_TO_CNAME1
map (.%) to \1
mapping-table calling-e164 to calling-e164 MAP_MSN_TO_OUTGOING
map * to 024567
map (.%) to 024567
mapping-table calling-e164 to calling-e164 MAP_MSN_TO_OUTGOING1
map * to 024568
map (.%) to 024568
complex-function MAPPING_INCOMING_CALLS
execute 1 MAP_REMOVE_BLANK_CALLERID
execute 2 MAP_LEADING_ZERO
execute 3 MAP_CID_TO_CNAME
complex-function MAPPING_INCOMING_CALLS1
execute 1 MAP_REMOVE_BLANK_CALLERID1
execute 2 MAP_LEADING_ZERO1
execute 3 MAP_CID_TO_CNAME1
interface isdn IF_ISDN_0
route call dest-table AMT_IN-1
call-hold disable
no early-proceeding
caller-name
user-side-ringback-tone
interface isdn IF_ISDN_1
route call dest-table AMT_IN-2
call-hold disable
no early-proceeding
caller-name
user-side-ringback-tone
interface sip isdn1
bind context sip-gateway asterisk01
route call dest-interface IF_ISDN_0
remote 10.11.12.40
early-connect
early-disconnect
address-translation incoming-call calling-e164 fix 024567
interface sip isdn2
bind context sip-gateway asterisk02
route call dest-interface IF_ISDN_1
remote 10.11.12.40
address-translation incoming-call calling-e164 fix 0245678
context cs switch
no shutdown
authentication-service AS_ALL_LINES
username isdn1 password ydvdho58ePNFYip2KREvXA== encrypted
username isdn2 password ydvdho58ePNFYip2KREvXA== encrypted
location-service SER_LOC_VOIPVOICE
domain 1 10.11.12.40
match-any-domain
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
register auto
identity isdn1 inherits default
identity isdn2 inherits default
context sip-gateway asterisk01
interface LAN
bind interface IF_IP_LAN context router port 5062
context sip-gateway asterisk01
bind location-service SER_LOC_VOIPVOICE
no shutdown
context sip-gateway asterisk02
interface LAN
bind interface IF_IP_LAN context router port 5064
context sip-gateway asterisk02
bind location-service SER_LOC_VOIPVOICE
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface IF_IP_LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
permanent-layer2
protocol pp
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
permanent-layer2
protocol pp
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
Bin für jede Hilfe dankbar. Blicke hier einfach nicht mehr durch.
Beste Grüße,
David
Zuletzt bearbeitet: