Include subdirs (not main dir) for FFmpeg paths
Bug-Debian: http://bugs.debian.org/531728
Last-Update: 2016-03-21
Fix include FFmpeg headers from below /usr/include/ffmpeg/<libname>
(this change requires -I/usr/include/ffmpeg).
Gbp-Pq: Name ffmpeg-includes.patch
Modernize autotools FFmpeg linking
Bug-Debian: http://bugs.debian.org/531728
Last-Update: 2016-04-02
FFmpeg is a _family_ of libraries sharing an optional base subdir. That
is not properly reflected in the autoconf detection logic, and makes it
impossible to handle alternate location - e.g. when using Libav.
This patch queries pkg-config, used with recent FFmpeg, for files
"libavcodec" and "libswscale", the family members currently used.
Gbp-Pq: Name ffmpeg-detection.patch
Add AMR and AMR-WB codec modules supporting transcoding
Origin: https://github.com/traud/asterisk-amr
License: Unlicense
This is free and unencumbered software released into the public domain.
.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
.
For more information, please refer to <http://unlicense.org/>
Last-Update: 2016-08-29
To add a codec for SIP/SDP (m=, rtmap, and ftmp), you create a format
module in Asterisk: `codec_amr.patch` (for m= and rtmap) and
`res/res_format_attr_amr.c` (for fmtp). However, this requires both
call legs to support AMR (pass-through only). If one leg does not
support AMR, the call has no audio. Or, if you use the pre-recorded
voice and music files of Asterisk, these files cannot be heard, because
they are not in AMR but in slin. Therefore, this repository adds not
just a format module for the audio-codecs AMR and AMR-WB but a
transcoding module as well: `codecs/codec_amr.c`.
This is an implementation of IETF
[RFC 4867](http://tools.ietf.org/html/rfc4867). Sometimes, AMR is
called AMR Narrowband (AMR-NB). AMR Wideband (ITU-T Recommendation
G.722.2) is sometimes abbreviated W-AMR
([GSA](http://www.gsacom.com/hdvoice/)). GSMA Mobile
[HD Voice](https://www.youtube.com/playlist?&list=PLj1MyDu3jckpSciPQ1Max0W6HDSaY8-n4)
is AMR-WB. Research papers comparing AMR and AMR-WB with other audio
codecs:
[InterSpeech 2010](http://research.nokia.com/files/public/%5B12%5D_Interspeech%202010_Voice%20Quality%20Evaluation%20of%20Recent%20Open%20Source%20Codecs.pdf),
[ICASSP 2010](http://research.nokia.com/files/public/%5B11%5D_ICASSP2010_Voice%20Quality%20Evaluation%20of%20Various%20Codecs.pdf),
[InterSpeech 2011](http://research.nokia.com/files/public/%5B16%5D_InterSpeech2011_Voice_Quality_Characterization_of_IETF_Opus_Codec.pdf).
Further
[examples…](http://www.voiceage.com/Audio-Samples-Listening-Room.html)
Gbp-Pq: Name amr.patch
Enable the test framework
Last-Update: 2016-12-23
Forwarded: no
Test modules are normally only enabled in development mode. This patch
enables them without the need to enable dev-mode.
The modules provide simple tests. Try: asterisk -rx 'test execute all'
Those modules should not be confused with the tests in the
asterisk-testsute package.
Gbp-Pq: Name test_framework.patch
A systemd service
Last-Update: 2016-04-02
Do away with safe_asterisk. But try very hard to let live_ast work with
it.
Gbp-Pq: Name systemd.patch
disable building asterisk with -march=native
Bug-Debian: https://bugs.debian.org/842917
Forwarded: no
Don't add -march=native to standard CFLAGS. We need a generic binary.
Gbp-Pq: Name no_native_arch.patch
reenable some drivers
Last-Update: 2016-03-19
Gbp-Pq: Name reenable
place asterisk read-only data files under /usr/share
Forwarded: no
Last-Update: 2016-03-19
On Debian read-only resources belong under /usr. The space taken from
the writable /var should be minimized.
Upstream prefers defaults to have those files under /var/lib, though
supports a separate datadir.
Gbp-Pq: Name astdatadir
disable building codec_ilbc
Bug-Debian: https://bugs.debian.org/665938
Bug-Debian: https://bugs.debian.org/665937
Forwarded-Upstream: no
Last-Update: 2016-03-19
As we have to strip the ilbc code from asterisk, we need to disable
building codec_ilbc and cleaning the ilbc/ directory.
Patch needs to be cleaned-up to be uploaded upstream.
FIXME: module now seems to potentially use libilbc. If it can be
packaged into Debian, no reason to remove it.
Gbp-Pq: Name ilbc_disable
enable modules formly from asterisk-addons
Applied-Upsteam: no
Last-Update: 2016-03-19
The modules under addons/ are originally from the separate
asterisk-addons package. As of asterisk 1.8 they are included in the
main Asterisk distribution but not enabled by default. this patch
enables them, as it seems valid in Debian.
format_mp3.c is not enabled, yet, though: the complete source is not
included. See contrib/scripts/get_mp3_source.sh in the source tree.
Gbp-Pq: Name enable_addons
mpglib code originally in asterisk-addons
Origin: http://svn.digium.com/svn/thirdparty/mp3/trunk
Last-Update: 2018-11-17
The package asterisk-addons originally included mpglib. After the merge
with asterisk, that code is no longer included and needs to be fetched
(contrib/scripts/get_mpg_source.sh). This patch includes that fetched
source (rev. 202).
TODO: get rid of this code and use libmpg123 or whatever.
Gbp-Pq: Name mpglib
Avoid downloading extra sound files
Forwarded: no
Last-Update: 2016-04-02
Asterisk configures several sound files to be installed that are not
included in the distribution tarball. Those files are downloaded by the
'install' target.
The exact files to be downloaded is configurable. Here we change the
default to avoid downloading any. We believe those should be part of a
separate source package (as they rarely change, and have their own
versioning).
Gbp-Pq: Name sound_files
astgenkey should generate a private key that is not world-readable
Bug: http://issues.asterisk.org/view.php?id=12373
Last-Update: 2016-03-19
Upstream has not accepted this patch and chose instead to document this
as a known minor issue.
Gbp-Pq: Name astgenkey-security
build multiple versions of app_voicemail.so
Bug: http://issues.asterisk.org/view.php?id=13822
Last-Update: 2016-03-19
This is a very ugly hack on upstream's Makefiles to allow building
multiple variants of app_voicemail. Three variants are created:
* app_voicemail.so: plain old filesystem storage that doesn't break
existing setups
* app_voicemail_imapstorage.so: IMAP storage
* app_voicemail_odbcstorage.so: ODBC storage
All these conflict with each other and Asterisk will refuse to load
them concurrently. They are thus included in three separate and
complicting packages.
Patch suggested to upstream but rejected for being "hackish". Though
upstream RPM packages include packages that are only somewhat cleaner.
Gbp-Pq: Name hack-multiple-app-voicemail
asterisk (1:16.2.1~dfsg-1+deb10u1) buster; urgency=medium
* AST-2019-002 / CVE-2019-12827
Buffer overflow in res_pjsip_messaging (Closes: #931980)
* AST-2019-003 / CVE-2019-13161
Remote Crash Vulnerability in chan_sip (Closes: #931981)
* d/gbp.conf: Update for Buster branch
[dgit import unpatched asterisk 1:16.2.1~dfsg-1+deb10u1]
Import asterisk_16.2.1~dfsg-1+deb10u1.debian.tar.xz
[dgit import tarball asterisk 1:16.2.1~dfsg-1+deb10u1 asterisk_16.2.1~dfsg-1+deb10u1.debian.tar.xz]
Import asterisk_16.2.1~dfsg.orig.tar.xz
[dgit import orig asterisk_16.2.1~dfsg.orig.tar.xz]