СвязьПроект
http://old.xdsl.ru/svpro/

Индивидуальные настройки для каждого адресата AP-VP300
http://old.xdsl.ru/svpro/viewtopic.php?f=4&t=1221
Страница 1 из 1

Автор:  Виктор Кукушкин [ 29 янв 2010, 08:06 ]
Заголовок сообщения:  Индивидуальные настройки для каждого адресата AP-VP300

Как задать индивидуальные параметры аудио-видеосоединения для каждого адресата адресной книги?

Автор:  Geniu$$ [ 29 янв 2010, 09:02 ]
Заголовок сообщения: 

conf t
сделайте разные
voice class codec и video-class codec
и добавьте в соответствующие dial-peer

Автор:  Виктор Кукушкин [ 01 фев 2010, 05:54 ]
Заголовок сообщения: 

Что и было сделано, однако не работает. Телефоны соединяются с параметрами указанными у них в "video class codec 2000".

Высылаю apos.cfg - может в нем еще какой-то косяк?
!
! APOS(tm) configuration saved from vty
! 2010/ 1/29 14:14:19
!
version 8.43.058
!
hostname proba
enable password router
!
username root password router administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 10.248.50.40 255.255.255.0
bridge-group 1
speed auto
qos-control 4096
!
interface FastEthernet0/1
no ip address
bridge-group 1
speed auto
no qos-control
!
no ip routing
ip route 0.0.0.0 0.0.0.0 10.248.50.1
!
!
!
!
ftp server
!
!
dns name-server 10.248.2.2
!
osd
volume 9 9 5 7 10 0
powersave 60
language Russian
viewmode 2
homeurl http://
fbandwidth 512
display camin 90 64 68 8 23 0
display camout 31 128 128
rbcinfo 0.0.0.0 0 0 0
initmenu none
chime off
chimedelay 1
initmenu none
password input 2337
password level low
ring 1
sscp disable
flickless off
dnd reject
autoanswer off
qos 4096
keysetup 0
h323confname Selickii
h323indicator 0
signalling h323
omdelay 0
videoinput 0 1
extvideoinput ntsc
!
!
! SSCP configuration.!
!
!
! SSCP Static CM List
sscp
!
! SSCP Dynamic CM List
sscp
!
!
sscp
call-manager broadcast port 8855
logger disable
logger level info
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate disable
h323 call start preferred-slow
h323 call tunnel disable
timeout tmohdt 300
dynamic-payload-type h264 99
no call-barring unconfigured-ip-address
no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! SPEECH
voice-port 0/0
!
!
! VIDEO
voice-port 0/1
!
!
! HQA
voice-port 0/2
!
!
! FXO
voice-port 0/3
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 1600
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 0
audio-class codec 1000
video-class codec 2000
no vad
dtmf-relay rtp-2833
!
dial-peer voice 1001 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 0
audio-class codec 1000
video-class codec 2000
no vad
dtmf-relay rtp-2833
preference 2
huntstop
!
dial-peer voice 1002 voip
destination-pattern T
session target ras
voice-class codec 0
audio-class codec 1000
video-class codec 2000
no vad
dtmf-relay h245-alphanumeric
preference 1
huntstop
!
dial-peer voice 10000 voip
destination-pattern F
session target ip 10.248.1.7
voice-class codec 0
audio-class codec 2
video-class codec 3000
vad
dtmf-relay h245-alphanumeric
description gorod
!
!
dial-peer voice 10009 voip
destination-pattern F
session target ip 10.249.15.3
voice-class codec 0
audio-class codec 2
video-class codec 3009
vad
dtmf-relay h245-alphanumeric
description Strejevoi
!
!
!
!
! Gateway configuration.
!
gateway
h323-id proba
no ignore-msg-from-other-gk
register
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g7231r53
codec preference 2 g711alaw
codec preference 3 g729
codec preference 4 g7231r63
codec preference 5 g711ulaw
codec preference 6 g711alaw
!
video-class codec 3000
codec preference 1 mpeg4
codec parameter 1 512 30 0
!
audio-class codec 1000
codec preference 1 g7231r53
codec preference 2 g711alaw
codec preference 3 g729
codec preference 4 g7231r63
codec preference 5 g711ulaw
codec preference 6 g711alaw
!
!
audio-class codec 1001
codec preference 1 g726r32
codec preference 2 g711ulaw
codec preference 3 mp3
!
!
audio-class codec 1002
codec preference 1 g726r32
codec preference 2 g711ulaw
codec preference 3 mp3
!
!
audio-class codec 1003
codec preference 1 g726r32
codec preference 2 g711ulaw
codec preference 3 mp3
!
video-class codec 3009
codec preference 1 h263
codec parameter 1 128 3 0
!
video-class codec 2000
codec preference 1 h264
codec preference 2 mpeg4
codec preference 3 h263
codec parameter 1 512 30 0
!
!
!
! SIP UA configuration.
!
sip-ua
fault-tolerance 10 500
sip-username 1600
sip-password 1600
sip-server 10.248.0.2
rport enable
register e164
!
!
! MGCP configuration.
!
mgcp
vad
!
!
! Tones
!
!
!
!
line console
!
line vty
!
character-set encoding usa ascii xml koi8-ru
mount mem 32 /osdmem
! mount mem 1024 /tmp
!
!
!
sms
quota 30
!
!
ptzm

Заранее благодарен за ответ

В. Кукушкин

Автор:  Geniu$$ [ 01 фев 2010, 10:00 ]
Заголовок сообщения: 

Покажите дебаг во время звонка,
вместе
deb voip call
deb rta ipc

Автор:  Виктор Кукушкин [ 02 фев 2010, 04:32 ]
Заголовок сообщения: 

Высылаю log одного соединения:

[1339.920] VM(0/0/0) play RingBack tone
[1339.920] VP(0/0/0) Tx IBS signal 6/1
[1339.920] VP(0/0/0) update IBS gain 4
[1339.920] VP(0/0/0) Tx IBS dir 0
56 <H245 4> : Received TCS request.
57 <H245 4> : remote capabilities matching to local capabilities.
number of capabilities = 8
1 : g7231A-5.3k
2 : g711alaw-64k
3 : g711ulaw-64k
4 : UserInput/basicString
5 : UserInput/hookflash
6 : H.264
7 : H.224
8 : H.224
58 <H245 4> : Send TCS request.
59 <H245 4> : Send TCS ack.
60 <H245 4> : Received MSD request.
61 <H245 4> : Send MSD ack(slave).
62 <H245 4> : Received TCS ack..
63 <H245 4> : Received MSD ack(master).
64 <H245 4> : Received OLC request.
H323_RTPChannel::Start called ! Receiver ? 1
----------------------------------------------------------------------
channel number = 101
bandwidth used = 53
session id = 1
capability (num) = 1
capability (type) = 9
local data port = 23020
local control port = 23021
local address = 10.248.50.40
remote data port = 23038
remote control port = 23039
remote control address = 10.248.50.41
remote data address = 10.248.50.41
----------------------------------------------------------------------
65 <Chan 4> : Open - number(101) direction(receive) session(voice) c
odec(g7231A-5.3k)
- Local : Data(23020) Cont(23021) Addr(10.248.50.40)
- Remote : Data(23038) Cont(23039) DataAddr(10.248.50.
41) ContAddr(10.248.50.41)
[1344.795] RTA(0/0/0) Rx RS_LISTEN_REQ callId=4 ssId=1 G7235
peer=10.248.50.41 mp=23020/23021 hp=23038/23039
[1344.795] VM(0/0/0) vopp idle
[1344.795] VP(0/0/0) close channel
[1344.795] VM(0/0/0) start codec replace timer to G7235
66 <H245 4> : Send OLC ack.
67 <H245 4> : Received OLC request.
H323_RTPChannel::Start called ! Receiver ? 1
----------------------------------------------------------------------
channel number = 102
bandwidth used = 100
session id = 2
capability (num) = 8
capability (type) = 6
local data port = 23022
local control port = 23023
local address = 10.248.50.40
remote data port = 23040
remote control port = 23041
remote control address = 10.248.50.41
remote data address = 10.248.50.41
----------------------------------------------------------------------
68 <Chan 4> : Open - number(102) direction(receive) session(video) c
odec(H.264)
- Local : Data(23022) Cont(23023) Addr(10.248.50.40)
- Remote : Data(23040) Cont(23041) DataAddr(10.248.50.
41) ContAddr(10.248.50.41)
[1344.800] VM(0/1/0) Video H264 RTP payload type TxPT=0x63, RxPT=0x63
[1344.800] RTA(0/1/0) Rx RS_LISTEN_REQ callId=4 ssId=2 H.264
peer=10.248.50.41 mp=23022/23023 hp=23040/23041
[1344.800] RTA(0/1/0) Rx MM_CONN_REQ [82 83 81 88 9e 80 ] peerId(-1)
[ [Dec] H.264 CBR 512K f_30 320x240 ]
[1344.800] VM(0/1/0) MM video enable [Dec]
69 <H245 4> : Send OLC ack.
[1344.805] VG(0) VideoEncoderEnable [0]
[1344.805] VG(0) VideoDecoderEnable [1]
[1344.805] VG(0) DecoderInterrupt [0]
[1344.805] VG(0) VideoMUTE [0]
[1344.805] VG(0) AudioEncoderEnable [0]
[1344.805] VG(0) AudioDecoderEnable [0]
70 <H245 4> : Received OLC request.
H323_RTPChannel::Start called ! Receiver ? 1
----------------------------------------------------------------------
channel number = 103
bandwidth used = 100
session id = 3
capability (num) = 9
capability (type) = 7
local data port = 23024
local control port = 23025
local address = 10.248.50.40
remote data port = 23042
remote control port = 23043
remote control address = 10.248.50.41
remote data address = 10.248.50.41
----------------------------------------------------------------------
71 <Chan 4> : Open - number(103) direction(receive) session(data) co
dec(H.224)
- Local : Data(23024) Cont(23025) Addr(10.248.50.40)
- Remote : Data(23042) Cont(23043) DataAddr(10.248.50.
41) ContAddr(10.248.50.41)
72 <H245 4> : Send OLC ack.
73 <Q931 4> : Received CONNECT
74 <H225 4> : Remote Endpoint (AddPac VoIP,8.28,97,0,22)
75 <H245 4> : Send OLC request.
76 <H245 4> : Send OLC request.
77 <H245 4> : Send OLC request.
78 <Call 4> : Connected from(ffffffff)
[1344.810] RTA(0/0/0) Rx CC_CONNECT_RSP peerId(0/0/0)
[1344.810] VM(0/0/0) T38 Fax disabled
79 <NetEP 4> : Call with Nach.UVD established
[1344.810] VM(0/1/0) Tx PrivAudCTRL to OSD, val=0
[1344.810] VM(0/1/0) Tx PrivVidCTRL to OSD, val=0
[1344.815] VG(0) VideoEncoderEnable [0]
[1344.815] VG(0) VideoDecoderEnable [1]
[1344.815] VG(0) DecoderInterrupt [0]
[1344.815] VG(0) VideoMUTE [0]
[1344.815] VG(0) AudioEncoderEnable [0]
[1344.815] VG(0) AudioDecoderEnable [0]
80 <H245 4> : Received OLC ack.
H323_RTPChannel::Start called ! Receiver ? 0
----------------------------------------------------------------------
channel number = 101
bandwidth used = 53
session id = 1
capability (num) = 1
capability (type) = 9
local data port = 23020
local control port = 23021
local address = 10.248.50.40
remote data port = 23038
remote control port = 23039
remote control address = 10.248.50.41
remote data address = 10.248.50.41
----------------------------------------------------------------------
81 <Chan 4> : Open - number(101) direction(transmit) session(voice)
codec(g7231A-5.3k)
- Local : Data(23020) Cont(23021) Addr(10.248.50.40)
- Remote : Data(23038) Cont(23039) DataAddr(10.248.50.
41) ContAddr(10.248.50.41)
[1344.820] RTA(0/0/0) Rx RS_OPEN_REQ callId=4 ssId=1 G7235
peer=10.248.50.41 mp=23020/23021 hp=23038/23039
[1344.820] VM(0/0/0) openRTP codec G723 no change
82 <H245 4> : Received OLC ack.
H323_RTPChannel::Start called ! Receiver ? 0
----------------------------------------------------------------------
channel number = 102
bandwidth used = 100
session id = 2
capability (num) = 11
capability (type) = 6
local data port = 23022
local control port = 23023
local address = 10.248.50.40
remote data port = 23040
remote control port = 23041
remote control address = 10.248.50.41
remote data address = 10.248.50.41
----------------------------------------------------------------------
83 <Chan 4> : Open - number(102) direction(transmit) session(video)
codec(H.264)
- Local : Data(23022) Cont(23023) Addr(10.248.50.40)
- Remote : Data(23040) Cont(23041) DataAddr(10.248.50.
41) ContAddr(10.248.50.41)
[1344.825] RTA(0/1/0) Rx RS_OPEN_REQ callId=4 ssId=2 H.264
peer=10.248.50.41 mp=23022/23023 hp=23040/23041
[1344.825] DS: Session start, master=1
[1344.825] VM(0/1/0) RTP Tx RemoCon cmd PrivAudCTRL 0
[1344.825] RTA(0/1/0) Rx MM_CONN_REQ [81 83 81 88 9e 80 ] peerId(-1)
[ [Enc] H.264 CBR 512K f_30 320x240 ]
[1344.825] VM(0/1/0) MM video enable [Enc]
[1344.825] VM(0/1/0) RTP Tx RemoCon cmd PrivVidCTRL 0
84 <H245 4> : Received OLC ack.
H323_RTPChannel::Start called ! Receiver ? 0
----------------------------------------------------------------------
channel number = 103
bandwidth used = 100
session id = 3
capability (num) = 12
capability (type) = 7
local data port = 23024
local control port = 23025
local address = 10.248.50.40
remote data port = 23042
remote control port = 23043
remote control address = 10.248.50.41
remote data address = 10.248.50.41
----------------------------------------------------------------------
85 <Chan 4> : Open - number(103) direction(transmit) session(data) c
odec(H.224)
- Local : Data(23024) Cont(23025) Addr(10.248.50.40)
- Remote : Data(23042) Cont(23043) DataAddr(10.248.50.
41) ContAddr(10.248.50.41)
[1344.830] VG(0) VideoEncoderEnable [1]
[1344.830] VG(0) VideoDecoderEnable [1]
[1344.830] VG(0) DecoderInterrupt [0]
[1344.830] VG(0) VideoMUTE [0]
[1344.830] VG(0) AudioEncoderEnable [0]
[1344.830] VG(0) AudioDecoderEnable [0]
[1344.855] VP(0/0/0) enable AEC
[1344.855] VP(0/0/0) open channel
[1344.855] VM(0/0/0) codec replaced to G7235
[1344.855] VM(0/0/0) play mute
[1344.855] VP(0/0/0) Tx IBS signal 2/0
[1344.855] VP(0/0/0) update IBS gain 0
[1344.855] VP(0/0/0) Tx IBS dir 0
86 <CCA 0> : Call Connect Request from HANDSET
[1344.880] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
OFF_HOOK 0(handset)
[1344.880] VP(0/0/0) use handset
[1344.880] VP(0/1/0) add handset
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
[1345.455] VG(0) video restore iIntv [6]
[1345.780] VM(0/1/0) RTP Tx RemoCon cmd PrivAudCTRL 0
[1345.780] VM(0/1/0) RTP Tx RemoCon cmd PrivVidCTRL 0
[1345.795] VM(0/1/0) Tx PrivAudCTRL to OSD, val=0
[1345.795] VM(0/1/0) Tx PrivVidCTRL to OSD, val=0
[1345.800] VG(0) VideoEncoderEnable [1]
[1345.800] VG(0) VideoDecoderEnable [1]
[1345.800] VG(0) DecoderInterrupt [0]
[1345.800] VG(0) VideoMUTE [0]
[1345.800] VG(0) AudioEncoderEnable [0]
[1345.800] VG(0) AudioDecoderEnable [0]
[1345.820] DS: Rx fr peer 10.248.50.41 SYNC_REQ Cid=0x0 dw0=0x0 b1=0x0 b2=0x0 w3
=0x0
[1345.820] DS: Tx to peer 10.248.50.41 CMD_RSP Cid=0x0 dw0=0x9 b1=0x0 b2=0x0 w3=
0x0
[1345.820] DS: ReportGlobalInfo nClientLocal 0
[1345.825] DS: Tx to peer 10.248.50.41 SYNC_REQ Cid=0x0 dw0=0x0 b1=0x0 b2=0x0 w3
=0x0
[1345.830] DS: Rx fr peer 10.248.50.41 CMD_RSP Cid=0x0 dw0=0x9 b1=0x0 b2=0x0 w3=
0x0
[1345.830] DS: ReportGlobalInfo nClientLocal 0
[1345.875] VG(0) video update new TgRate [504]
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
[1346.875] VG(0) video update new TgRate [501]
[1347.875] VG(0) video update new TgRate [492]
87 <Time 0> : Gatekeeper registration retry timeout.
88 <GK 0> : Try registration to All candidated GKs exclude() exclu
sive()
89 <GK 0> : Fail registration to all alternate GKs
90 <CCA 0> : Call Disconnect Request from HANDSET
[1351.380] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
ON_HOOK
[1351.380] VP(0/0/0) use none
[1351.380] VP(0/0/0) close channel
[1351.380] VM(0/0/0) Tx DISCONN_CNF
91 <CEP 000000> : Disconnected(16) at Busy
92 <Call 4> : Terminated from(0) this(Local:CallClear) before(NULL)
forced(0) time(1265106037)
93 <CEP 000000> : DisconnectCall at Idle
[1351.380] RTA(0/1/0) Rx MM_DISC_REQ peerId(-1)
[1351.380] VM(0/1/0) MM video disable
[1351.380] RTA(0/0/0) Rx RS_CLOSE_REQ callId=4 ssId=1 dir=reve
94 <Chan 4> : Close - number(101) direction(receive)
[1351.380] RTA(0/1/0) Rx RS_CLOSE_REQ callId=4 ssId=2 dir=reve
[1351.380] VM(0/1/0) RTP Tx RemoCon cmd PrivAudCTRL 0
95 <Chan 4> : Close - number(102) direction(receive)
96 <Chan 4> : Close - number(103) direction(receive)
[1351.380] RTA(0/0/0) Rx RS_CLOSE_REQ callId=4 ssId=1 dir=forw
[1351.380] RTA(0/0/0) close Media socket
[1351.380] RTA(0/0/0) close RTCP socket
[1351.380] VM(0/1/0) RTP Tx RemoCon cmd PrivVidCTRL 0
97 <Chan 4> : Close - number(101) direction(transmit)
[1351.380] RTA(0/1/0) Rx RS_CLOSE_REQ callId=4 ssId=2 dir=forw
[1351.380] DS: Session stop, state=3
[1351.380] RTA(0/1/0) close Media socket
[1351.385] RTA(0/1/0) close RTCP socket
[1351.385] VG(0) VideoEncoderEnable [0]
[1351.385] VG(0) VideoDecoderEnable [0]
[1351.385] VG(0) DecoderInterrupt [0]
[1351.385] VG(0) VideoMUTE [0]
[1351.385] VG(0) AudioEncoderEnable [0]
[1351.385] VG(0) AudioDecoderEnable [0]
98 <Chan 4> : Close - number(102) direction(transmit)
99 <Chan 4> : Close - number(103) direction(transmit)
100 <Q931 4> : Send RELEASE COMPLETE
101 <NetEP 4> : Call TO <Nach.UVD> terminated reason(Local:CallClear)
102 <CCA 0> : Call Disconnected from 0 (30)
[1351.395] RTA(0/0/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0)
[1351.395] VM(0/0/0) Tx DISCONN_CNF
103 <CEP 000000> : StopBuzzer
104 <CCA 0> : Call Disconnect Request from SPEAKER
105 <CEP 000000> : Disconnected(16) at Idle
106 <CCA 0> : Call Disconnect Request from SPEAKER
107 <Time 0> : SIP_TREGISTER timer timeout.
108 <SIP 60> : localPeer->registerStat(3)
109 <SIP 60> : ExistInRegList(localpeer) : TRUE
110 <SIP 0> : Adding authentication information
111 <SIP 61> : Send REGISTER Request
112 <SIP 61> : Receive 200 OK
113 <SIP 61> : Transaction (61 REGISTER) completed

114 <SIP 61> : Set Terminated Success for 61 REGISTE
proba# term no monit
proba#

Автор:  Geniu$$ [ 04 фев 2010, 12:30 ]
Заголовок сообщения: 

10.248.50.41 чей это адрес его в вашем конфиге нет.
Вы должны звонить сюда 10.248.1.7 либо сюда 10.249.15.3, для этих адресов у вас есть пиры.

Автор:  Виктор Кукушкин [ 05 фев 2010, 05:32 ]
Заголовок сообщения: 

Для получения лога был использован config с измененными адресами абонентов:
!
! APOS(tm) configuration saved from vty
! 2010/ 2/ 2 09:48:42
!
version 8.43.058
!
hostname proba
enable password router
!
username root password router administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 10.248.50.40 255.255.255.0
bridge-group 1
speed auto
qos-control 4096
!
interface FastEthernet0/1
no ip address
bridge-group 1
speed auto
no qos-control
!
no ip routing
ip route 0.0.0.0 0.0.0.0 10.248.50.1
!
!
!
!
ftp server
!
!
dns name-server 10.248.2.2
!
osd
volume 9 9 5 7 10 0
powersave 60
language Russian
viewmode 2
homeurl http://
fbandwidth 512
display camin 90 64 68 8 23 0
display camout 31 128 128
rbcinfo 0.0.0.0 0 0 0
initmenu none
chime off
chimedelay 1
initmenu none
password input 2337
password level low
ring 1
sscp disable
flickless off
dnd reject
autoanswer off
qos 4096
keysetup 0
h323confname Selickii
h323indicator 0
signalling h323
omdelay 0
videoinput 0 1
extvideoinput ntsc
!
!
! SSCP configuration.!
!
!
! SSCP Static CM List
sscp
!
! SSCP Dynamic CM List
sscp
!
!
sscp
call-manager broadcast port 8855
logger disable
logger level info
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate disable
h323 call start preferred-slow
h323 call tunnel disable
timeout tmohdt 300
dynamic-payload-type h264 99
no call-barring unconfigured-ip-address
no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! SPEECH
voice-port 0/0
!
!
! VIDEO
voice-port 0/1
!
!
! HQA
voice-port 0/2
!
!
! FXO
voice-port 0/3
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 1600
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 0
audio-class codec 1000
video-class codec 2000
no vad
dtmf-relay rtp-2833
!
dial-peer voice 1001 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 0
audio-class codec 1000
video-class codec 2000
no vad
dtmf-relay rtp-2833
preference 2
huntstop
!
dial-peer voice 1002 voip
destination-pattern T
session target ras
voice-class codec 0
audio-class codec 1000
video-class codec 2000
no vad
dtmf-relay h245-alphanumeric
preference 1
huntstop
!
dial-peer voice 10000 voip
destination-pattern F
session target ip 10.248.50.34
voice-class codec 0
audio-class codec 2
video-class codec 3000
vad
dtmf-relay h245-alphanumeric
description gorod
!
dial-peer voice 10009 voip
destination-pattern F
session target ip 10.248.50.41
voice-class codec 0
audio-class codec 2
video-class codec 3009
vad
dtmf-relay h245-alphanumeric
description Strejevoi
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id proba
no ignore-msg-from-other-gk
register
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g7231r53
codec preference 2 g711alaw
codec preference 3 g729
codec preference 4 g7231r63
codec preference 5 g711ulaw
codec preference 6 g711alaw
!
video-class codec 3000
codec preference 1 mpeg4
codec parameter 1 512 30 0
!
audio-class codec 1000
codec preference 1 g7231r53
codec preference 2 g711alaw
codec preference 3 g729
codec preference 4 g7231r63
codec preference 5 g711ulaw
codec preference 6 g711alaw
!
audio-class codec 1001
codec preference 1 g726r32
codec preference 2 g711ulaw
codec preference 3 mp3
!
audio-class codec 1002
codec preference 1 g726r32
codec preference 2 g711ulaw
codec preference 3 mp3
!
audio-class codec 1003
codec preference 1 g726r32
codec preference 2 g711ulaw
codec preference 3 mp3
!
video-class codec 3009
codec preference 1 h263
codec parameter 1 128 3 0
!
video-class codec 2000
codec preference 1 h264
codec preference 2 mpeg4
codec preference 3 h263
codec parameter 1 512 30 0
!
!
!
! SIP UA configuration.
!
sip-ua
fault-tolerance 10 500
sip-username 1600
sip-password 1600
sip-server 10.248.0.2
rport enable
register e164
!
!
! MGCP configuration.
!
mgcp
vad
!
!
! Tones
!
!
!
!
line console
!
line vty
!
character-set encoding usa ascii xml koi8-ru
mount mem 32 /osdmem
! mount mem 1024 /tmp
!
!
!
sms
quota 30
!
!
ptzm

Автор:  Geniu$$ [ 05 фев 2010, 08:29 ]
Заголовок сообщения: 

Можно ещё дебаг с начала вызова, я не вижу, что отправляет адпак.

Автор:  Виктор Кукушкин [ 08 фев 2010, 11:43 ]
Заголовок сообщения: 

Высылаю новый debug:

Selickii# deb voip call
Selickii# deb rta ipc
Selickii# term monit
Selickii# 12 <CCA 0> : Call Initiate Request from SPEAKER , peer(10000) digits() addr(10.248.1.7) type(H323) plar(0) directDigit(FALSE)
[496.715] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
OFF_HOOK 2(speaker)
[496.715] VP(0/0/0) use speaker
[496.715] VP(0/1/0) add speaker
[496.715] VP(0/0/0) enable AEC
[496.715] VP(0/0/0) open channel
13 <CEP 000000> : Call Received
14 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0)
15 <Call 2> : ****** Call Created status(InitiatedBySPEECH) ver(8.28:2006-02-06-00-00) time(1265649792) ****
16 <CEP 000000> : Calling number(1600)
17 <CEP 000000> : Call id(8048704b-0c8b-d565-8004-0002a40701e2) callNum(2)
[496.715] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
TONE_PLAY DIAL
[496.715] VM(0/0/0) play Dial tone
[496.715] VP(0/0/0) Tx IBS signal 6/0
[496.715] VP(0/0/0) update IBS gain 4
[496.715] VP(0/0/0) Tx IBS dir 0
18 <Call 2> : Call Initiated from CCA : peer(10000), digits(), ip(10.248.1.7)
19 <NetEP 2> : InitiateOutCall: calledNum() callingNum(1600) target(10.248.1.7)
20 <NetEP 2> : DoCall: calledAddr(10.248.1.7) callingAddr(1600)
[496.720] VM(0/0/0) set T38 disable by CCC
[496.720] VM(0/0/0) set T38 mode STD
[496.720] VM(0/0/0) Fax rate disab
21 <NetCon 2> : Voip Peer is NULL. Get default codec class
22 <NetCon 2> : Video Info : codec(3), CBR, TR(512), FR(30), Size(1)
23 <H245 2> : myGwCall(0xb418ed5c) myGwCall->hqaEnabled(0)
24 <H245 2> : SetLocalCapabilities(outbound)
25 <H323 2> : local capabilities.
number of capabilities = 10
1 : g7231A-5.3k
2 : g711alaw-64k
3 : g729-8k
4 : g711ulaw-64k
5 : T.38
6 : UserInput/basicString
7 : UserInput/hookflash
8 : H.264
9 : H.224
10 : H.224
26 <CEP 000000> : StopSignal
[496.720] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_STOP
[496.720] VM(0/0/0) play mute
[496.720] VP(0/0/0) Tx IBS signal 2/0
[496.720] VP(0/0/0) update IBS gain 0
[496.720] VP(0/0/0) Tx IBS dir 0
27 <H225 2> : Try signalling TCP connect (10.248.1.7:1720)
28 <H225 2> : Signalling TCP connect success (2)
29 <Q931 2> : Send SETUP
30 <Q931 2> : Received CALL PROCEEDING
31 <H225 2> : Remote Endpoint (AddPac VoIP,8.28,97,0,22)
32 <Q931 2> : Received ALERTING
33 <Call 2> : Alert from(ffffffff) pseudo(0) inband(0) status(CalleeInitiated)
[496.760] RTA(0/0/0) Rx CC_ALERT_RSP peerId(0/0/0)
[496.760] VM(0/0/0) play RingBack tone
[496.760] VP(0/0/0) Tx IBS signal 6/1
[496.760] VP(0/0/0) update IBS gain 4
[496.760] VP(0/0/0) Tx IBS dir 0
34 <H245 2> : Received TCS request.
35 <H245 2> : remote capabilities matching to local capabilities.
number of capabilities = 8
1 : g7231A-5.3k
2 : g711alaw-64k
3 : g711ulaw-64k
4 : UserInput/basicString
5 : UserInput/hookflash
6 : H.264
7 : H.224
8 : H.224
36 <H245 2> : Send TCS request.
37 <H245 2> : Send TCS ack.
38 <H245 2> : Received MSD request.
39 <H245 2> : Send MSD ack(master).
40 <H245 2> : Received TCS ack..
41 <H245 2> : Received MSD ack(slave).
42 <H245 2> : Received OLC request.
H323_RTPChannel::Start called ! Receiver ? 1
----------------------------------------------------------------------
channel number = 101
bandwidth used = 53
session id = 1
capability (num) = 1
capability (type) = 9
local data port = 23008
local control port = 23009
local address = 10.248.50.40
remote data port = 23020
remote control port = 23021
remote control address = 10.248.1.7
remote data address = 10.248.1.7
----------------------------------------------------------------------
43 <Chan 2> : Open - number(101) direction(receive) session(voice) codec(g7231A-5.3k)
- Local : Data(23008) Cont(23009) Addr(10.248.50.40)
- Remote : Data(23020) Cont(23021) DataAddr(10.248.1.7) ContAddr(10.248.1.7)
[500.425] RTA(0/0/0) Rx RS_LISTEN_REQ callId=2 ssId=1 G7235
peer=10.248.1.7 mp=23008/23009 hp=23020/23021
[500.425] VM(0/0/0) vopp idle
[500.425] VP(0/0/0) close channel
[500.425] VM(0/0/0) start codec replace timer to G7235
44 <H245 2> : Send OLC ack.
45 <H245 2> : Received OLC request.
H323_RTPChannel::Start called ! Receiver ? 1
----------------------------------------------------------------------
channel number = 102
bandwidth used = 100
session id = 2
capability (num) = 8
capability (type) = 6
local data port = 23010
local control port = 23011
local address = 10.248.50.40
remote data port = 23022
remote control port = 23023
remote control address = 10.248.1.7
remote data address = 10.248.1.7
----------------------------------------------------------------------
46 <Chan 2> : Open - number(102) direction(receive) session(video) codec(H.264)
- Local : Data(23010) Cont(23011) Addr(10.248.50.40)
- Remote : Data(23022) Cont(23023) DataAddr(10.248.1.7) ContAddr(10.248.1.7)
[500.425] VM(0/1/0) Video H264 RTP payload type TxPT=0x63, RxPT=0x63
[500.425] RTA(0/1/0) Rx RS_LISTEN_REQ callId=2 ssId=2 H.264
peer=10.248.1.7 mp=23010/23011 hp=23022/23023
[500.425] RTA(0/1/0) Rx MM_CONN_REQ [82 83 81 88 9e 81 ] peerId(-1)
[ [Dec] H.264 CBR 512K f_30 640x240 ]
[500.425] VM(0/1/0) MM video enable [Dec]
[500.430] VG(0) VideoEncoderEnable [0]
[500.430] VG(0) VideoDecoderEnable [1]
[500.430] VG(0) DecoderInterrupt [0]
[500.430] VG(0) VideoMUTE [0]
[500.430] VG(0) AudioEncoderEnable [0]
[500.430] VG(0) AudioDecoderEnable [0]
47 <H245 2> : Send OLC ack.
48 <H245 2> : Received OLC request.
H323_RTPChannel::Start called ! Receiver ? 1
----------------------------------------------------------------------
channel number = 103
bandwidth used = 100
session id = 3
capability (num) = 9
capability (type) = 7
local data port = 23012
local control port = 23013
local address = 10.248.50.40
remote data port = 23024
remote control port = 23025
remote control address = 10.248.1.7
remote data address = 10.248.1.7
----------------------------------------------------------------------
49 <Chan 2> : Open - number(103) direction(receive) session(data) codec(H.224)
- Local : Data(23012) Cont(23013) Addr(10.248.50.40)
- Remote : Data(23024) Cont(23025) DataAddr(10.248.1.7) ContAddr(10.248.1.7)
50 <H245 2> : Send OLC ack.
51 <Q931 2> : Received CONNECT
52 <H225 2> : Remote Endpoint (AddPac VoIP,8.28,97,0,22)
53 <H245 2> : Send OLC request.
54 <H245 2> : Send OLC request.
55 <H245 2> : Send OLC request.
56 <Call 2> : Connected from(ffffffff)
[500.435] RTA(0/0/0) Rx CC_CONNECT_RSP peerId(0/0/0)
[500.435] VM(0/0/0) T38 Fax disabled
57 <NetEP 2> : Call with Nach.UVD established
[500.440] VM(0/1/0) Tx PrivAudCTRL to OSD, val=0
[500.440] VM(0/1/0) Tx PrivVidCTRL to OSD, val=0
58 <H245 2> : Received OLC ack.
H323_RTPChannel::Start called ! Receiver ? 0
----------------------------------------------------------------------
channel number = 101
bandwidth used = 53
session id = 1
capability (num) = 1
capability (type) = 9
local data port = 23008
local control port = 23009
[500.445] VG(0) VideoEncoderEnable [0]
[500.445] VG(0) VideoDecoderEnable [1]
[500.445] VG(0) DecoderInterrupt [0]
[500.445] VG(0) VideoMUTE [0]
[500.445] VG(0) AudioEncoderEnable [0]
[500.445] VG(0) AudioDecoderEnable [0]
local address = 10.248.50.40
remote data port = 23020
remote control port = 23021
remote control address = 10.248.1.7
remote data address = 10.248.1.7
----------------------------------------------------------------------
59 <Chan 2> : Open - number(101) direction(transmit) session(voice) codec(g7231A-5.3k)
- Local : Data(23008) Cont(23009) Addr(10.248.50.40)
- Remote : Data(23020) Cont(23021) DataAddr(10.248.1.7) ContAddr(10.248.1.7)
[500.445] RTA(0/0/0) Rx RS_OPEN_REQ callId=2 ssId=1 G7235
peer=10.248.1.7 mp=23008/23009 hp=23020/23021
[500.445] VM(0/0/0) openRTP codec G723 no change
60 <H245 2> : Received OLC ack.
H323_RTPChannel::Start called ! Receiver ? 0
----------------------------------------------------------------------
channel number = 102
bandwidth used = 100
session id = 2
capability (num) = 11
capability (type) = 6
local data port = 23010
local control port = 23011
local address = 10.248.50.40
remote data port = 23022
remote control port = 23023
remote control address = 10.248.1.7
remote data address = 10.248.1.7
----------------------------------------------------------------------
61 <Chan 2> : Open - number(102) direction(transmit) session(video) codec(H.264)
- Local : Data(23010) Cont(23011) Addr(10.248.50.40)
- Remote : Data(23022) Cont(23023) DataAddr(10.248.1.7) ContAddr(10.248.1.7)
[500.450] RTA(0/1/0) Rx RS_OPEN_REQ callId=2 ssId=2 H.264
peer=10.248.1.7 mp=23010/23011 hp=23022/23023
[500.450] DS: Session start, master=1
[500.450] VM(0/1/0) RTP Tx RemoCon cmd PrivAudCTRL 0
[500.450] RTA(0/1/0) Rx MM_CONN_REQ [81 83 81 88 9e 81 ] peerId(-1)
[ [Enc] H.264 CBR 512K f_30 640x240 ]
[500.450] VM(0/1/0) MM video enable [Enc]
[500.450] VM(0/1/0) RTP Tx RemoCon cmd PrivVidCTRL 0
62 <H245 2> : Received OLC ack.
H323_RTPChannel::Start called ! Receiver ? 0
----------------------------------------------------------------------
channel number = 103
bandwidth used = 100
session id = 3
capability (num) = 12
capability (type) = 7
local data port = 23012
local control port = 23013
local address = 10.248.50.40
remote data port = 23024
remote control port = 23025
remote control address = 10.248.1.7
remote data address = 10.248.1.7
----------------------------------------------------------------------
63 <Chan 2> : Open - number(103) direction(transmit) session(data) codec(H.224)
- Local : Data(23012) Cont(23013) Addr(10.248.50.40)
- Remote : Data(23024) Cont(23025) DataAddr(10.248.1.7) ContAddr(10.248.1.7)
[500.455] VG(0) VideoEncoderEnable [1]
[500.455] VG(0) VideoDecoderEnable [1]
[500.455] VG(0) DecoderInterrupt [0]
[500.455] VG(0) VideoMUTE [0]
[500.455] VG(0) AudioEncoderEnable [0]
[500.455] VG(0) AudioDecoderEnable [0]
[500.485] VP(0/0/0) enable AEC
[500.485] VP(0/0/0) open channel
[500.485] VM(0/0/0) codec replaced to G7235
[500.485] VM(0/0/0) play mute
[500.485] VP(0/0/0) Tx IBS signal 2/0
[500.485] VP(0/0/0) update IBS gain 0
[500.485] VP(0/0/0) Tx IBS dir 0
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
[501.050] VG(0) video restore iIntv [6]
[501.350] VM(0/1/0) Tx PrivAudCTRL to OSD, val=0
[501.350] VM(0/1/0) Tx PrivVidCTRL to OSD, val=0
[501.355] VG(0) VideoEncoderEnable [1]
[501.355] VG(0) VideoDecoderEnable [1]
[501.355] VG(0) DecoderInterrupt [0]
[501.355] VG(0) VideoMUTE [0]
[501.355] VG(0) AudioEncoderEnable [0]
[501.355] VG(0) AudioDecoderEnable [0]
[501.385] VM(0/1/0) RTP Tx RemoCon cmd PrivAudCTRL 0
[501.385] VM(0/1/0) RTP Tx RemoCon cmd PrivVidCTRL 0
[501.445] DS: Rx fr peer 10.248.1.7 SYNC_REQ Cid=0x0 dw0=0x0 b1=0x0 b2=0x0 w3=0x0
[501.445] DS: Tx to peer 10.248.1.7 CMD_RSP Cid=0x0 dw0=0x9 b1=0x0 b2=0x0 w3=0x0
[501.445] DS: ReportGlobalInfo nClientLocal 0
[501.450] DS: Tx to peer 10.248.1.7 SYNC_REQ Cid=0x0 dw0=0x0 b1=0x0 b2=0x0 w3=0x0
[501.460] DS: Rx fr peer 10.248.1.7 CMD_RSP Cid=0x0 dw0=0x9 b1=0x0 b2=0x0 w3=0x0
[501.460] DS: ReportGlobalInfo nClientLocal 0
[501.715] VG(0) video update new TgRate [493]
#@OsdSwitchedVideoSrcIndicator(terminal=1,termID=0,pvid=-1,srcAlias=0,mode=0x0)
[502.715] VG(0) video update new TgRate [493]
[503.715] VG(0) video update new TgRate [493]
64 <Time 0> : SIP_TREGISTER timer timeout.
65 <SIP 23> : localPeer->registerStat(3)
66 <SIP 23> : ExistInRegList(localpeer) : TRUE
67 <SIP 0> : Adding authentication information
68 <SIP 24> : Send REGISTER Request
69 <SIP 24> : Receive 200 OK
70 <SIP 24> : Transaction (24 REGISTER) completed
71 <Time 0> : Gatekeeper registration retry timeout.
72 <GK 0> : Try registration to All candidated GKs exclude() exclusive()
73 <GK 0> : Fail registration to all alternate GKs
74 <CCA 0> : Call Disconnect Request from SPEAKER
[513.275] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
ON_HOOK
[513.275] VP(0/0/0) use none
[513.275] VP(0/0/0) close channel
[513.275] VM(0/0/0) Tx DISCONN_CNF
75 <CEP 000000> : Disconnected(16) at Busy
76 <Call 2> : Terminated from(0) this(Local:CallClear) before(NULL) forced(0) time(1265649809)
77 <CEP 000000> : DisconnectCall at Idle
[513.275] RTA(0/1/0) Rx MM_DISC_REQ peerId(-1)
[513.275] VM(0/1/0) MM video disable
[513.275] RTA(0/0/0) Rx RS_CLOSE_REQ callId=2 ssId=1 dir=reve
78 <Chan 2> : Close - number(101) direction(receive)
[513.275] RTA(0/1/0) Rx RS_CLOSE_REQ callId=2 ssId=2 dir=reve
[513.275] VM(0/1/0) RTP Tx RemoCon cmd PrivAudCTRL 0
79 <Chan 2> : Close - number(102) direction(receive)
80 <Chan 2> : Close - number(103) direction(receive)
[513.275] RTA(0/0/0) Rx RS_CLOSE_REQ callId=2 ssId=1 dir=forw
[513.275] RTA(0/0/0) close Media socket
[513.275] RTA(0/0/0) close RTCP socket
[513.275] VM(0/1/0) RTP Tx RemoCon cmd PrivVidCTRL 0
81 <Chan 2> : Close - number(101) direction(transmit)
[513.275] RTA(0/1/0) Rx RS_CLOSE_REQ callId=2 ssId=2 dir=forw
[513.275] DS: Session stop, state=3
[513.275] RTA(0/1/0) close Media socket
[513.275] RTA(0/1/0) close RTCP socket
[513.280] VG(0) VideoEncoderEnable [0]
[513.280] VG(0) VideoDecoderEnable [0]
[513.280] VG(0) DecoderInterrupt [0]
[513.280] VG(0) VideoMUTE [0]
[513.280] VG(0) AudioEncoderEnable [0]
[513.280] VG(0) AudioDecoderEnable [0]
82 <Chan 2> : Close - number(102) direction(transmit)
83 <Chan 2> : Close - number(103) direction(transmit)
84 <Q931 2> : Send RELEASE COMPLETE
85 <NetEP 2> : Call TO <Nach.UVD> terminated reason(Local:CallClear)
86 <CCA 0> : Call Disconnected from 0 (30)
[513.290] RTA(0/0/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0)
[513.290] VM(0/0/0) Tx DISCONN_CNF
87 <CEP 000000> : StopBuzzer
88 <CCA 0> : Call Disconnect Request from SPEAKER
89 <CEP 000000> : Disconnected(16) at Idle
90 <CCA 0> : Call Disconnect Request from SPEAKER
91 <SIP 24> : Set Terminated Success for 24 REGISTER

Selickii# term monit deb rta ipc term monitnmonitomonit monit
Selickii# exit
Selickii> exit

Для получения данного файла использовался config со следующими изменениями:

hostname Selickii
!
dial-peer voice 10000 voip
destination-pattern F
session target ip 10.248.1.7
voice-class codec 0
audio-class codec 2
video-class codec 3009
vad
dtmf-relay h245-alphanumeric
description proba
!
video-class codec 3009
codec preference 1 h263
codec parameter 1 128 3 1
!
video-class codec 2000
codec preference 1 h264
codec preference 2 h263
codec preference 3 mpeg4
codec parameter 1 512 30 1
!

Автор:  Geniu$$ [ 09 фев 2010, 07:56 ]
Заголовок сообщения: 

Попробуйте добавить в 10000-й пир номер телефона вместо dest F
Я думаю из-за того, что у вас там F адпак не видит пир.

21 <NetCon 2> : Voip Peer is NULL. Get default codec class

и ставит кодеки по дефолту.

Страница 1 из 1 Часовой пояс: UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/