26xx-28xx
Версия от 13:38, 30 мая 2013; Aromanov (обсуждение | вклад)
Требуется 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
!