26xx-28xx: различия между версиями
Перейти к навигации
Перейти к поиску
Aromanov (обсуждение | вклад) Нет описания правки |
Aromanov (обсуждение | вклад) Нет описания правки |
||
| Строка 31: | Строка 31: | ||
sip-ua | sip-ua | ||
authentication username 0051000001 password {password} | authentication username 0051000001 password {password} | ||
calling-info pstn-to-sip from number set | calling-info pstn-to-sip from number set 0051000001 | ||
registrar dns:sip.alloincognito.ru:5060 expires 600 | registrar dns:sip.alloincognito.ru:5060 expires 600 | ||
sip-server dns:sip.alloincognito.ru | sip-server dns:sip.alloincognito.ru | ||
Текущая версия от 13:38, 30 мая 2013
Требуется IOS 12.3(8)T или новее.
Работоспособная конфигурация. Вместо 0051000001 и {password} нужно указать свои 0051000001 и пароль, вместо "?" - свои реальные значения.
!
voice rtp send-recv
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
dial-peer voice 1 pots
answer-address 0051000001
destination-pattern 0051000001
port ?
!
dial-peer voice 2 pots
description Inbound from Telephony
incoming called-number ?
direct-inward-dial
!
dial-peer voice 0051000001 voip
description Outbound to sip.alloincognito.ru
destination-pattern ?
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
no vad
!
sip-ua
authentication username 0051000001 password {password}
calling-info pstn-to-sip from number set 0051000001
registrar dns:sip.alloincognito.ru:5060 expires 600
sip-server dns:sip.alloincognito.ru
!