amateur писал(а):vlego писал(а):по вышеуказанной инструкции
Простите, Вы какую из четырех упомянутых в этой теме имеете в виду?
Приветствую "amateur".
У меня получилось собрать астериск с h323 из ваших сценариев. Пока все работает, загрузка самая минимальная. Используется с Avaya СМ 3.
Сегодня заметил что канал подвис. Но, как мне кажется подвис на Avaya, астериск поднимал h323 канал:
Код: Выделить всё
----- oh323_queryoption 16 on channel H323/avaya-59
+++++ oh323_queryoption 16 on channel H323/avaya-59
-- Making call to 354@130.60.0.176:1720 without gatekeeper.
Using 130.60.0.119 for outbound call
== New H.323 Connection created.
-- root is calling host 354@130.60.0.176:1720
-- Call token is ip$localhost/4941
-- Call reference is 4941
-- DTMF Payload is 0xb49636a8
DTMF mode is 8
Allowed Codecs for ip$localhost/4941 (ip$130.60.0.119:59446):
Table:
G.711-ALaw-64k <1>
G.711-uLaw-64k <2>
UserInput/hookflash <3>
UserInput/basicString <4>
Set:
0:
0:
G.711-ALaw-64k <1>
G.711-uLaw-64k <2>
1:
UserInput/hookflash <3>
2:
UserInput/basicString <4>
-- Sending SETUP message
-- Sending RELEASE COMPLETE
-- ClearCall: Request to clear call with token ip$localhost/4941, cause EndedByTransportFail
-- ClearCall: Request to clear call with token ip$localhost/4941, cause EndedByRemoteUser
[Mar 31 07:51:08] ERROR[21309][C-00000063]: cdr_csv.c:304 csv_log: Unable to re-open master file /root/var/log/asterisk//cdr-csv//Master.csv : No such file or directory
-- 354 has cleared the call
== H.323 Connection deleted.
а на avaya ничего не приходило, конечно после busy tru и rele tru все заработало, на станции никаких работ не проводилось.
А вот лог рабочего вызова:
Код: Выделить всё
----- oh323_queryoption 16 on channel H323/avaya-61
+++++ oh323_queryoption 16 on channel H323/avaya-61
-- Making call to 354@130.60.0.176:1720 without gatekeeper.
Using 130.60.0.119 for outbound call
== New H.323 Connection created.
-- root is calling host 354@130.60.0.176:1720
-- Call token is ip$localhost/4943
-- Call reference is 4943
-- DTMF Payload is 0xb49ac390
DTMF mode is 8
Allowed Codecs for ip$localhost/4943 (ip$130.60.0.119:52051):
Table:
G.711-ALaw-64k <1>
G.711-uLaw-64k <2>
UserInput/hookflash <3>
UserInput/basicString <4>
Set:
0:
0:
G.711-ALaw-64k <1>
G.711-uLaw-64k <2>
1:
UserInput/hookflash <3>
2:
UserInput/basicString <4>
-- Sending SETUP message
- Progress Indicator: 1
-- Received Facility message...
Peer capability is G.711-ALaw-64k <1>
Found peer capability G.711-ALaw-64k <1>, Asterisk code is 100004, frame size (in ms) is 20
Peer capability is G.711-uLaw-64k <3>
Found peer capability G.711-uLaw-64k <3>, Asterisk code is 100003, frame size (in ms) is 20
Peer capabilities = (ulaw|alaw), ordered list is (alaw|ulaw)
-- Received Facility message...
-- Received Facility message...
-- Received Facility message...
-- Received Facility message...
-- Received Facility message...
-- Started logical channel: receiving G.711-ALaw-64k
-- channelsOpen = 1
-- Started logical channel: sending G.711-ALaw-64k
-- channelsOpen = 2
-- Received Facility message...
MyH323_ExternalRTPChannel::OnReceivedAckPDU
-- remoteIpAddress: 130.60.0.177
-- remotePort: 19200
[Mar 31 07:52:35] NOTICE[21314][C-00000065]: chan_h323.c:847 oh323_rtp_read: Inband DTMF is not supported on codec alaw. Use RFC2833
=-= In OnConnectionEstablished for call 4943
-- Connection Established with "354"
[Mar 31 07:52:50] ERROR[21314][C-00000065]: cdr_csv.c:304 csv_log: Unable to re-open master file /root/var/log/asterisk//cdr-csv//Master.csv : No such file or directory
-- Sending RELEASE COMPLETE
-- ClearCall: Request to clear call with token ip$localhost/4943, cause EndedByRemoteUser
channelsOpen = 1
channelsOpen = 0
ExternalRTPChannel Destroyed
ExternalRTPChannel Destroyed
-- ClearCall: Request to clear call with token ip$localhost/4943, cause EndedByTransportFail
-- 354 has cleared the call
== H.323 Connection deleted.
не понимаю вот эту строку - "Inband DTMF is not supported on codec alaw. Use RFC2833", в настройках установлено везде RFC2833. При этой ошибке связь работает, голос ходит в обе стороны.
схема:
https://drive.google.com/file/d/0ByGcd9 ... sp=sharing