Bug#875450: asterisk-modules: One way audio when transcoding

Michael Bussmann debian at mb-net.net
Mon Sep 11 13:08:38 UTC 2017


Package: asterisk-modules
Version: 1:13.14.1~dfsg-2+deb9u1
Severity: important
Tags: upstream

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Asterisk 1:13.14.1~dfsg-2+deb9u1 on Stretch seems to be affected by 
upstream bug 26143 mentioned in

| https://issues.asterisk.org/jira/browse/ASTERISK-26143

that results in one-way audio when bridging two channels with different 
codecs.

I re-packaged asterisk-modules with the following patch as suggested by
upstream and I can confirm it fixes the bug for me.

Cheers,
Michael

- --- asterisk-13.14.1~dfsg.orig/channels/chan_sip.c
+++ asterisk-13.14.1~dfsg/channels/chan_sip.c
@@ -33367,7 +33367,8 @@ static void sip_get_codec(struct ast_cha
 {
 	struct sip_pvt *p = ast_channel_tech_pvt(chan);
 
- -	ast_format_cap_append_from_cap(result, !ast_format_cap_count(p->peercaps) ? p->caps : p->peercaps, AST_MEDIA_TYPE_UNKNOWN);
+	ast_format_cap_append_from_cap(result, ast_channel_nativeformats(chan), AST_MEDIA_TYPE_UNKNOWN);
 }
 
 static struct ast_rtp_glue sip_rtp_glue = {


- -- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (700, 'stable-updates'), (700, 'stable'), (100, 'unstable'), (100, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages asterisk-modules depends on:
ii  libasound2                        1.1.3-5
ii  libavcodec57                      7:3.2.7-1~deb9u1
ii  libc6                             2.24-11+deb9u1
ii  libcurl3                          7.52.1-5
ii  libglib2.0-0                      2.50.3-2
ii  libgmime-2.6-0                    2.6.22+dfsg2-1
ii  libgsm1                           1.0.13-4+b2
ii  libical2                          2.0.0-0.5+b1
ii  libiksemel3                       1.4-3+b1
ii  libjack-jackd2-0 [libjack-0.125]  1.9.10+20150825git1ed50c92~dfsg-5
ii  libldap-2.4-2                     2.4.44+dfsg-5
ii  liblua5.1-0                       5.1.5-8.1+b2
ii  libneon27-gnutls                  0.30.2-2
ii  libodbc1                          2.3.4-1
ii  libogg0                           1.3.2-1
ii  libopencore-amrnb0                0.1.3-2.1+b2
ii  libopencore-amrwb0                0.1.3-2.1+b2
ii  libopus0                          1.2~alpha2-1
ii  libpj2                            2.5.5~dfsg-6
ii  libpjlib-util2                    2.5.5~dfsg-6
ii  libpjmedia-audiodev2              2.5.5~dfsg-6
ii  libpjmedia-codec2                 2.5.5~dfsg-6
ii  libpjmedia-videodev2              2.5.5~dfsg-6
ii  libpjmedia2                       2.5.5~dfsg-6
ii  libpjnath2                        2.5.5~dfsg-6
ii  libpjsip-simple2                  2.5.5~dfsg-6
ii  libpjsip-ua2                      2.5.5~dfsg-6
ii  libpjsip2                         2.5.5~dfsg-6
ii  libpjsua2                         2.5.5~dfsg-6
ii  libpjsua2-2v5                     2.5.5~dfsg-6
ii  libportaudio2                     19.6.0-1
ii  libpq5                            9.6.4-0+deb9u1
ii  libradcli4                        1.2.6-4
ii  libresample1                      0.1.3-4
ii  libspandsp2                       0.0.6+dfsg-0.1
ii  libspeex1                         1.2~rc1.2-1+b2
ii  libspeexdsp1                      1.2~rc1.2-1+b2
ii  libsqlite0                        2.8.17-14
ii  libsqlite3-0                      3.16.2-5
ii  libsrtp0                          1.4.5~20130609~dfsg-2
ii  libssl1.1                         1.1.0f-3
ii  libstdc++6                        6.3.0-18
ii  libswscale4                       7:3.2.7-1~deb9u1
ii  libsybdb5                         0.91-6.1+b4
ii  libtiff5                          4.0.8-2+deb9u1
ii  libvo-amrwbenc0                   0.1.3-1
ii  libvorbis0a                       1.3.5-4
ii  libvorbisenc2                     1.3.5-4
ii  libvorbisfile3                    1.3.5-4
ii  libx11-6                          2:1.6.4-3
ii  libxml2                           2.9.4+dfsg1-2.2+deb9u1
ii  zlib1g                            1:1.2.8.dfsg-5

asterisk-modules recommends no packages.

asterisk-modules suggests no packages.

-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEEwElvtpRk+9OW4lW2do5tegzWJoEFAlm2itYSHGRlYmlhbkBt
Yi1uZXQubmV0AAoJEHaObXoM1iaB5dkH/jt7X3SRcfgFqcobE6JLkJ1hPc2IFoAS
PCob8TWv1DcaNI3EPCvnzAn8mNqy01QNpj/eFVhb/8L/AuFFwf8dfAsEudFe3eTW
KDc8nK+lhaipFXHqrbGSZgUcOvc5nLISYXlwxSUlYnmv1km+JunAF4II2xfEIOl+
RihUYFbHyA3UME7uIBWK/uQMT53uRX6Lumb+iZLuGWDKIpiiCg0rFt9DdXNsvzEA
YVkb53OSwd++LayI0+EUrMMKCWtRoqeli7tTkGlzt1Viu5N8LPgEN9M4FfXTIJbE
N7ZBjv3kppq2Ynn3PLViIJRCOAOvDkdauaKeRPtFsXSh6k/P6vRludU=
=0YoB
-----END PGP SIGNATURE-----



More information about the Pkg-voip-maintainers mailing list