Имеется AP200D и AP100 в разных городах. AP200D подключена к офисной АТС, в AP100 воткнут телефонный аппарат. Обе АПшки стоят за NAT, все порты из show gateway открыты/проброшены.
При звонке с AP100 на внутренние и городские номера всё отлично, но при звонке из офисной сети на AP100 звонок проходит, идут гудки, телефон звонит, но когда снимают трубку в линии тишина.
В чем может быть проблема?
Конфиг AP200D
Код:
!
version 8.30W
!
hostname AP200
!
!
no bridge spanning-tree
!
dhcp-list 0 type server
dhcp-list 0 address server interface ether0.0
dhcp-list 0 option dhcp-lease-time 600
!
!
ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.0.250 255.255.255.0
!
interface ether1.0
no ip address
ip dhcp-group 0
!
snmp name AP200D
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.0.1
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
!
!
! Voice port configuration.
!
! FXO
voice-port 0/0
connection plar 111
ring detect-timeout 70
no caller-id enable
!
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 10 pots
destination-pattern 9111
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern 111
session target 77.233.*.*
no vad
dtmf-relay h245-alphanumeric
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.250
public-ip 195.28.*.*
no ignore-msg-from-other-gk
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
no codec
vad
!
!
! Tones
!
!
!
!
AP200#
Конфиг AP100
Код:
Current configuration:
!
version 8.41.085
!
hostname AP100
!
username root password ***** administrator
username admin password ***** administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 192.168.0.250 255.255.255.0
ip nat outside
speed auto
no qos-control
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
ip nat inside
speed auto
no qos-control
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1
ip route 0.0.0.0 0.0.0.0 192.168.0.1 10
!
access-list 100 permit ip 192.168.10.0 0.0.0.255 any
!
!
ip nat inside source list 100 interface FastEthernet0/0 overload
!
!
snmp name AP100_G2
!
!
http server
!
!
dns name-server 192.168.0.1
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
connection plar 9111
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 10 pots
destination-pattern 111
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern 9111
session target ip 195.28.*.*
no vad
dtmf-relay h245-alphanumeric
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.250
public-ip 77.233.*.*
no ignore-msg-from-other-gk
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
vad
!
!
! Tones
!
!
!
!
line console
!
line vty
!
end
AP100#