Geniu$$ писал(а):
Конфиги покажите и отключите VAD
в воипных пирах no vad
Связь организована через VPN-тоннель.
Конфига AP200:
Код:
!
version 8.23D
!
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
!
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.4.4 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.4.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 301
!
!
! FXO
voice-port 0/1
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 2 pots
destination-pattern 101
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 1 voip
destination-pattern 301
session target 192.168.2.3
voice-class codec 1
dtmf-relay h245-signal
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.4.4
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g7231r63
codec preference 2 g7231r53
codec preference 3 g729
codec preference 4 g711alaw
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
!
!
! Tones
!
!
!
!
Конфига IP100:Код:
!
! APOS(tm) configuration saved from vty
! 1970/ 1/ 1 00:47:12 !
version 8.41.047
!
hostname IP100
!
username ****** password ********* administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 192.168.2.3 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.2.1
!
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 IP100_G2
!
!
ftp server
http server
!
!
logging event 0-emergency
!
! IP PHONE OSD configuration.
!
osd
language english
network signaling sip
network sscp disable
network lan-dhcp factory
phone lcd-type graphic
phone ring-type 1
phone volume ring 3
phone volume input 10
phone volume output 9
phone volume micbooster disable
phone auto-hook-on disable
phone display-name AP-IP100
phone voice-codec 0
phone dnd-mode silence
phone pbx-mode general
phone auto-answer disable
phone save-mode always
phone forward-status disable
phone conference-status disable
phone factory-default-password NONE
phone factory-default-password-status disable
!
! SSCP configuration.!
!
!
! SSCP Static CM List
sscp
!
! SSCP Dynamic CM List
sscp
!
!
sscp
call-manager broadcast port 8855
logger disable
logger level info
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate disable
h323 call start fast
h323 call tunnel enable
timeout tmohdt 300
!
!
! Voice port configuration.
!
! SPEECH
voice-port 0/0
connection plar 101
!
!
! FXO
voice-port 0/1
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern 301
port 0/0
!
dial-peer voice 10 pots
destination-pattern 9289
!
!
!
! Voip peer configuration.
!
dial-peer voice 2 voip
destination-pattern 101
session target ip 192.168.4.4
voice-class codec 1
no vad
dtmf-relay h245-signal
!
dial-peer voice 100 voip
destination-pattern 9289
session target ip 192.168.5.100
no vad
dtmf-relay h245-alphanumeric
!
dial-peer voice 1001 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 1002 voip
destination-pattern T
session target ras
no vad
dtmf-relay h245-alphanumeric
preference 1
huntstop
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.2.3
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729
codec preference 4 g7231r63
!
voice class codec 1
codec preference 1 g7231r63
codec preference 2 g7231r53
codec preference 3 g729
codec preference 4 g711alaw
!
!
!
! SIP UA configuration.
!
sip-ua
rport enable
fault-tolerance 10 500
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!
!
line console
!
line vty
!
!
sms
quota 30
!