удалённый ап:
Код:
version 8.30U
!
hostname AP200B
!
!
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
!
dhcp-list 1 type server
dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128
!
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.1.146 255.255.255.0
!
interface ether1.0
no ip address
ip dhcp-group 0
!
snmp name AP200B
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.1.147
!
pnp-sktelink debug on
!
!
!
!
!
! 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
busyout monitor gatekeeper
busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
input gain 5
connection plar 9103
caller-id enable
!
!
! FXS
voice-port 0/1
caller-id enable
!
!
!
!
!
voice service voip
minimize-voip-port multiply 1
!
! Pots peer configuration.
!
dial-peer voice 10 pots
destination-pattern 103
port 0/0
!
dial-peer voice 11 pots
destination-pattern 104
port 0/1
!
dial-peer voice 12 pots
destination-pattern 105
!
dial-peer voice 13 pots
destination-pattern 106
!
dial-peer voice 14 pots
destination-pattern 121
!
dial-peer voice 15 pots
destination-pattern 122
!
dial-peer voice 16 pots
destination-pattern 130
!
dial-peer voice 17 pots
destination-pattern 132
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern 9103
session target 192.168.1.147
codec g729
no vad
codec-variant g7231 standard
dtmf-relay rtp
!
dial-peer voice 101 voip
destination-pattern 9104
session target 192.168.1.147
codec g729
no vad
codec-variant g7231 standard
dtmf-relay h245-alphanumeric
!
dial-peer voice 102 voip
destination-pattern 9105
session target 192.168.1.147
codec g729
no vad
codec-variant g7231 standard
dtmf-relay h245-alphanumeric
!
dial-peer voice 103 voip
destination-pattern 9106
session target 192.168.1.147
codec g729
no vad
codec-variant g7231 standard
dtmf-relay h245-alphanumeric
!
dial-peer voice 104 voip
destination-pattern 912[12]
session target 192.168.1.147
codec g729
no vad
codec-variant g7231 standard
dtmf-relay h245-alphanumeric
!
dial-peer voice 105 voip
destination-pattern 913[02]
session target 192.168.1.147
codec g711ulaw
no vad
codec-variant g7231 standard
dtmf-relay h245-alphanumeric
!
!
!
dial-peer translate-digit # !
!
!
!
! Gateway configuration.
!
gateway
h323-id 192.168.1.147
public-ip 192.168.1.147
no ignore-msg-from-other-gk
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!
[/code]