Hallo noch ein mal...
also ich habe nun meine 4638 sowit am Testlaufen.
An Bri04 hängt ein ISDN Telefon.
Dieses kann ich auch über ein IP-Phone über Asterisk und Durchwahlnummer anrufen.
Leider geht es nicht vom ISDN Telefon zum Asterisk.
hier meine Testkonfig...
Kennt jemand eine Lösung für meinen Fehler und kann helfen?
Bin eigentlich schon weit, aber irgendwie brauch ich einen Denkanstoss...
also ich habe nun meine 4638 sowit am Testlaufen.
An Bri04 hängt ein ISDN Telefon.
Dieses kann ich auch über ein IP-Phone über Asterisk und Durchwahlnummer anrufen.
Leider geht es nicht vom ISDN Telefon zum Asterisk.
hier meine Testkonfig...
Kennt jemand eine Lösung für meinen Fehler und kann helfen?
Bin eigentlich schon weit, aber irgendwie brauch ich einen Denkanstoss...
Code:
#----------------------------------------------------------------#
# #
# SN4638/5BIS #
# R5.3 2009-03-18 H323 SIP BRI #
# 2009-06-06T10:37:08 #
# SN/00A0BA048B72 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
no terminal telnet
clock local offset +02:00
dns-client server 192.168.123.8
dns-client server 192.168.123.2
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.123.2 port 123 version 3
system hostname vgw.home.local
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
clock-source 3 bri 0 2
clock-source 4 bri 0 3
clock-source 5 bri 0 4
profile ppp default
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
rtp traffic-class local-default
fax transmission 1 relay t38-udp
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
rtp-port-range 16384 16481
interface eth0
ipaddress 192.168.123.25 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
national-prefix 0
international-prefix 00
routing-table called-e164 RT_FROM_PSTN
route 989604 dest-interface IF_NT_01
route 987047 dest-interface IF_SIP_ASTERISK
route 982041 dest-interface IF_SIP_ASTERISK
route 220 dest-table Sip_FROM_PSTN
route 2.+ dest-interface IF_SIP_ASTERISK
route default dest-interface IF_SIP_ASTERISK
route 982043 dest-interface IF_SIP_ASTERISK
route 208 dest-interface IF_SIP_ASTERISK
routing-table called-uri Sip_FROM_PSTN
route 220 dest-interface IF_NT_02
route default dest-interface IF_NT_02
route 208 dest-interface IF_SIP_ASTERISK
mapping-table called-e164 to called-e164 MT_SPEED_DIAL
mapping-table calling-e164 to calling-e164 MT_SET_CNPN
mapping-table called-e164 to called-e164 MT_NR_TRANSLATION
interface isdn IF_TE_00
route call dest-table RT_FROM_PSTN
interface isdn IF_NT_01
route call dest-interface IF_TE_00
interface isdn IF_NT_02
route call dest-interface IF_TE_00
interface sip IF_SIP_ASTERISK
bind context sip-gateway GW_ASTERISK
route call dest-table Sip_FROM_PSTN
remote 192.168.123.23 5060
early-connect
early-disconnect
service hunt-group SER_HG_PSTN_FALLBACK
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 no-route-to-destination
route call 1 dest-interface IF_SIP_ASTERISK
route call 2 dest-interface IF_TE_00
context cs switch
no shutdown
authentication-service AUTH_SVC
realm 1 192.168.123.23
username Patton password geheim
location-service LOCATION_SVC
domain 1 192.168.123.23 5060
identity-group default
authentication outbound
authenticate 1 authentication-service AUTH_SVC
registration outbound
register auto
call outbound
identity 220
display-name Werkstatt
phone-context 220
registration inbound
contact 192.168.123.23 5060 switch IF_SIP_ASTERISK priority 1000
lifetime default 3600 min 1 max 4294967295
context sip-gateway GW_ASTERISK
interface eth0
bind interface eth0 context router port 5060
context sip-gateway GW_ASTERISK
bind location-service LOCATION_SVC
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
vlan 123
map cos 0 to local-default
map cos 3 to local-voice
map cos 5 to local-voice
encapsulation ip
no shutdown
vlan 110
map cos 3 to local-voice
map cos 5 to local-voice
encapsulation ip
no shutdown
port ethernet 0 0
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
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_TE_00 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 net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_NT_01 switch
port bri 0 1
no shutdown
port bri 0 2
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
port bri 0 2
shutdown
port bri 0 3
clock auto
power-feed
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
port bri 0 3
shutdown
port bri 0 4
clock auto
power-feed
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_NT_02 switch
port bri 0 4
no shutdown