Цитата:
version 8.23H
!
hostname AP200-Almaz
!
!
no bridge spanning-tree
!
dhcp-list 1 type server
dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128
!
nat-list 0 pat address 85.234.8.95
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 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 static-entry udp 22000 local
nat-list 0 pat static-entry udp 22001 local
nat-list 0 pat group-static-entry udp 23000 23015 local
nat-list 0 pat static-entry tcp 80 local
nat-list 0 pat static-entry tcp 8080 local
nat-list 0 pat static-entry tcp 443 local
nat-list 0 pat static-entry tcp 8888 local
nat-list 0 pat static-entry tcp 5190 local
nat-list 0 pat static-entry tcp 20 local
nat-list 0 pat static-entry tcp 21 local
nat-list 0 pat static-entry tcp 23 local
nat-list 0 pat static-entry icmp ping 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
ppp authentication chap callin
ppp chap hostname <login>
ppp chap password <pswd>
ppp pap sent-username <ligin> password <pswd>
ppp ipcp ms-dns
ppp ipcp default-route
!
interface ether1.0
ip address 192.168.0.254 255.255.255.0
ip nat-group 0 pat ether0.0
!
snmp name AP200B
!
no arp reset
!
!
!
!
!
! 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
h323 call response progress
inband-ringback-tone
no busyout monitor gatekeeper
busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
description almaz
!
!
! FXS
voice-port 0/1
!
!
!
!
!
voice service voip
minimize-voip-port multiply 1
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern 220142
port 0/0
no register e164
!
!
!
! Voip peer configuration.
!
dial-peer voice 10 voip
destination-pattern .T
session target 85.234.0.18
voice-class codec 1
dtmf-relay h245-alphanumeric
no vad
no sid
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.85.234.8.95
ignore-msg-from-other-gk
register
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
codec preference 2 g711alaw
codec preference 3 g711ulaw
codec preference 4 g7231r53
codec preference 5 g7231r63
!
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
!
!
! Tones
!
!
!
!
с дебагом трабла - в телнет не хочет выдавать дебаг, а консольку подключить на данный момент нет возможности...