Bug#1060275: asterisk: Codec translation notice

Daniel tech at tootai.net
Mon Jan 8 15:22:19 GMT 2024


Package: asterisk
Version: 1:20.5.2~dfsg+~cs6.13.40431414-1
Severity: normal
Tags: upstream

Dear Maintainer,

after upgrading from Debian11/asterisk 18.20.2 compiled from source to Debian12/Asterisk 20.5.2 from unstable, we receive lots of NOTICE logs like

[2024-01-08 11:35:31] NOTICE[58221][C-0000028a]: translate.c:603 ast_translate: 18182 lost frame(s) 48240/30057 (alaw at 8000)->(ulaw at 8000)
[2024-01-08 11:35:31] NOTICE[58710][C-00000298]: translate.c:603 ast_translate: 1253 lost frame(s) 1254/0 (slin at 16000)->(slin at 8000)->(alaw at 8000)

doesn't matter IAX2 or PJSIP endpoints. We are surprised to see such notice between alaw & ulaw. Codecs used for PJSIP and IAX customers EP are
!all,g722,ulaw,alaw and for providers !all,ulaw,alaw

We checked translation and tried by adding slin,slin16 on both sides, no changes. On 18.20.2 we didn't have this behaviour.

Answer we get from asterisk community list "If you’re using the Debian package, then that includes patches which are not present in Asterisk mainline.
Those log messages, and some codec translation behavior, is from one of those patches."

Thanks for your support

-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-17-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages asterisk depends on:
ii  adduser                  3.134
ii  asterisk-config          1:20.5.2~dfsg+~cs6.13.40431414-1
ii  asterisk-core-sounds-en  1.6.1-1
ii  asterisk-modules         1:20.5.2~dfsg+~cs6.13.40431414-1
ii  init-system-helpers      1.65.2
ii  libc6                    2.36-9+deb12u3
ii  libcap2                  1:2.66-4
ii  libcrypt1                1:4.4.33-2
ii  libedit2                 3.1-20221030-2
ii  libjansson4              2.14-2
ii  libpopt0                 1.19+dfsg-1
ii  libsqlite3-0             3.40.1-2
ii  libssl3                  3.0.11-1~deb12u2
ii  libsystemd0              252.19-1~deb12u1
ii  liburiparser1            0.9.7+dfsg-2
ii  libuuid1                 2.38.1-5+b1
ii  libxml2                  2.9.14+dfsg-1.3~deb12u1
ii  libxslt1.1               1.1.35-1

Versions of packages asterisk recommends:
ii  asterisk-moh-opsound-gsm  2.03-1.1
ii  sox                       14.4.2+git20190427-4

Versions of packages asterisk suggests:
pn  asterisk-dahdi   <none>
pn  asterisk-dev     <none>
pn  asterisk-doc     <none>
pn  asterisk-ooh323  <none>
pn  asterisk-opus    <none>

-- no debconf information


More information about the Pkg-voip-maintainers mailing list