Denis писал(а):
Пришлите конфигурацию. Так трудно что то конкретное сказть по этому вопросу.
Код:
!
! APOS(tm) configuration saved from vty
! 1970/ 1/ 1 00:14:30 !
version 8.41.042
!
hostname AP100
!
username root password router administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 192.168.0.12 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.0.10 10
!
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 AP100_G2
!
!
ftp server
http server
!
!
dns name-server 192.168.0.10
logging event 0-emergency
!
!
!
!
! 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.
!
! FXS
voice-port 0/0
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 270014
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 0
vad
no dtmf-relay
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.12
public-ip хххххххх
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g7231r63
codec preference 2 g729
codec preference 3 g711ulaw
codec preference 4 g711alaw
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-username хххххх
sip-password ххххххх
sip-server хххххххх
register e164
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!
!
line console
!
line vty
!
вот