При звонке на 9999999 выбирается dialpeer с .T, хотя у него и номер меньше, и destination-pattern менее точный. Т.е. при звонке по SIP на эту циску, циска выплёвывает этот звонок на этот же номер обратно на тот софтсвитч откуда звонок пришёл... На аналогичной железке с H.323 всё работает как надо. В чём дело? SIP без регистрации.
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service compress-config
boot-start-marker
boot-end-marker
logging buffered 80920 debugging
memory-size iomem 15
clock timezone MSK 3
clock summer-time MSD recurring last Sun Mar 2:00 last Sun Oct 2:00
tdm clock E1 1/0 both import onboard internal
voice-card 1
no ip source-route
ip cef table consistency-check type scan-rib
ip cef
no ip dhcp use vrf connected
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
isdn switch-type primary-net5
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
voice service pots
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711alaw
h323
h225 timeout tcp call-idle never
h225 timeout setup 30
session transport udp
h245 caps mode restricted
sip
controller E1 1/0
framing NO-CRC4
pri-group timeslots 1-16
ip tcp selective-ack
ip tcp synwait-time 5
ip tcp path-mtu-discovery
no ip rcmd domain-lookup
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.224
ip access-group 14 in
ip nat outside
ip virtual-reassembly
speed auto
no cdp enable
interface Serial1/0:15
no ip address
encapsulation hdlc
no logging event link-status
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn bchan-number-order ascending
isdn sending-complete
no cdp enable
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.1.3
no ip http server
no ip http secure-server
no cdp run
control-plane
voice-port 1/0:15
echo-cancel coverage 32
no comfort-noise
cptone RU
timeouts interdigit 3
timeouts ringing 120
description Beeline
bearer-cap 3100Hz
dial-peer voice 1 pots
tone ringback alert-no-PI
destination-pattern 9999999
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 1/0:15
forward-digits all
dial-peer voice 99 voip
destination-pattern .T
progress_ind setup enable 3
progress_ind progress enable 8
progress_ind connect enable 8
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay sip-notify cisco-rtp rtp-nte h245-signal h245-alphanumeric
codec g711alaw
fax rate 9600
fax protocol pass-through g711alaw
no vad
sip-ua
nat symmetric role passive
nat symmetric check-media-src
no remote-party-id
disable-early-media 180
aaa username proxy-auth
set pstn-cause 18 sip-status 408
max-forwards 10
retry invite 3
retry response 3
retry bye 3
retry cancel 3
retry register 3
timers trying 100
timers register 150
registrar ipv4:192.168.1.1 expires 60
sip-server ipv4:192.168.1.1
connection-reuse
privilege exec level 8 access-template
privilege exec level 8 clear access-template
privilege exec level 8 clear
line con 0
session-timeout 180 output
exec-timeout 0 0
line aux 0
line vty 0 4
session-timeout 180 output
exec-timeout 180 0
timeout login response 300
transport preferred telnet
transport input telnet
ip netmask-format decimal
scheduler allocate 20000 1000
end