Зарегистрирован: 21 ноя 2008, 07:00 Сообщения: 3
|
AP200# sh run
!
version 8.237
!
hostname AP200
!
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
!
!
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.2 255.255.255.0
line-ctrl full-duplex
!
interface ether1.0
no ip address
ip dhcp-group 0
!
snmp name AP200D
!
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
busyout monitor gatekeeper
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXO
voice-port 0/0
connection plar 200
!
!
! FXO
voice-port 0/1
connection plar 201
!
!
!
!
!
voice service voip
minimize-voip-port multiply 1
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern 100
port 0/0
!
dial-peer voice 2 pots
destination-pattern 101
port 0/1
!
!
!
! Voip peer configuration.
!
dial-peer voice 11 voip
destination-pattern 5740
session target 192.168.0.1
voice-class codec 1
dtmf-relay h245-alphanumeric
!
dial-peer voice 12 voip
destination-pattern 7212
session target 192.168.0.1
voice-class codec 1
dtmf-relay h245-alphanumeric
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.2
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
codec preference 2 g711alaw
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711alaw
!
!
! Tones
voice class clear-down-tone 0 425 0 400 400
!
!
!
!
!
AP200#
|
|