Пример настроек Addpac: различия между версиями

Материал из alloincognito
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
 
Строка 28: Строка 28:
  !  
  !  
  dial-peer voice 1 pots
  dial-peer voice 1 pots
   destination-pattern {ваш SIP ID}
   destination-pattern 0051000001
   port 0/1  
   port 0/1  
   call-waiting
   call-waiting

Текущая версия от 12:50, 30 мая 2013

  на основе конфигурационного файла 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 0051000001
 port 0/0 
 call-waiting
 user-password {ваш пароль}
! 
dial-peer voice 1 pots
 destination-pattern 0051000001
 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
!
!
! 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 sip.alloincognito.ru 
 register e164
 timeout treg 180
 rport enable (при работе за NAT)
 srv enable (если нет проблем с DNS)
 signaling-port 5070 (если нужно использовать нестандартный порт)