by rgrunert » Wed Jul 28, 2010 6:06 pm
hier die config, wer mal ein ähnliches Thema hat => Allnet.
#----------------------------------------------------------------#
# #
# SN4638/5BIS #
# R5.3 2009-03-18 H323 SIP BRI #
# 2010-07-19T14:19:01 #
# SN/00A0BA055A9E #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
dns-client server 192.168.xxx.xxx
dns-client server 192.168.xxx.xxx
webserver port 80 language en
sntp-client
sntp-client server primary ptbtime1.ptb.de port 123 version 4
sntp-client server secondary ptbtime2.ptb.de port 123 version 4
system
ic voice 0
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 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 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k 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 IF_IP_WAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface IF_IP_LAN
ipaddress 192.168.xxx.xxx 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_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_ISDN_TO_SIP_2
route T2 dest-interface IF_SIP_2 MAPPING_INCOMING_CALLS
routing-table called-e164 RT_ISDN_daten
route T3 dest-service datencall SET_NR
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 \1
mapping-table calling-e164 to calling-e164 SET_NR
map default to 23
complex-function MAPPING_INCOMING_CALLS
execute 1 MAP_REMOVE_BLANK_CALLERID
execute 2 MAP_LEADING_ZERO
interface isdn IF_ISDN_0
route call dest-table RT_ISDN_TO_SIP_0
call-hold disable
interface isdn IF_ISDN_1
route call dest-table RT_ISDN_TO_SIP_1
call-hold disable
interface isdn IF_ISDN_2
route call dest-table RT_ISDN_TO_SIP_2
call-hold disable
interface isdn IF_ISDN_3
route call dest-table RT_ISDN_daten
call-hold disable
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
route call dest-interface IF_ISDN_0
remote 192.168.xxx.xxx
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10000 host-part to-header target-param none
interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
route call dest-interface IF_ISDN_1
remote 192.168.xxx.xxx
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
interface sip IF_SIP_2
bind context sip-gateway GW_SIP_2
route call dest-interface IF_ISDN_2
remote 192.168.xxx.xxx
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
service hunt-group datencall
cyclic
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
route call 2 dest-interface IF_ISDN_1
route call 3 dest-interface IF_ISDN_2
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10000 password LbFCDNv4/Fk= encrypted
username 10001 password dZ8edXkjFnM= encrypted
username 10002 password iAaKwKfxX4Q= encrypted
location-service LS_10000
domain 1 192.168.xxx.xxx
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10000
identity 10000
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.xxx.xxx
lifetime 300
register auto
location-service LS_10001
domain 1 192.168.xxx.xxx
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10001
identity 10001
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.xxx.xxx
lifetime 300
register auto
location-service LS_10002
domain 1 192.168.xxx.xxx
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.xxx.xxx
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
bind location-service LS_10000
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_10001
no shutdown
context sip-gateway GW_SIP_2
interface LAN
bind interface IF_IP_LAN context router port 5064
context sip-gateway GW_SIP_2
bind location-service LS_10002
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface IF_IP_WAN router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface IF_IP_LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
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
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
port bri 0 2
clock auto
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_2 switch
port bri 0 2
no shutdown
port bri 0 3
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_ISDN_3 switch
port bri 0 3
no shutdown
port bri 0 4
clock auto
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
port bri 0 4
shutdown
Rolf Grunert
BCS - business communication services