~singpolyma/asterisk

Fix presence from component sub-addresses
Commit Debian 3.0 (quilt) metadata

[dgit (8.5) quilt-fixup]
Apply patch from eta

https://theta.eu.org/lx/asterisk.patch
54be5a36 — Francesco Castellano 1 year, 3 months ago
[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
scenario.

This change removes this assumption.

ASTERISK-28465

Change-Id: I8b02845b53344c6babe867a3f0a5231045c7ac87

Gbp-Pq: Name AST-2019-003.patch
1799ab0f — George Joseph 1 year, 3 months ago
[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.

ASTERISK-28447
Reported-by: Gil Richard

Change-Id: Ic469544b22ab848734636588d4c93426cc6f4b1f

Gbp-Pq: Name AST-2019-002.patch
2bc037b7 — Bernhard Schmidt 1 year, 1 month ago
Update autoconf files for pjproject

Last-Update: 2018-12-21

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
e5302831 — Debian VoIP Team 1 year, 1 month ago
build-reproducibly


Gbp-Pq: Name build-reproducibly
d430c5df — Jonas Smedegaard 1 year, 1 month ago
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
d5326229 — Jonas Smedegaard 1 year, 1 month ago
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
b8ccc1fc — Alexander Traud 1 year, 1 month ago
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
0c9efd10 — Tzafrir Cohen 1 year, 1 month ago
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
1133eb1b — Tzafrir Cohen 1 year, 1 month ago
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
aaf04016 — Jeremy Lainé 1 year, 1 month ago
Enable the aelparse application.

Forwarded: no
Bug-Debian: https://bugs.debian.org/747866
Last-Update: 2018-11-17


Gbp-Pq: Name aelparse_enable.patch
455c7820 — Frederic Van Espen 1 year, 1 month ago
Enable the smsq application.

Forwarded: no
Bug-Debian: https://bugs.debian.org/738588
Last-Update: 2016-03-19


Gbp-Pq: Name smsq_enable.patch
1f916a64 — Tzafrir Cohen 1 year, 1 month ago
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
015fc2e3 — Tzafrir Cohen 1 year, 1 month ago
reenable some drivers

Last-Update: 2016-03-19


Gbp-Pq: Name reenable
0494ef4e — Tzafrir Cohen 1 year, 1 month ago
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
c16ec9b8 — Tzafrir Cohen 1 year, 1 month ago
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
849d85ab — Tzafrir Cohen 1 year, 1 month ago
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
6d2b40ae — Debian VoIP Team 1 year, 1 month ago
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
f1497976 — Tzafrir Cohen 1 year, 1 month ago
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
Next