>А конфиг полностью можно посмотреть?
вот конфиг полностью.
что самое интересноевыставил incoming called-number 2#
и session target ipv4:2.0.1.1 - не правильный адрес пира, все равно звонки идут...
пока пошел перечитывать в очередной раз
Understanding Inbound and Outbound Dial Peers Matching on IOS Platforms
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname gate1
!
boot-start-marker
boot-end-marker
!
!
resource-pool disable
!
aaa new-model
!
!
aaa session-id common
ip subnet-zero
!
!
isdn switch-type primary-net5
!
voice call send-alert
voice rtp send-recv
!
voice service voip
signaling forward none
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
h323
h245 tunnel defer
sip
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 gsmfr
codec preference 4 g723r63
codec preference 5 g729r8
codec preference 6 g729br8
codec preference 7 g723r53
!
!
!
controller E1 0
pri-group timeslots 1-31
!
controller E1 1
pri-group timeslots 1-31
!
translation-rule 2
Rule 3 ^33#8 8 ANY unknown
Rule 4 ^22#8 8 ANY unknown
!
!!
!
interface Ethernet0
ip address 2.1.1.1 255.255.255.0
ip access-group 102 in
no cdp enable
!
interface Serial0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice modem
isdn map address .* plan unknown type unknown
isdn send-alerting
isdn negotiate-bchan
isdn sending-complete
no cdp enable
!
interface Serial1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice modem
isdn map address .* plan unknown type unknown
isdn send-alerting
isdn negotiate-bchan
isdn sending-complete
no cdp enable
!
interface FastEthernet0
ip address 2.1.1.1 255.255.255.0
ip access-group 102 in
duplex full
speed auto
no cdp enable
h323-gateway voip interface
!
ip classless
ip route 0.0.0.0 0.0.0.0 2.1.1.1
no ip http server
!
!
access-list 102 ....
!
!
voice-port 0:D
echo-cancel coverage 32
cptone RU
timeouts interdigit 0
bearer-cap Speech
!
voice-port 1:D
echo-cancel coverage 32
cptone RU
timeouts interdigit 0
bearer-cap Speech
!
dial-peer voice 550 voip
incoming called-number 2#
voice-class codec 1
session target ipv4:2.0.1.1
dtmf-relay rtp-nte h245-signal h245-alphanumeric
fax protocol none
no vad
!
dial-peer voice 560 pots
max-conn 30
destination-pattern 22#8.T
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
translate-outgoing called 2
port 0:D
forward-digits all
!
dial-peer voice 561 pots
max-conn 30
destination-pattern 33#8.T
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
translate-outgoing called 2
port 1:D
forward-digits all
!
line vty 0 4