Yuri писал(а):
Про sip
Большое спасибо! Всё заработало, ума мало у меня, по этому и не понял сразу, только что добавил те строчки что вы написали и всё пошло. Большое Вам Спасибо!
Вот мой конфиг на 1 порт пока только настроил.
Using 1716 out of 130868 bytes
!
version 8.234
!
hostname AP1100
!
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.1.100 255.255.255.0
!
interface ether1.0
no ip address
!
snmp name AP1100-FXS8
!
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
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
connection plar 603
!
!
! FXS
voice-port 0/1
!
!
! FXS
voice-port 0/2
!
!
! FXS
voice-port 0/3
!
!
! FXS
voice-port 1/0
!
!
! FXS
voice-port 1/1
!
!
! FXS
voice-port 1/2
!
!
! FXS
voice-port 1/3
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 703 pots
destination-pattern 703
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 603 voip
destination-pattern T
session target 192.168.1.4
session protocol sip
dtmf-relay rtp-2833
!
dial-peer voice 1000 voip
dtmf-relay h245-alphanumeric
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.1.100
!
!
! 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