Le 29/01/2024 à 19:34, Jonas Smedegaard a écrit :
[...]
That phrase exists in debian/patches/2016_opus_plc.patch which is
derived from Xopus/enable_native_plc.patch which (thanks to
debian/watch) is fetched from original at
https://github.com/traud/asterisk-opus/blob/asterisk-13.7/enable_native_plc.patch
OK. Questions:

. what does mean plc ?
The purpose of the patch is described at the top of the patch itself.
/* Determine the amount of lost packets for PLC */ but still I don´t know what is PLC ;)


. opus is not used in my case so why I receive those notice ? (Reminder:
allow=!all,g722,alaw,ulaw)
If you do not use opus, then configure your Asterisk instance to not
*load* the module which you don't want.

This still doesn't explain why without opus activated (even if loaded) it is involved

I remove it from modules.conf

noload => codec_opus_open_source.so
noload => format_ogg_opus_open_source.so
noload => res_format_attr_opus.so

but still the NOTICE appears

[2024-01-30 09:39:35] NOTICE[2281972][C-00000001]: translate.c:603 ast_translate: 244 lost frame(s) 245/0 (gsm@8000)->(slin@8000)->(g722@16000) [2024-01-30 09:39:40] NOTICE[2281972][C-00000001]: translate.c:603 ast_translate: 494 lost frame(s) 495/0 (gsm@8000)->(slin@8000)->(g722@16000) [2024-01-30 09:39:45] NOTICE[2281972][C-00000001]: translate.c:603 ast_translate: 744 lost frame(s) 745/0 (gsm@8000)->(slin@8000)->(g722@16000)

Please notice (:D) that the message appears each 250 frame

From our production server

[2024-01-30 09:46:14] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 47227/31226 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:19] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 47477/31476 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:24] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 47727/31726 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:29] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 47977/31976 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:34] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 15999 lost frame(s) 48227/32227 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:39] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 48477/32476 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:44] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 48727/32726 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:49] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 15999 lost frame(s) 48977/32977 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:54] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 49227/33226 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:46:59] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 49477/33476 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:04] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 49727/33726 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:09] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 49977/33976 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:14] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 50227/34226 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:19] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 50477/34476 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:24] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 50727/34726 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:29] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 50977/34976 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:34] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 51227/35226 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:39] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 51477/35476 (slin@16000)->(slin@8000)->(alaw@8000) [2024-01-30 09:47:44] NOTICE[3563411][C-00000681]: translate.c:603 ast_translate: 16000 lost frame(s) 51727/35726 (slin@16000)->(slin@8000)->(alaw@8000)

same, 250 frames

[...]

. in src I see /* not DEBUG but NOTICE because of WARNING in
main/cannel.c:__ast_queue_frame */

DEBUG should be more suitable but as I don´t understant above sentance ...
I don't know which severity is more suitable for that code.
In CLI we always have NOTICE,WARNING and ERROR logs, DEBUG not needed. The above part of our today capture shows that CLI is not really usable with all those messages appart of removing logging NOTICE from CLI

--
Daniel

Reply via email to