Всем привет.! Наблюдается след. проблема. Ап1000 настроена PPPOE +NAT+DHCP, когда по какимто причинам авторизация чап не проходит интерфейс эзернет уходит в доун и тогда проподает сигнал в линии, тоесть если интернена нет то и звонить через PSTN backup, Не получается поскольку fxs port отключается. Так вот как настроить чтобы при отказе интернета или когда порт эзернет уходит в доун - возможно было звонить в город через PSTN-backup.
version 8.30U ! hostname AP1000 ! ! no bridge spanning-tree ! proxy-arp ! dhcp-list 1 type server dhcp-list 1 address server 192.168.200.1 192.168.200.128 255.255.255.0 dhcp-list 1 option dns use-ppp dhcp-list 1 option router-option 192.168.200.1 ! nat-list 0 pat address 87.241.133.109 nat-list 0 pat static-entry tcp 1720 local nat-list 0 pat static-entry udp 5060 local nat-list 0 pat group-static-entry tcp 10000 10000 local nat-list 0 pat group-static-entry tcp 14000 14000 local nat-list 0 pat group-static-entry udp 18000 18000 local nat-list 0 pat static-entry udp 22000 local nat-list 0 pat static-entry udp 22001 local nat-list 0 pat group-static-entry udp 23000 23001 local nat-list 0 pat static-entry udp 5061 local nat-list 0 pat group-static-entry udp 10000 20000 local nat-list 0 pat group-static-entry tcp 10000 20000 local nat-list 0 pat group-static-entry tcp 10000 10007 local nat-list 0 pat group-static-entry tcp 14000 14007 local nat-list 0 pat group-static-entry udp 18000 18007 local nat-list 0 pat group-static-entry udp 23000 23015 local ! no ip-share enable ip-share interface net-side ether0.0 ip-share interface local-side ether1.0 ! interface ether0.0 no ip address encapsulation pppoe mtu 1480 ppp authentication chap callin ppp chap hostname 7400062030 ppp chap password 435906 ppp pap sent-username 7400062030 password 435906 ppp timeout 60 ppp echo interval 20 ppp ipcp ms-dns ppp ipcp default-route pppoe ac-name beeline ! interface ether0.1 ip address 192.168.100.100 255.255.255.0 ! interface ether1.0 ip address 192.168.200.1 255.255.255.0 ip nat-group 0 pat ether0.0 ip dhcp-group 1 ! snmp name AP1000 snmp enable-trap dn-register 300 forcely-block ! arp reset arp static 192.168.200.10 0:1a:4d:5f:12:6f ! route 192.168.200.0 255.255.255.0 ether1.0 ! utilization cpu period 5 utilization ethernet period 5 ! ! ! ! ! ! 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 timeout tidt 10 busyout monitor gatekeeper busyout monitor sip-server busyout monitor callagent busyout monitor voip-interface ! ! ! Voice port configuration. ! ! FXS voice-port 0/0 input gain -10 output gain -10 polarity-inverse no comfort-noise fax-early-detect busyout action port-down caller-id enable caller-id type etsi ! ! ! FXS voice-port 0/1 input gain -10 output gain -10 polarity-inverse no comfort-noise fax-early-detect busyout action port-down caller-id enable caller-id type etsi ! ! ! FXS voice-port 0/2 caller-id enable ! ! ! FXS voice-port 0/3 caller-id enable ! ! ! ! ! voice service voip minimize-voip-port multiply 1 ! ! Pots peer configuration.
|