Коллеги, подскажите где ошибка. Не могу дозвониться с IP-телефона в город.
Привожу конфиг. Прошу проверить два последних диал-пира.
Схема такая:
IP-тел.-->Switch-->[Router2821(ip addr.10.105.3.7)--->FXO-port 0/0/3]----->PSTN
Звонок с IP-тел. идет на гор.номер 4-05-09
Городская линия с номером 5-08-16 подключена к FXO-порту 0/0/3
Сам IP-тел.имеет номер 2919 (или 0352919)
Звонки на IP-телефоны с номерами 2... и 7... проходят,
а когда набираю городской номер с первой цифрой "4" идут короткие гудки
Если можно подскажите где ошибка, или хоть ссылку дайте где почитать.
P.S. Я новичок, поэтому прошу сильно не придираться к моим знаниям.
Порты 0/0/0 - 0/0/2 идут на внутреннюю мини-АТС, перенастроить ее сейчас нет
возможности, поэтому пришлось забрать один порт под городскую линию.
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service sequence-numbers
!
hostname ROUTER2821
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
aaa authorization network default local
!
aaa session-id common
clock timezone EET 2
clock summer-time EET recurring last Sun Mar 2:00 last Sun Oct 3:00
no ip subnet-zero
!
!
ip cef
ip dhcp relay information trust-all
!
!
no ip domain lookup
ip multicast-routing
!
!
!
trunk group FXO_ports
hunt-scheme round-robin
!
voice-card 0
dspfarm
dsp services dspfarm
!
!
voice call send-alert
voice rtp send-recv
!
voice service voip
h323
h225 h245-address on-connect
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8 bytes 40
!
!
!
voice class h323 1
h225 timeout tcp establish 3
!
!
!
voice class dualtone-detect-params 1
!
!
voice class custom-cptone Panasonic
dualtone disconnect
frequency 410
cadence 250 250
!
!
!
!
voice translation-rule 5000
rule 1 /^1\(..\)/ /07014\1/
!
voice translation-rule 7000
rule 1 /^07014\(1..\)/ /\1/
!
!
voice translation-profile ChangeCalled
translate called 5000
!
voice translation-profile IntCalling
translate calling 7000
!
!
class-map match-any RTP
match ip dscp ef
match ip precedence 5
class-map match-all VoiceRTP
match access-group name VoiceNetwork
match class-map RTP
class-map match-any Sign
match ip dscp cs3
match ip dscp af31
match ip precedence 3
class-map match-all VoiceSign
match access-group name VoiceNetwork
match class-map Sign
!
!
policy-map LLQ
class VoiceRTP
priority 168
set ip dscp ef
class VoiceSign
bandwidth 16
set ip dscp cs3
class class-default
fair-queue
set ip dscp default
policy-map WAN_Out
class class-default
shape average 236000 8000 128000
service-policy LLQ
policy-map llq
!
!
!
bridge irb
!
!
!
interface Loopback0
ip address 10.105.79.205 255.255.255.255
!
interface FastEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$
ip address 10.105.3.7 255.255.255.240
duplex full
speed 100
bridge-group 9
h323-gateway voip interface
h323-gateway voip h323-id h323_ROUTER2821
h323-gateway voip bind srcaddr 10.105.3.7
service-policy output WAN_Out
!
interface FastEthernet0/1
no ip address
duplex full
speed 100
bridge-group 9
!
!
!
!10.105.3.1 - это модем
!
no ip classless
ip route 10.96.0.0 255.224.0.0 10.105.3.1
ip route 10.96.0.0 255.252.0.0 Null0
ip route 10.150.0.0 255.255.0.0 10.105.3.1
ip route 172.16.200.8 255.255.255.252 10.105.3.1
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
control-plane
!
bridge 9 protocol ieee
!
!
voice-port 0/0/0
trunk-group FXO_ports
supervisory disconnect dualtone mid-call
supervisory custom-cptone Panasonic
supervisory dualtone-detect-params 1
cptone RU
timeouts call-disconnect 5
timeouts ringing 20
timeouts wait-release 5
timing guard-out 3000
description Port description
station-id name ST1
station-id number 0701414
!
voice-port 0/0/1
trunk-group FXO_ports
supervisory disconnect dualtone mid-call
supervisory custom-cptone Panasonic
supervisory dualtone-detect-params 1
cptone RU
timeouts call-disconnect 5
timeouts ringing 20
timeouts wait-release 5
timing guard-out 3000
description Port description
station-id name ST1
station-id number 0701414
!
voice-port 0/0/2
trunk-group FXO_ports
supervisory disconnect dualtone mid-call
supervisory custom-cptone Panasonic
supervisory dualtone-detect-params 1
cptone RU
timeouts call-disconnect 5
timeouts ringing 20
timeouts wait-release 5
timing guard-out 3000
description Port description
station-id name ST1
station-id number 0701414
!
!
! Подключаю порт 0/0/3 к аналоговой городской линии
!
voice-port 0/0/3
supervisory dualtone anytone
cptone RU
description Port_coonect_to_PSTN
!
!
dspfarm profile 10 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 2
associate application SCCP
!
dspfarm profile 1 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
associate application SCCP
shutdown
!
dspfarm profile 9 mtp
codec g711ulaw
associate application SCCP
shutdown
!
dial-peer cor custom
name Pots
name Voip
!
!
dial-peer cor list POTS
member Pots
!
dial-peer cor list VOIP
member Voip
!
!
dial-peer voice 1 pots
destination-pattern 1...
incoming called-number .
no digit-strip
direct-inward-dial
!
dial-peer voice 9000 voip
corlist incoming POTS
corlist outgoing VOIP
translation-profile outgoing IntCalling
destination-pattern 0352...
progress_ind setup enable 3
voice-class codec 1
voice-class h323 1
session target ipv4:10.100.20.7
ip qos dscp cs3 signaling
no vad
!
dial-peer voice 1000 voip
preference 1
destination-pattern 2...
voice-class h323 1
session target ipv4:10.105.79.254
codec g729r8 bytes 40
ip qos dscp cs3 signaling
no vad
!
dial-peer voice 1300 pots
trunkgroup FXO_ports
corlist incoming VOIP
corlist outgoing POTS
destination-pattern 49..
prefix 1
!
dial-peer voice 1400 voip
preference 1
destination-pattern 7...
voice-class h323 1
session target ipv4:10.105.79.254
codec g729r8 bytes 40
ip qos dscp cs3 signaling
no vad
!
! не знаю - может и неправильно, получается звонок передает сам себе.
dial-peer voice 100 voip
destination-pattern 4....
session target ipv4:10.105.3.7
codec g729r8 bytes 40
no vad
!
dial-peer voice 1301 pots
preference 1
destination-pattern 4....
clid network-number 50816
port 0/0/3