Asterisk - H323 - CCM
|
Сообщений: 24
|
Re: Asterisk - H323 - CCM
Вот и мне не совсем понятно.
Побольше бы debug'a.
Такой же звонок с телефона по SIP:
----
--- onNewCallCreated ooh323c_4
+++ onNewCallCreated ooh323c_4
--- ooh323_onReceivedSetup ooh323c_4
--- ooh323_alloc
== Using ooh323 TOS bits 16
+++ ooh323_alloc
--- find_user
+++ find_user
CarouselAdding capabilities to call(incoming, ooh323c_4)
CarouselAdding g711 alaw capability to call(incoming, ooh323c_4)
--- configure_local_rtp
+++ configure_local_rtp
+++ ooh323_onReceivedSetup - Determined context internal, extension 99599
--- onAlerting ooh323c_4
--- find_call
+++ find_call
--- ooh323_new - 995
-- Executing [99599@internal:1] Verbose("OOH323/995-b7e00d98", "1,Extension 99599") in new stack
Extension 99599
-- Executing [99599@internal:2] Dial("OOH323/995-b7e00d98", "SIP/99599,30,tTr") in new stack
+++ h323_new
+++ onAlerting ooh323c_4
== Using SIP RTP CoS mark 5
-- Called 99599
----- ooh323_indicate 3 on call ooh323c_4
++++ ooh323_indicate 3 on ooh323c_4
-- SIP/99599-b7c02790 is ringing
----- ooh323_indicate 3 on call ooh323c_4
++++ ooh323_indicate 3 on ooh323c_4
-- SIP/99599-b7c02790 answered OOH323/995-b7e00d98
----- ooh323_indicate -1 on call ooh323c_4
++++ ooh323_indicate -1 on ooh323c_4
--- ooh323_answer
+++ ooh323_answer
----- ooh323_indicate -1 on call ooh323c_4
++++ ooh323_indicate -1 on ooh323c_4
----- ooh323_indicate 20 on call ooh323c_4
[Aug 6 11:29:02] WARNING[2756]: chan_ooh323.c:979 ooh323_indicate: Don't know how to indicate condition 20 on ooh323c_4
++++ ooh323_indicate 20 on ooh323c_4
--- onCallEstablished ooh323c_4
--- find_call
+++ find_call
+++ onCallEstablished ooh323c_4
--- onCallCleared ooh323c_4
--- find_call
+++ find_call
== Spawn extension (internal, 99599, 2) exited non-zero on 'OOH323/995-b7e00d98'
--- ooh323_hangup
hanging 995
+++ ooh323_hangup
--- ooh323_destroy
Destroying 995
+++ ooh323_destroy
----
|
|
Сообщений: 1129
|
Re: Asterisk - H323 - CCM
+++ onCallEstablished ooh323c_4
--- onCallCleared ooh323c_4
мало
лог sip между этим надо
ортодоксальный антиастерискер || антилинуксоид! (астериск || линукс) - иррациональное решение!. и здесь я тоже http://forum.asterisk.ru
|
|
Сообщений: 24
|
Re: Asterisk - H323 - CCM
Включил лог SIP, сделал звонок - Между этими строками нет ничего от SIP.
Но вот при включенном логе RTP получилось вот что:
-------
[Aug 6 11:44:51] WARNING[5771]: chan_ooh323.c:979 ooh323_indicate: Don't know how to indicate condition 20 on ooh323c_6
++++ ooh323_indicate 20 on ooh323c_6
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023262, ts 2868332292, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023263, ts 2868332452, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023264, ts 2868332612, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023265, ts 2868332772, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023266, ts 2868332932, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023267, ts 2868333092, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023268, ts 2868333252, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023269, ts 2868333412, len 000160)
--- onCallEstablished ooh323c_6
--- find_call
+++ find_call
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023270, ts 2868333572, len 000160)
+++ onCallEstablished ooh323c_6
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023271, ts 2868333732, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023272, ts 2868333892, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023273, ts 2868334052, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023274, ts 2868334212, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023275, ts 2868334372, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023276, ts 2868334532, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023277, ts 2868334692, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023278, ts 2868334852, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023279, ts 2868335012, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023280, ts 2868335172, len 000160)
Got RTP packet from 10.4.135.226:18180 (type 00, seq 023281, ts 2868335332, len 000160)
--- onCallCleared ooh323c_6
|
|
Сообщений: 196
|
Re: Asterisk - H323 - CCM
связывал * с CCM и по сипу и по h.323 (openh323), без каких-либо проблем
попробуйте через openh323, не получится - кидайте сюда конфиги астера и скрины с CCM
|
|
Откуда: Пенза
Сообщений: 112
|
Re: Asterisk - H323 - CCM
при дебаге chan_ooh323 в консоле информации мало полезной выдаётся...лучше смотреть /var/log/asterisk/h323...
...Вы пытаетесь использовать модуль chan_ooh323, а по его работоспособности много написано и на этом форуме и на других...у меня этот модуль с Alcatel OXO не заработал...у Вас в конфиге стоит faststart=no и h245tunneling=no портобуйте обе стороны перевести в faststart (может быть заработает)....
...попробуйте модуль chan_h323 более стабильный
|
|
Сообщений: 26
|
Re: Asterisk - H323 - CCM
Насколько я понял из лога:
-- Executing [99502@internal:1] Dial("SCCP/99598-00000006", "OOH323/99502@10.7.130.1:1720") in new stack
--- ooh323_request - data 99502@10.7.130.1:1720 format 0x8 (alaw)
--- ooh323_alloc
== Using ooh323 TOS bits 16
+++ ooh323_alloc
--- find_peer "995"
вы пользуетесь ооh323
Недавно пытался зделать звонок на внешний h323
через канал ooh323 и нашел в исходном коде
грубейшую ошибку может она вас спасет
[root@server ~]# cat /root/rpmbuild/BUILD/asterisk-addons-1.6.1.0/channels/chan_ooh323.c | grep tmp
1 char tmp[256];
2 ast_copy_string(tmp, data, sizeof(data));
3 dest = strchr(tmp, '/');
4 ext = tmp;
5 } else if ((dest = strchr(tmp, '@'))) {
6 ext = tmp;
7 dest = tmp;
в строчке 2 копируется всего только 3 байта (--- find_peer "995") хотя вы в действительности указываете "OOH323/99502@10.7.130.1:1720"
в доке написано
; For dialing into another asterisk peer at a specific exten
; OOH323/exten/peer OR OOH323/exten@ip
для правильной отработки как написано в доке надо поправить строчку 2
с ast_copy_string(tmp, data, sizeof(data));
на ast_copy_string(tmp, data, sizeof(tmp));
|
|
Сообщений: 24
|
Re: Asterisk - H323 - CCM
inki-sasha: я проверил Вашу теорию - не помогло.
Поведение системы не изменилось.
Пытаюсь поиграться с другим модулем h323
|
|
Сообщений: 24
|
Re: Asterisk - H323 - CCM
По совету terminal пробовал Open H323 - Теперь гудок слышу в обе стороны, а голоса нет. Похоже RTP не поднимается.
Вот h323.conf:
[general]
port = 1720
bindaddr = 10.4.131.116
disallow=all
allow=gsm
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=internal
progress_setup = 3
progress_audio = yes
hold=q931only
[995]
type=peer
host=10.7.130.1
faststart=no
context=internal
--------------
extensions.conf
exten => 99598,1,Verbose(1,Extension 99598)
exten => 99598,n,Dial(SCCP/99598,30,tTr)
exten => 99598,n,Voicemail(99598@default,sb)
exten => 99598,n,PlayBack(vm-goodbye)
exten => 99598,n,Hangup()
exten => _9950X,1,Dial(H323/${EXTEN}@10.7.130.1:1720)
exten => _9950X,n,Congestion
-------------
Вот звонок в сторону CCM:
---------
*CLI> -- Executing [99502@internal:1] Dial("SCCP/99598-00000001", "H323/99502@10.7.130.1:1720") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Making call to 99502@10.7.130.1:1720 without gatekeeper.
Using 10.4.131.116 for outbound call
== New H.323 Connection created.
-- root is calling host 99502@10.7.130.1:1720
-- Call token is ip$localhost/17088
-- Call reference is 17088
-- DTMF Payload is 0x992defc
-- Called 99502@10.7.130.1:1720
Setting capabilities to 0xe (gsm|ulaw|alaw)
Capabilities in preference order is (gsm|ulaw|alaw)
DTMF mode is 1
Allowed Codecs for ip$localhost/17088 (ip$10.4.131.116:47388):
Table:
GSM-06.10 <1>
G.711-uLaw-64k <2>
G.711-ALaw-64k <3>
UserInput/hookflash <4>
UserInput/RFC2833 <5>
Set:
0:
0:
GSM-06.10 <1>
G.711-uLaw-64k <2>
G.711-ALaw-64k <3>
1:
UserInput/hookflash <4>
2:
UserInput/RFC2833 <5>
-- Sending SETUP message
-- Receiving RFC2833 on payload 101
Received non-standard Cisco extension data 8 octets {
80 a4 00 04 00 01 01 00 ........
}
H323_UU_NonStdInfo = {
callMgrParam = {
interclusterVersion = 1
enterpriseID = 0 octets {
}
}
}
Received non-standard Cisco extension data 8 octets {
80 a4 00 04 00 01 01 00 ........
}
H323_UU_NonStdInfo = {
callMgrParam = {
interclusterVersion = 1
enterpriseID = 0 octets {
}
}
}
=-= In OnAlerting for call 17088: sessionId=0
-- Ringing phone for "99502"
- Progress Indicator: 0
-- H323/10.7.130.1:1720-3 is ringing
-- H323/10.7.130.1:1720-3 is ringing
Received non-standard Cisco extension data 8 octets {
80 a4 00 04 00 01 01 00 ........
}
H323_UU_NonStdInfo = {
callMgrParam = {
interclusterVersion = 1
enterpriseID = 0 octets {
}
}
}
Using 10.4.131.116 for outbound H.245 transport
-- ClearCall: Request to clear call with token ip$localhost/17088, cause EndedByRefusal
-- Sending RELEASE COMPLETE
-- ClearCall: Request to clear call with token ip$localhost/17088, cause EndedByTransportFail
-- 99502 did not accept your call
== H.323 Connection deleted.
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [99502@internal:2] Congestion("SCCP/99598-00000001", "") in new stack
== Spawn extension (internal, 99502, 2) exited non-zero on 'SCCP/99598-00000001'
----------
|
|
Сообщений: 6521
|
Re: Asterisk - H323 - CCM
http://asterisk.ru/knowledgebase/asterisk-h323
http://asterisk.ru/more/cucm
|
|