Fix presence from component sub-addresses
Commit Debian 3.0 (quilt) metadata
[dgit (8.5) quilt-fixup]
Apply patch from eta
[PATCH] chan_sip: Handle invalid SDP answer to T.38 re-invite
The chan_sip module performs a T.38 re-invite using a single media
stream of udptl, and expects the SDP answer to be the same.
If an SDP answer is received instead that contains an additional
media stream with no joint codec a crash will occur as the code
assumes that at least one joint codec will exist in this
This change removes this assumption.
Gbp-Pq: Name AST-2019-003.patch
[PATCH] res_pjsip_messaging: Check for body in in-dialog message
We now check that a body exists and it has a length > 0 before
attempting to process it.
Reported-by: Gil Richard
Gbp-Pq: Name AST-2019-002.patch
Update autoconf files for pjproject
config.guess and config.sub for pjproject are six years old, this
makes the build FTBFS on newer architectures like ppc64el.
Unfortunately the sources are only unpacked during the toplevel
./configure run, so we cannot solve this with dh_autoreconf
Gbp-Pq: Name autoreconf-pjproject
Gbp-Pq: Name build-reproducibly
Include subdirs (not main dir) for FFmpeg paths
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
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
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
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/>
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
is AMR-WB. Research papers comparing AMR and AMR-WB with other audio
Gbp-Pq: Name amr.patch
Enable the test framework
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
Gbp-Pq: Name test_framework.patch
A systemd service
Do away with safe_asterisk. But try very hard to let live_ast work with
Gbp-Pq: Name systemd.patch
Enable the aelparse application.
Gbp-Pq: Name aelparse_enable.patch
Enable the smsq application.
Gbp-Pq: Name smsq_enable.patch
disable building asterisk with -march=native
Don't add -march=native to standard CFLAGS. We need a generic binary.
Gbp-Pq: Name no_native_arch.patch
reenable some drivers
Gbp-Pq: Name reenable
place asterisk read-only data files under /usr/share
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
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
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
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
Asterisk configures several sound files to be installed that are not
included in the distribution tarball. Those files are downloaded by the
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
Gbp-Pq: Name sound_files