Пример настроек Addpac: различия между версиями
Перейти к навигации
Перейти к поиску
Aromanov (обсуждение | вклад) (Новая страница: « на основе конфигурационного файла AP200B <br> ! Voice port configuration. ! ! FXS voice-port 0/0 caller-id enable …») |
Aromanov (обсуждение | вклад) Нет описания правки |
||
| (не показана 1 промежуточная версия этого же участника) | |||
| Строка 22: | Строка 22: | ||
! | ! | ||
dial-peer voice 0 pots | dial-peer voice 0 pots | ||
destination-pattern | destination-pattern 0051000001 | ||
port 0/0 | port 0/0 | ||
call-waiting | call-waiting | ||
| Строка 28: | Строка 28: | ||
! | ! | ||
dial-peer voice 1 pots | dial-peer voice 1 pots | ||
destination-pattern | destination-pattern 0051000001 | ||
port 0/1 | port 0/1 | ||
call-waiting | call-waiting | ||
| Строка 57: | Строка 57: | ||
! | ! | ||
sip-ua | sip-ua | ||
sip-server | sip-server sip.alloincognito.ru | ||
register e164 | register e164 | ||
timeout treg 180 | timeout treg 180 | ||
Текущая версия от 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 (если нужно использовать нестандартный порт)