AF
Asterisk Forum
обсуждения телефонии, VoIP и IP-PBX
12разделов
5 423тем
34 385сообщений
← К списку тем

Cisco 5350 SIP to H323

Оборудование 16 сообщений -
#1

День добрый всем.
Решил попробовать сконвертить протоколы на Cisco AS5350 IOS Version 12.3(14)T2.
Хочу сконвертить SIP в H323. Всё конвертит, но есть проблема, циска может ли конвертить кодеки, просто получается по сипу входит 711alaw, а в h323 очень хочется отправить 729, но при поднятии трубки идёт разрыв связи по 127 причине.
Если на исходящую ставлю только 723, то с той стороны снимается трубка, а я продолжаю слыщать алертинг.

Вот конфиги
!
voice service voip
allow-connections h323 to sip
allow-connections sip to h323
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
h323
!
!
voice class codec 10
codec preference 1 g723r53 bytes 60
codec preference 2 g723r63 bytes 48
codec preference 3 g729r8 bytes 60
codec preference 4 g729br8 bytes 60
codec preference 5 g726r16 bytes 60
!

!
dial-peer voice 357008 voip
huntstop
preference 1
session protocol sipv2
incoming called-number 357008T
codec g711alaw
!
dial-peer voice 3570080 voip
translation-profile outgoing SIPTOH323
huntstop
preference 1
destination-pattern 357008T
session target ipv4:192.168.19.5
voice-class codec 10
!

Лог звонка
B69 : 559750 -931015026ms.530948 +-1 +4250 pid:357008 Answer 942028
dur 00:00:00 tx:0/0 rx:0/0 7F (interworking (127))
IP 192.168.11.18:15998 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711alaw
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
B69 : 559751 -931015016ms.530949 +4220 +4430 pid:3570080 Originate 87272505050
dur 00:00:00 tx:0/0 rx:0/0 7F (interworking (127))
IP 192.168.19.5:24992 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf
media inactive detected:n media contrl rcvd:n/a timestamp:n/a

Можно кодеки сконвертить? Пока не нашёл как это сделать, прошу помочь в этом.
#2

Код:

1. enable
2. configure terminal
3. voice-card slot
4. dsp services dspfarm
5. exit
6. dspfarm profile profile-identifier {conference | mtp | transcode [universal]}
7. description text
8. codec codec-type
9. maximum sessions number


http://www.cisco.com/en/US/docs/ios/12_4 ... unitr.html
#3

card.metronet.kz(config)#voice-card slot
^
% Invalid input detected at '^' marker.

Менять IOS?
#4

внимательней читать Smile
voice-card slot = voice-card
#5

#conf t
#?
......
vlan VLAN commands
voice Global voice configuration
voice-port Configure a specific voice-port
voicecap Add a voicecap entry
voip-incoming Global incoming VoIP configuration
vpdn Virtual Private Dialup Network
....
Нету.
Какой IOS посоветуете.
#6

а sh diag команда есть? и за одно sh run


p.s. если есть VPDN модули то должен быть
иос не ниже 12.2(13)T, plus feature set for voice (у вас он выше)
#7

show diag
Slot 0:
AS5350 Motherboard
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x32,
Board Hardware Version 3.34, Item Number 800-5171-02,
Board Revision C0, Serial Number JAE091281XB,
PLD/ISP Version 2.2, Manufacture Date 16-Mar-2005.
RMA Number1 , RMA Number2
EEPROM format version 0x1
EEPROM contents (hex):
0x00: 00 01 01 32 03 22 03 20 00 14 33 02 43 00 4A 41
0x10: 45 30 39 31 32 38 31 58 42 00 00 00 00 00 14 05
0x20: 03 10 02 02 FF FF FF FF FF FF FF FF FF FF FF FF
0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x40: 14 00 13 19 45 DE A2 01 00 50 FF FF FF FF FF FF
0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FRU NUMBER : AS5350

Slot 1:
DFC type is AS5350 NP60 DFC

OIR events:
Number of insertions = 0, Number of removals = 0
DFC State is DFC_S_OPERATIONAL

Error events (Bus errors, PCI errors):
Number of errors recovered = 0

DFC Cookie Info:
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x07,
Board Hardware Version 1.0, Item Number 73-5269-01,
Board Revision A1, Serial Number JAE0919BQYU,
PLD/ISP Version , Manufacture Date 2-May-2005.
RMA Number1 , RMA Number2
EEPROM format version 0x1
EEPROM contents (hex):
0x00: 00 01 01 07 01 00 00 49 00 14 95 01 41 01 4A 41
0x10: 45 30 39 31 39 42 51 59 55 00 00 00 00 00 14 05
0x20: 05 02 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FRU NUMBER : AS54-DFC-60NP=
Carrier Card Master PLD/FPGA Rev 0x0004

Tulum PLD Rev 0x001A

PCI configuration Registers:
Register Name Register Offset Value
------------- --------------- -----
Vendor ID 0x00 0x1137
Device ID 0x02 0x0000
Command 0x04 0x01C6
Status 0x06 0x0400
Revision ID 0x08 0x1A
Programming Interf 0x09 0x00
Sub-Class/Base-Class 0x0A 0x0680
Latency Timer 0x0C 0x00
Header Type 0x0E 0x00
Base Addr 0 0x10 0x40000000
Base Addr 1 0x14 0x00000000
Subsystem Vendor ID 0x2C 0x00000000
Interrupt Line 0x3C 0xFF
Interrupt Pin 0x3D 0x01
Min Grant 0x3E 0x00
Max Latency 0x3F 0x00

Slot 2:
DFC type is AS5350 Empty DFC
DFC is not powered

OIR events:
Number of insertions = 0, Number of removals = 0

Error events (Bus errors, PCI errors):
Number of errors recovered = 0

Carrier Card Cookie Info:
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x4D,
Board Hardware Version 4.4, Item Number 73-3997-04,
Board Revision A0, Serial Number JAE0920CGR5,
PLD/ISP Version 2.2, Manufacture Date 10-May-2005.
RMA Number1 , RMA Number2
EEPROM format version 0x1
EEPROM contents (hex):
0x00: 00 01 01 4D 04 04 00 49 00 0F 9D 04 41 00 4A 41
0x10: 45 30 39 32 30 43 47 52 35 00 00 00 00 00 14 05
0x20: 05 0A 02 02 FF FF FF FF FF FF FF FF FF FF FF FF
0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Carrier Card Master PLD/FPGA Rev 0x0001

Tulum PLD Rev 0x001A

Slot 3:
DFC type is AS5350 E1 2 PRI DFC

OIR events:
Number of insertions = 0, Number of removals = 0
DFC State is DFC_S_OPERATIONAL

Error events (Bus errors, PCI errors):
Number of errors recovered = 0

Carrier Card Cookie Info:
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x4D,
Board Hardware Version 4.4, Item Number 73-3997-04,
Board Revision A0, Serial Number JAE0920CGR5,
PLD/ISP Version 2.2, Manufacture Date 10-May-2005.
RMA Number1 , RMA Number2
EEPROM format version 0x1
EEPROM contents (hex):
0x00: 00 01 01 4D 04 04 00 49 00 0F 9D 04 41 00 4A 41
0x10: 45 30 39 32 30 43 47 52 35 00 00 00 00 00 14 05
0x20: 05 0A 02 02 FF FF FF FF FF FF FF FF FF FF FF FF
0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
DFC Cookie Info:
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x0A,
Board Hardware Version 2.7, Item Number 73-5268-03,
Board Revision A0, Serial Number JAE0917AEPW,
PLD/ISP Version , Manufacture Date 19-Apr-2005.
RMA Number1 , RMA Number2
EEPROM format version 0x1
EEPROM contents (hex):
0x00: 00 01 01 0A 02 07 00 49 00 14 94 03 41 00 4A 41
0x10: 45 30 39 31 37 41 45 50 57 00 00 00 00 00 14 05
0x20: 04 13 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FRU NUMBER : AS54-DFC-2CE1=
Trunk DFC Info:
PLD Version 0x9, PLX9054 Revision 0xC,
Boot ROM Version 0x2.

Carrier Card Master PLD/FPGA Rev 0x0001

Tulum PLD Rev 0x001A

PCI configuration Registers:
Register Name Register Offset Value
------------- --------------- -----
Vendor ID 0x00 0x1137
Device ID 0x02 0x0000
Command 0x04 0x01C6
Status 0x06 0x0400
Revision ID 0x08 0x1A
Programming Interf 0x09 0x00
Sub-Class/Base-Class 0x0A 0x0680
Latency Timer 0x0C 0x00
Header Type 0x0E 0x00
Base Addr 0 0x10 0x40000000
Base Addr 1 0x14 0x00000000
Subsystem Vendor ID 0x2C 0x00000000
Interrupt Line 0x3C 0xFF
Interrupt Pin 0x3D 0x01
Min Grant 0x3E 0x00
Max Latency 0x3F 0x00

Added after 11 minutes:

show run
#show running-config
Building configuration...

Current configuration : 15883 bytes
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname card.metronet.kz
!
boot-start-marker
no boot startup-test
boot-end-marker
!
enable secret 5 jdjdjdjdjdjd
enable password 7 jdjdjdjdjdjd
!
!
!
resource-pool disable
aaa new-model
!
!
aaa group server radius rad02
server 192.168.1.22 auth-port 1635 acct-port 1636
!
aaa authentication login default local
aaa authentication login h323 group rad02
aaa authentication login DIALIN group rad02
aaa authentication login VTY local
aaa authentication login CONSOLE local
aaa authentication login AUX local
aaa authentication ppp default group rad02
aaa authorization exec default local if-authenticated group rad02
aaa authorization exec h323 group rad02
aaa authorization network default group rad02
aaa accounting suppress null-username
aaa accounting update periodic 1
aaa accounting network default start-stop group rad02
aaa accounting network h323 start-stop group rad02
aaa accounting connection h323 start-stop group rad02
aaa accounting resource h323 start-stop group rad02
!
aaa pod server auth-type any server-key isdisisis
aaa session-id common
!
resource policy
!
clock timezone kzt 6
clock summer-time KDT recurring last Sun Mar 2:00 last Sun Oct 2:00
spe default-firmware spe-firmware-1
ip subnet-zero
no ip rcmd domain-lookup
ip rcmd rsh-enable
ip rcmd remote-host Router 192.168.1.22 cherry enable
ip rcmd source-interface FastEthernet0/1
!
!
ip cef
ip name-server 192.168.1.1
ip name-server 80.122.174.185
no ip dhcp use vrf connected
!
!
async-bootp dns-server 192.168.1.1 80.122.174.185
isdn switch-type primary-net5
chat-script dial "" "ATDT\T" TIMEOUT 120 CONNECT \p
chat-script offhook "" "ATH1" OK
chat-script callback ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T" TIMEOUT 60 CONNECT \c
!
!
voice service pots
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
!
voice service voip
allow-connections h323 to sip
allow-connections sip to h323
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
h323
!
!
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g726r16
codec preference 3 g723r53
codec preference 4 g711ulaw
codec preference 5 g711alaw
!
voice class codec 2
codec preference 1 g729r8
!
voice class codec 3
codec preference 1 g729r8 bytes 40
codec preference 2 g729br8 bytes 40
codec preference 3 g723r53
codec preference 4 g726r16
codec preference 5 g711alaw
codec preference 6 g711ulaw
!
voice class codec 4
codec preference 1 g711alaw
codec preference 2 g711ulaw
!
voice class codec 5
codec preference 1 g723r53
codec preference 2 g723r63
!
voice class codec 10
codec preference 1 g723r53 bytes 60
codec preference 2 g723r63 bytes 48
codec preference 3 g729r8 bytes 60
codec preference 4 g729br8 bytes 60
codec preference 5 g726r16 bytes 60
!
!
!
voice class h323 1
call start fast
no telephony-service ccm-compatible
ccm-compatible
!
voice class h323 2
call start slow
!
!
!
!
!
!
voice translation-rule 1
rule 1 /^8/ /7/
!
voice translation-rule 2
rule 1 /^357008/ /8/
!
!
voice translation-profile SIPTOH323
translate calling 2
translate called 2
translate redirect-called 2
!
voice translation-profile TO_CITY
translate calling 1
translate called 1
translate redirect-called 1
!
!
!
application
service fixed flash:/cherry_fixed.tcl
paramspace russian location tftp://192.168.1.71/ru/
param uid-len 6
paramspace english location tftp://192.168.1.71/ru/
paramspace russian prefix ru
param pin-len 6
paramspace russian language ru
paramspace russian index 1
!

!
!
!
username cisco password 7 idididdidi
!
!
controller E1 3/0
framing NO-CRC4
pri-group timeslots 1-31
!
controller E1 3/1
framing NO-CRC4
pri-group timeslots 1-31
gw-accounting aaa
!
!
interface Loopback0
no ip address
!
interface FastEthernet0/0
no ip address
ip access-group signaling in
duplex full
speed 100
!
interface FastEthernet0/0.2
description vlan2_reserv_link
encapsulation dot1Q 2
ip address 192.168.11.35 255.255.255.0
ip access-group signaling in
no snmp trap link-status
!
interface FastEthernet0/0.4
description Link_Inet
encapsulation dot1Q 4
ip address 192.168.18.35 255.255.255.0
no snmp trap link-status
!
interface FastEthernet0/0.5
description vlan5_optica
encapsulation dot1Q 5
ip address 192.168.19.35 255.255.255.0
no snmp trap link-status
!
interface FastEthernet0/0.10
shutdown
!
interface FastEthernet0/0.41
description VLAN10 Lazha
encapsulation dot1Q 41
ip address 192.168.14.35 255.255.255.252
ip access-group 130 out
no snmp trap link-status
!
interface FastEthernet0/0.666
description Valn_666 Officce_Link
encapsulation dot1Q 666
ip address 192.168.13.35 255.255.255.0 secondary
ip address 192.168.13.35 255.255.255.0
no snmp trap link-status
!
interface FastEthernet0/1
ip address 192.168.1.65 255.255.255.0
ip access-group signaling in
duplex full
speed 100
h323-gateway voip interface
!
interface FastEthernet0/1.10
shutdown
!
interface Serial0/0
no ip address
shutdown
clockrate 2000000
!
interface Serial0/1
no ip address
shutdown
clockrate 2000000
!
interface Serial3/0:15
no ip address
isdn switch-type primary-net5
isdn not-end-to-end 64
isdn incoming-voice modem
isdn map address .* plan isdn type national
isdn T306 60000
isdn T310 60000
isdn sending-complete
no cdp enable
!
interface Serial3/1:15
no ip address
isdn switch-type primary-net5
isdn not-end-to-end 64
isdn incoming-voice modem
isdn map address .* plan isdn type national
isdn T306 60000
isdn T310 60000
isdn sending-complete
no cdp enable
!
interface Dialer1
no ip address
dialer in-band
dialer-group 1
!
interface Group-Async0
description Dial-In:942099
ip unnumbered FastEthernet0/0
ip access-group FOR_DIALUP out
encapsulation ppp
ip tcp header-compression
async mode interactive
peer default ip address pool default
keepalive 10 3
ppp callback accept
ppp authentication pap
group-range 1/00 1/59
!
control-plane
!
!
!
voice-port 3/0Very Happy
input gain -6
output attenuation -1
echo-cancel coverage 64
cptone RU
bearer-cap 3100Hz
!
voice-port 3/1Very Happy
input gain -6
output attenuation -1
echo-cancel coverage 64
cptone RU
bearer-cap 3100Hz
!
!
!
dial-peer voice 357008 voip
huntstop
preference 1
session protocol sipv2
incoming called-number 357008T
codec g711alaw
!
dial-peer voice 3570080 voip
translation-profile outgoing SIPTOH323
huntstop
preference 1
destination-pattern 357008T
voice-class codec 10
session target ipv4:192.168.109.5
!
!
gateway
timer receive-rtp 1200
!
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 0 0
timeout login response 10
password 7 idididid
terminal-type cons25r
length 25
line 1/00 1/57
no flush-at-activation
script modem-off-hook offhook
script callback callback
modem InOut
international
transport preferred none
transport input all
transport output none
escape-character BREAK
autoselect during-login
autoselect ppp
line 1/58
no flush-at-activation
modem InOut
international
transport preferred none
transport input all
transport output none
escape-character BREAK
autoselect during-login
autoselect ppp
line 1/59
no flush-at-activation
script modem-off-hook offhook
script callback callback
modem InOut
international
transport preferred none
transport input all
transport output none
escape-character BREAK
autoselect during-login
autoselect ppp
!
scheduler allocate 10000 400
ntp clock-period 17180055
ntp server 194.226.199.50 prefer
end
#8

EXA, давай ты не будешь постить километры конфигов? Если ты в описании своей проблемы не можешь выделить главное, то может ты просто не своим делом занялся?
В раздел Работа с такими вопросами.
#9

я думаю пора наверное принять правило, если больше 50 строк (не много? может 30?) конфигов то ТОЛЬКО файлом крепить.
остальное обязать сувать в теги которые поддерживают форматирование текста а то порой просто глаза ломаешь, а тому кто запостил это просто наплевать.

_________________
«Choose a job you love, and you will never have to work a day in your life» — Confucius
#10

Господа, я не против файла, прикреплю в следющий раз.
Но если посмотрите чуть выше, увидете меня попросили дать конфиги, если человек хочет помочь, то почему не дать, то что он хочет видеть. Мне главное побидить это.
Скажите лучше, кто конвертил кодеки на Cisco, на каких IOS, и пните меня в верное направление. Всёь больше ни чего не надо, зарание благодарю за помощь.

Added after 6 minutes:

2 Ded, Проблема выделена, надо сконвертить, не вносятся конфиги, менять ли IOS.

И облазил все IOS на Cisco.com не нашёл с поддержкой "Feature Information for Universal Voice Transcoding Support for Cisco Unified Border Elements" для 5350.
#11

Найди там Feature navigator for IOS и смотри.
http://www.cisco.com/en/US/products/sw/v ... fe1f.shtml

btw, тема оборудования, вижу, безгранична, и всё дальше от Астериска. Следущим вопросом будет функционирование и эксплуатация садово-паркового оборудования?
#12

Ну нет почему же, звонок в Cisco с Asterisk идёт )))
Спасибо за помощь, просто гемор в том, что на Cisco памяти маловато, будем искать IOS подходящий.

Added after 3 minutes:

Пока тупа через поток в поток пропускаю по префиксам, пока проблему не по решали с конвертом на Cisco.
#13

Память тоже можно апгрейдить, и флэш, если ИОС не влезает. Для экспериментов можно грузиться нужным ИОС с рядом расположенного ТФТП.
#14

Есть главная проблема, я живу в КАЗАХСТАНЕ, достать что-то трудно, но можно, по этому сначало переборы, а потом закупки.
#15

а просто команда dspfarmиз уровня (config) не доступна?

ps память можно взять не оригинальную. трансенд например. стоить она будет существенно дешевле. по флеш вообще не вижу смысла если есть тфтп (имхо)
#16

Тех поддержка Cisco сказала, данной функцией обладают
AS5350XM
AS5400XM

Added after 1 minutes:

А где можно память заказть, это я на будущее вдруг понадобится.
На ebay.com? Или есть ещё варианты?