AP200E

Материал из wiki.sipnet.ru
Перейти к: навигация, поиск

AddPac AP200E Голосовой шлюз

Настройка

Устройство настраивается через порт RS232.


Пример файла конфигурации

!
version 8.23I
!
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 dhcp
!
interface ether1.0
 no ip address
 ip dhcp-group 0
!
snmp name AP200E 
snmp enable-trap dn-register 300
!
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. 
! 
! FXO 
voice-port 0/0 
 no caller-id enable 
! 
! 
! FXS 
voice-port 0/1 
 no caller-id enable 
! 
! 
! 
! 
! Pots peer configuration. 
! 
dial-peer voice 0 pots
 destination-pattern SIPID
 port 0/1 
! 
! 
! 
! Voip peer configuration. 
! 
dial-peer voice 1001 voip 
 destination-pattern T 
 session target sip-server  
 session protocol sip 
 voice-class codec 0 
 dtmf-relay rtp 
 no vad
 huntstop
! 
! 
! 
dial-peer ipaddr-prefix n 
dial-peer call-hold h 
dial-peer call-transfer h 
! 
! 
! 
! Gateway configuration. 
! 
gateway 
 h323-id voip.192.168.130.23 
 no ignore-msg-from-other-gk 
! 
! 
! Codec classes configuration. 
! 
voice class codec 0 
 codec preference 1 g711alaw 
 codec preference 2 g729 
! 
! 
! 
! SIP UA configuration. 
! 
sip-ua 
 sip-username SIPID
 sip-password *********
 sip-server sipnet.ru 
 srv enable
 register e164 
! 
! 
! MGCP configuration. 
! 
mgcp 
 codec g711ulaw 
 vad 
! 
! 
! Tones 
!
! 
! 
!