Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#464 closed улучшение (invalid)

Дублирование CDR в логе

Reported by: san Owned by: alx
Priority: низкий Milestone: 1 очередь
Component: sw Keywords:
Cc:

Description (last modified by san)

Анализируя логи присланные пользователем я заметил, что каждая запись CDR дублируется по два раза. Скачал лог с нашей АТС и там тоже самое. Судя по всему VE-01 шлёт по два сообщения на каждую CDR. Может быть это сделано для повышения вероятности передачи?
Думаю, что дублирование захламляет лог, предлагаю избавиться от этого эффекта.
(оригиналы логов можно скачать с нашей АТС)
r1815
Версия ПО VE-01 = 56

Sep  9 09:23:11 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599643354,"duration":27,"hangup":1599643381,"org-host":"192.168.0.4","org-name":"Котельников О. Б.","org-scheme":"tel","org-type":"FXS","org-user":"307","to-hos
Sep  9 09:23:11 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599643354,"duration":27,"hangup":1599643381,"org-host":"192.168.0.4","org-name":"Котельников О. Б.","org-scheme":"tel","org-type":"FXS","org-user":"307","to-hos
Sep  9 09:25:33 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599643371,"duration":153,"hangup":1599643524,"org-host":"192.168.0.4","org-name":"Мильченко В.","org-port":"5060","org-scheme":"sip","org-user":"525","to-host":"19
Sep  9 09:25:34 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599643371,"duration":153,"hangup":1599643524,"org-host":"192.168.0.13","org-name":"Мильченко В.","org-scheme":"sip","org-user":"525","to-host":"192.168.0.4","to-sc
Sep  9 09:25:34 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599643371,"duration":153,"hangup":1599643524,"org-host":"192.168.0.4","org-name":"Мильченко В.","org-port":"5060","org-scheme":"sip","org-user":"525","to-host":"19
Sep  9 09:25:34 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599643371,"duration":153,"hangup":1599643524,"org-host":"192.168.0.13","org-name":"Мильченко В.","org-scheme":"sip","org-user":"525","to-host":"192.168.0.4","to-sc
Sep  9 09:49:06 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599644855,"duration":81,"hangup":1599644936,"org-host":"192.168.0.4","org-name":"Неволин А. Е.","org-scheme":"tel","org-type":"FXS","org-user":"322","to-host":"192.
Sep  9 09:49:06 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599644855,"duration":81,"hangup":1599644936,"org-host":"192.168.0.13","org-name":"Неволин А. Е.","org-scheme":"sip","org-user":"322","to-host":"192.168.0.4","to-sch
Sep  9 09:49:06 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599644855,"duration":81,"hangup":1599644936,"org-host":"192.168.0.4","org-name":"Неволин А. Е.","org-scheme":"tel","org-type":"FXS","org-user":"322","to-host":"192.
Sep  9 09:49:06 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599644855,"duration":81,"hangup":1599644936,"org-host":"192.168.0.13","org-name":"Неволин А. Е.","org-scheme":"sip","org-user":"322","to-host":"192.168.0.4","to-sch
Sep  9 09:57:10 sw01 daemon.info swd[20451]: board_VE01.cpp:1310: slot 10: --> CDR: {"answer":1599645410,"duration":10,"hangup":1599645420,"org-host":"192.168.0.4","org-name":"Котельников О. Б.","org-scheme":"tel","org-type":"FXS","org-user":"307","to-hos


Change History (3)

comment:1 by san, 4 years ago

Description: modified (diff)

comment:2 by alx, 4 years ago

Resolution: invalid
Status: newclosed

Вывод CDR в лог был сделан в диагностических целях после жалобы одного из клиентов на отсутствие CDR после успешных звонков. Позже после твоего устного сообщения о том, что проблема решилась, вывод CDR был убран. В текущей ревизии swd CDR в лог не выводится.

comment:3 by san, 4 years ago

Ага, действительно, я знал, но забыл :-)

Note: See TracTickets for help on using tickets.