Здравствуйте.
Имеется сервер доступа Cisco as5350, который через PRI-порты подключен к телефонной АТС.
В свою очередь установлен VoIP-gateway D-Link DVG-2024S.
Задачей является настройка циски для полноценной работы VoIP-шлюза, тоесть чтоб номера Длинка проходили через Циску на АТС, и обратно.
На Длинке прописывается 24 номера телефона, и он имеет 24 аналоговых выхода для телефонных апаратов.
Через езернет Длинк имеет выход на Циско AS5350.Какие диалпиры, диалгруппы, и остальные настройки надо сделать на Cisco as5350?
Для Длинка я нашел мануалы примерные:
http://www.dlink.ru/ru/faq/95/544.html
http://www.dlink.ru/ru/faq/95/546.htmlа вот с оборудованием Циско возникают проблемы.
>[оверквотинг удален]
> Задачей является настройка циски для полноценной работы VoIP-шлюза, тоесть чтоб номера
> Длинка проходили через Циску на АТС, и обратно.
> На Длинке прописывается 24 номера телефона, и он имеет 24 аналоговых выхода
> для телефонных апаратов.
> Через езернет Длинк имеет выход на Циско AS5350.
> Какие диалпиры, диалгруппы, и остальные настройки надо сделать на Cisco as5350?
> Для Длинка я нашел мануалы примерные:
> http://www.dlink.ru/ru/faq/95/544.html
> http://www.dlink.ru/ru/faq/95/546.html
> а вот с оборудованием Циско возникают проблемы.D-LINK ратотает по SIP-протоколу.
Но SIP-сервера для авторизации нету. И подключаться будут аналоговые телефоны, поэтому задача состоит чтоб пробросить телефонные номера с Длинка через Циску на АТС, и обратно.
>[оверквотинг удален]
>> Через езернет Длинк имеет выход на Циско AS5350.
>> Какие диалпиры, диалгруппы, и остальные настройки надо сделать на Cisco as5350?
>> Для Длинка я нашел мануалы примерные:
>> http://www.dlink.ru/ru/faq/95/544.html
>> http://www.dlink.ru/ru/faq/95/546.html
>> а вот с оборудованием Циско возникают проблемы.
> D-LINK ратотает по SIP-протоколу.
> Но SIP-сервера для авторизации нету. И подключаться будут аналоговые телефоны, поэтому
> задача состоит чтоб пробросить телефонные номера с Длинка через Циску на
> АТС, и обратно.В общем ситуация следующая, получается проделать звонок с телефона DVG-2024S на телефон АТС.
Но АТС не определяет номер звонящего, хотя Циска показывает в логах и номер звонящего и номер куда звонят.
Кроме того, при звонке с номеров АТС, попадаю не на телефон DVG-2024S, а на диалапный модем Циски, который "поднимает трубку".Я не могу толком понять, что правильно в конфиге , а что нет.
Но выложу кусок конфига, и все возможные дебаги, которые я произвел.
Надеюсь на помощь:
TTAS5350#sh isd hi
--------------------------------------------------------------------------------
ISDN CALL HISTORY
--------------------------------------------------------------------------------
Call History contains all active calls, and a maximum of 100 inactive calls.
Inactive call data will be retained for a maximum of 15 minutes.
--------------------------------------------------------------------------------
Call Calling Called Remote Seconds Seconds Seconds Charges
Type Number Number Name Used Left Idle Units/Currency
--------------------------------------------------------------------------------
Out 450005 450911 6 0
--------------------------------------------------------------------------------TTAS5350#sh call his voice brief
3B54 : 23523 475592162ms.23522 +1 pid:10001 Answer 450005
dur 00:00:00 tx:185/31532 rx:102/14649 10 (normal call clearing (16))
IP 192.168.180.201:9000 SRTP: off rtt:0ms pl:2000/0ms lost:0/1/0 delay:60/60/100ms g711alaw
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
3B56 : 23526 475662392ms.23523 +1 pid:10002 Originate 450000
dur 00:00:00 tx:134/21122 rx:145/23200 10 (normal call clearing (16))
Telephony 3/1:D (23526) [3/1.17] tx:1450/1000/0ms g711alaw noise:-83dBm acom:63dBm3B56 : 23525 475662352ms.23524 +1 pid:10001 Answer 450005
dur 00:00:00 tx:145/24712 rx:138/21762 10 (normal call clearing (16))
IP 192.168.180.201:9000 SRTP: off rtt:0ms pl:1000/0ms lost:0/1/0 delay:105/105/105ms g711alaw
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
3B58 : 23527 475676752ms.23525 pid:10001 Answer 450005
dur 00:00:06 tx:465/79272 rx:324/50327 10 (normal call clearing (16))
IP 192.168.180.201:9000 SRTP: off rtt:0ms pl:7000/0ms lost:0/1/0 delay:55/50/95ms g711alaw
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
3B58 : 23528 475676792ms.23526 pid:10002 Originate 450911
dur 00:00:06 tx:320/49687 rx:465/74400 10 (normal call clearing (16))
Telephony 3/1:D (23528) [3/1.18] tx:6200/3000/0ms g711alaw noise:-46dBm acom:15dBm
TTAS5350#sh call his voice compact
<callID> A/O FAX T<sec> Codec type Peer Address IP R<ip>:<udp> disc-cause
23518 ORG T0 g729br8 TELE P450005 D10
23517 ANS T0 g729br8 VOIP P450005 192.168.180.201:9000 D10
23520 ORG T0 g729br8 TELE P0965163355 D10
23519 ANS T0 g729br8 VOIP P450005 192.168.180.201:9000 D10
23522 ORG T2 g729br8 TELE P450911 D10
23521 ANS T2 g729br8 VOIP P450005 192.168.180.201:9000 D10
23524 ORG T0 g711alaw TELE P0965163355 D10
23523 ANS T0 g711alaw VOIP P450005 192.168.180.201:9000 D10
23526 ORG T0 g711alaw TELE P450000 D10
23525 ANS T0 g711alaw VOIP P450005 192.168.180.201:9000 D10
23527 ANS T6 g711alaw VOIP P450005 192.168.180.201:9000 D10
23528 ORG T6 g711alaw TELE P450911 D10
Total call-legs: 12
и кусок конфига:resource-pool profile customer MODEMS
limit base-size all
limit overflow-size 0
resource group1 speech
dnis group group1
!
resource-pool profile customer VoIP
limit base-size all
limit overflow-size 0
resource group1 speech
dnis group group2voice service voip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
h323
!
!
voice class codec 3031
codec preference 1 g729r8
codec preference 2 g711alaw
codec preference 3 g729br8
codec preference 4 g723r63
codec preference 5 g723r53
codec preference 6 g723ar63
codec preference 7 g723ar53
codec preference 8 g711ulaw
!
!
!
voice class h323 1
!
controller E1 3/0
framing NO-CRC4
pri-group timeslots 1-31
!
controller E1 3/1
framing NO-CRC4
pri-group timeslots 1-31
description 815
!
translation-rule 380
Rule 0 ^1% 3801
Rule 1 ^2% 3802
Rule 2 ^3% 3803
Rule 3 ^4% 3804
Rule 4 ^5% 3805
Rule 5 ^6% 3806
Rule 6 ^7% 3807
Rule 7 ^80% 380
Rule 8 ^9% 3809
!
!
translation-rule 380322
Rule 0 ^03221% 1
Rule 1 ^03222% 2
Rule 2 ^03223% 3
Rule 3 ^03224% 4
Rule 4 ^03225% 5
Rule 5 ^03226% 6
Rule 6 ^03227% 7
Rule 7 ^03228% 8
Rule 8 ^03229% 9
!
!
interface Serial3/0:15
no ip address
dialer rotary-group 1
isdn switch-type primary-net5
isdn incoming-voice modem 64
isdn map address .* plan isdn type unknown
isdn calling-number 450000
isdn send-alerting
isdn sending-complete
no isdn gtd
!
interface Serial3/1:15
no ip address
ip mroute-cache
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice modem
isdn guard-timer 20000 on-expiry accept
isdn map address .* plan isdn type national
isdn negotiate-bchan resend-setup
isdn bchan-number-order ascending round-robin
isdn sending-complete
isdn outgoing-voice info-transfer-capability 3.1kHz-audio
no fair-queue
no cdp enable
!
interface Async1/30
no ip address
!
interface Async1/31
no ip address
!
interface Async1/32
no ip address
!
interface Async1/33
no ip address
!
interface Async1/34
no ip address
!
interface Async1/35
no ip address
!
interface Async1/36
no ip address
!
interface Async1/37
no ip address
!
interface Async1/38
no ip address
!
interface Async1/39
no ip address
!
interface Async1/40
no ip address
!
interface Async1/41
no ip address
!
interface Async1/42
no ip address
!
interface Async1/43
no ip address
!
interface Async1/44
no ip address
!
interface Async1/45
no ip address
!
interface Async1/46
no ip address
!
interface Async1/47
no ip address
!
interface Async1/48
no ip address
!
interface Async1/49
no ip address
!
interface Async1/50
no ip address
!
interface Async1/51
no ip address
!
interface Async1/52
no ip address
!
interface Async1/53
no ip address
!
interface Async1/54
no ip address
!
interface Async1/55
no ip address
!
interface Async1/56
no ip address
!
interface Async1/57
no ip address
!
interface Async1/58
no ip address
!
interface Async1/59
no ip address
!
interface Dialer1
no ip address
!
interface Dialer2
no ip address
!
interface Group-Async0
no ip address
no group-range
!
interface Group-Async1
ip unnumbered FastEthernet0/0
ip broadcast-address 0.0.0.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1400
no ip mroute-cache
dialer in-band
dialer idle-timeout 18000
dialer-group 1
async dynamic address
async dynamic routing
async mode interactive
peer default ip address pool one
keepalive 30 3
ppp authentication pap chap ms-chap
group-range 1/00 1/29
!!
dialer dnis group group1
number 450000
call-type cas speech
!
dialer dnis group group2
number 380322450005
number 450005
number 0xxxxxxxxx
number 00xxxxxxxxx
number 00xxxxxxxxxxxxxxxx
number 00xxxxxxxxxx
number 00xxxxxxxxxxxx
number 00xxxxxxxxxxxxx
number 00xxxxxxxxxxxxxx
number 00xxxxxxxxxxxxxxx
number 380322450171
number 380322450169
number 380322450168
number 450169
number 450168
number 450171
number 8063xxxxxxx
number 8097xxxxxxx
number 8096xxxxxxx
number 8050xxxxxxx
number 8066xxxxxxx
number 8095xxxxxxx
number 810xxxxxxxxxxxx
number 810xxxxxxxxx
number 810xxxxxxxxxx
number 810xxxxxxxxxxx
number 810xxxxxxxxxxxxx
number 810xxxxxxxxxxxxxx
number 810xxxxxxxxxxxxxxx
number 810xxxxxxxxxxxxxxxx
number 00xxxxxxxxxxx
number 380322450006
number 380322450159
call-type cas speech
dialer-list 1 protocol ip permit!
voice-port 3/0:D
disc_pi_off
cptone RU
description DIAL-UP port
bearer-cap Speech
!
voice-port 3/1:D
input gain 2
output attenuation -2
echo-cancel coverage 32
cptone RU
bearer-cap 3100Hz
!
!
!
dial-peer voice 10003 pots
description call to pbx
max-conn 8
incoming called-number 380322450005
no digit-strip
direct-inward-dial
port 3/1:D
forward-digits all
!
dial-peer voice 10004 voip
description call to pbx
destination-pattern 380322450005
voice-class codec 3031
session target ipv4:192.168.180.201
dtmf-relay h245-alphanumeric
!
dial-peer voice 10002 pots
description calls with ippbx
huntstop
destination-pattern 0.........$
translate-outgoing called 380322
direct-inward-dial
port 3/1:D
forward-digits all
!
dial-peer voice 10001 voip
description calls with ippbx
voice-class codec 3031
incoming called-number 0.........$
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 4 pots
service data_dialpeer
incoming called-number 380322450005
!
dial-peer voice 5 pots
service data_dialpeer
incoming called-number 450005
!
dial-peer voice 7 voip
destination-pattern .T
voice-class codec 3031
session target ipv4:192.168.180.201
!
Ясно.
Видимо никаких вариантов у людей нету по этому поводу.Кроме того у меня одностонняя слышимость при звонке на номер АТС.