Поскольку тема в разделе VOIP, ручь разумеется о голосе.
Прочёл кучу манов в инэте, в том числе на данном форуме и в практически таких же темах. Решения не подходят.
Я понимаю что косяк в моих действиях, но елси бы я знал как сделать правильно, этой темы не было бы.
Увы, на CVOICE не учился(но надеюсь, что отправят). В VOIP полный ноль в контексте именно кошек.
Вот что придумал на cisco 5350 исходя из найденого материала:
Код:
loctel_voip#sh run
Building configuration...
Current configuration : 10516 bytes
!
! Last configuration change at 12:36:25 YSK Sat Feb 13 2010 by scorpion
! NVRAM config last updated at 19:01:10 YSK Thu Feb 11 2010 by scorpion
!
version 12.4
!
! кусок ниже сконфигурирован сторонним специалистом, когда поднимался Trixbox
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711alaw
h323
modem passthrough none codec g729r8 pre-ietf
sip
!
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g723r63
codec preference 3 g723r53
codec preference 4 g711alaw
codec preference 5 g711ulaw
!
voice class codec 2
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
codec preference 4 g723r63
codec preference 5 g723r53
!
voice class codec 3
codec preference 1 g729r8
! этот кусочек, про bgvoip-debitcard уже мой
service bgvoip-debitcard tftp://172.16.20.1/cisco/debitcard.tcl
paramspace russian location tftp:/172.16.20.1/cisco/prompts/ru
paramspace russian prefix ru
param uid-len 8
paramspace russian language ru
paramspace russian index 0
param pin-len 8
!
!
controller E1 3/0
framing NO-CRC4
pri-group timeslots 1-31
description # E1 - First #
!
controller E1 3/1
!
controller E1 3/2
!
controller E1 3/3
gw-accounting aaa
!
!
voice-port 3/0:D
cptone RU
bearer-cap Speech
!
mgcp
!
!
dial-peer voice 10 pots
description # Trunk E1 #
destination-pattern 9T
progress_ind progress enable 8
progress_ind connect enable 1
progress_ind disconnect enable 8
direct-inward-dial
port 3/0:D
no register e164
!
dial-peer voice 20 voip
destination-pattern 44158[4-9]
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
fax rate 9600
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
!
dial-peer voice 21 voip
destination-pattern 44159[1-8]
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 22 voip
destination-pattern 44238[4-9]
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 23 voip
destination-pattern 44239[0-6]
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 24 voip
destination-pattern 44239[8-9]
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 25 voip
destination-pattern 555
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 26 voip
destination-pattern 449809
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 27 voip
destination-pattern 449844
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 28 voip
destination-pattern 449999
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
!
dial-peer voice 30 voip
service debit
voice-class codec 2
incoming called-number 455555
dtmf-relay rtp-nte
fax rate 9600
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
!
dial-peer voice 45 voip
destination-pattern 4545
voice-class codec 2
session protocol sipv2
session target ipv4:192.168.33.144
dtmf-relay rtp-nte
fax rate 9600
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
!
! ниже 3 диалпира мои тестовые
dial-peer voice 1 pots
service bgvoip-debitcard
incoming called-number 441590
direct-inward-dial
!
dial-peer voice 2 voip
service bgvoip-debitcard
incoming called-number 441590
!
dial-peer voice 46 voip
service bgvoip-debitcard
destination-pattern 441590
voice-class codec 2
!
!
gateway
timer receive-rtp 1200
!
sip-ua
!
ss7 mtp2-variant Bellcore 0
ss7 mtp2-variant Bellcore 1
ss7 mtp2-variant Bellcore 2
ss7 mtp2-variant Bellcore 3
!
line con 0
line aux 0
line vty 0 4
exec-timeout 30 0
!
scheduler allocate 10000 400
ntp clock-period 17207314
ntp server 194.137.39.68
ntp server 128.100.100.128
ntp server 149.156.4.11
ntp server 130.235.20.3
ntp server 145.238.2.24
end
Исходные данные:
1. TFTP прекрасно работает, доступ есть.
2. При отсутствии dial-peer voice 46 voip звонок на циску не отображается в sh isdn history. Из чего я сделал вывод(может и неправильный), что он пдолжен быть.
3. При звонке на номер идёт занятость.