Bug#1060275: asterisk: Codec translation notice

List Support list at tootai.net
Wed Jan 10 17:01:22 GMT 2024


Hi Jonas

Le 09/01/2024 à 13:50, List Support a écrit :
> [...]
> 
> We will uninstall this build and install the same 20.5.2 from unstable 
> to do some checks, it seems to iax + g722 related. Will come back to you 
> this week.

We removed self compiled stock asterisk with "make uninstall" which keep 
our configuration and installed

Asterisk 20.5.2~dfsg+~cs6.13.40431414-1 built by nobody @ 
buildd.debian.org on a unknown running Linux on 2023-12-22 12:58:28 UTC

We place a SIP call to a mobile phone using a SIP provider with codecs 
set to "allow=!all,alaw", our codecs being "allow=!all,g772,alaw", both 
using PJSIP. Output is below.

We did the same before removing our self compiled stock asterisk and 
didn't had this translate NOTICE, so problem is effective with Debian 
Asterisk package.


[2024-01-10 17:47:22] NOTICE[1174953][C-00000004]: translate.c:603 
ast_translate: 28291 lost frame(s) 31002/2710 (slin at 16000)->(g722 at 16000)
zone-s*CLI> pjsip show channelstats

 
...........Receive......... .........Transmit..........
  BridgeId ChannelId ........ UpTime.. Codec.   Count    Lost Pct 
Jitter   Count    Lost Pct  Jitter RTT....
 
===========================================================================================================

  a715444f 103104-00000003    00:00:10 alaw      204       0    0 
0.005    387       0    0   0.000   0.028
  a715444f zwr-freePBX-000000 00:00:10 g722      387       0    0 
0.001    355       0    0   0.000   0.000

Objects found: 2

[2024-01-10 17:47:27] NOTICE[1174953][C-00000004]: translate.c:603 
ast_translate: 28290 lost frame(s) 31252/2961 (slin at 16000)->(g722 at 16000)


Why slin is involved ? We also see it on our production server running 
same Debian version of Asterisk

[2024-01-10 16:22:40] NOTICE[278651][C-00000ed4]: translate.c:603 
ast_translate: 5954 lost frame(s) 5955/0 (slin at 8000)->(alaw at 8000)

or

[2024-01-10 16:07:01] NOTICE[277190][C-00000eaf]: translate.c:603 
ast_translate: 7414 lost frame(s) 41161/33746 
(slin at 16000)->(slin at 8000)->(alaw at 8000)

Please let us know which details you want from us (verbose, dump, debug, 
...) which could help you

-- 
Daniel



More information about the Pkg-voip-maintainers mailing list