Bug#1025165: No opus transcoding available after asterisk install
Faidon Liambotis
paravoid at debian.org
Mon Aug 7 13:56:45 BST 2023
Hi Jonas,
On Thu, May 04, 2023 at 01:43:33PM +0300, Faidon Liambotis wrote:
> Control: found -1 1:20.2.1~dfsg+~cs6.13.40431413-1
> Control: tags -1 patch
>
> On Wed, Nov 30, 2022 at 04:18:24PM +0100, IB Development Team wrote:
> > Package: asterisk
> > Version: 1:16.28.0~dfsg-0+deb10u1
> >
> > In clean Debian 10 after
> >
> > apt-get install asterisk
> >
> > internal opus codec seems to be available in 'core show codecs' but not in
> > 'core show translation' and transcoding with opus does not work; same in
> > Debian 11 and asterisk 1:16.28.0~dfsg-0+deb11u1.
>
> I believe the reason is that codec_opus_open_source.so is not shipped,
> due to it not being built.
>
> Adding "ADDONS_ENABLE += codec_opus_open_source" to debian/rules (e.g.
> near the other ADDONS_ENABLE lines) addresses this issue. I've verified
> that "core show translation" shows opus in the matrix after that. I'm
> not sure why menuselect doesn't enable it by default.
>
> Separately, it looks like there is a patch (2015_opus.patch) to add
> libopusenc detection, used conditionally -if found- by the module
> format_ogg_opus_open_source. However, libopusenc-dev is not in
> Build-Depends. I've verified that the (already patched) build system
> picks it up if I add it, and shlibs etc. are added.
I saw you've made a couple of uploads since my response, so it looks
like the package is maintained (which is great news - thanks for that!).
It may not have been clear from the verbosity of my response, but the
fix for this bug is one line in debian/rules, and optionally another one
line (an addition to Build-Depends) for the related format_ogg issue.
would it be possible for you to have a quick look at this and thus
resolve this bug?
Thanks!
Faidon
More information about the Pkg-voip-maintainers
mailing list