Пример настроек Addpac
Материал из Wiki.sipnet.ru
на основе конфигурационного файла AP200B
! Voice port configuration.
!
! FXS
voice-port 0/0
caller-id enable
caller-id type etsi
!
!
! FXS
voice-port 0/1
caller-id enable
caller-id type etsi
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern {ваш SIP ID}
port 0/0
call-waiting
user-password {ваш пароль}
!
dial-peer voice 1 pots
destination-pattern {ваш SIP IP}
port 0/1
call-waiting
user-password {ваш пароль}
!
!
!
! Voip peer configuration.
!
dial-peer voice 16 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 711
dtmf-relay rtp-2833 (или info)
!
!
! Codec classes configuration.
!
voice class codec 711
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729
!
!
!
! SIP UA configuration.
!
sip-ua
sip-server sipnet.ru
srv enable
register e164
timeout treg 600