feed/telephony.git
5 years agoasterisk-opus: add variant for asterisk 16 412/head
Andre Heider [Fri, 12 Oct 2018 10:41:59 +0000 (12:41 +0200)]
asterisk-opus: add variant for asterisk 16

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agoasterisk-g72x: add variant for asterisk 16
Andre Heider [Fri, 12 Oct 2018 10:41:45 +0000 (12:41 +0200)]
asterisk-g72x: add variant for asterisk 16

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agopjproject: add patches from asterisk's bundled pjproject
Andre Heider [Wed, 30 Jan 2019 10:16:56 +0000 (11:16 +0100)]
pjproject: add patches from asterisk's bundled pjproject

"check whether UPDATE is supported on outgoing calls", commit 5de36abd:

In ASTERISK-27095 an issue had been fixed because of which chan_pjsip was not
trying to send UPDATE messages when connected_line_method was set to invite.
However this only solved the issue for incoming INVITES. For outgoing INVITES
(important when transferring calls) the options variable needs to be updated
at a different place.

"Add patch for double free issue in timer heap", commit 9c11399b:

Fixed #2172: Avoid double reference counter decrements in
timer in the scenario of race condition between
pj_timer_heap_cancel() and pj_timer_heap_poll().

"Add timer patch from pjproject r5934", commit d4cd2a97.

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agoMerge pull request #411 from micmac1/ast16
Jiri Slachta [Wed, 1 May 2019 09:43:22 +0000 (11:43 +0200)]
Merge pull request #411 from micmac1/ast16

asterisk-16: new package

5 years agoasterisk-16.x: add Asterisk 16 411/head
Sebastian Kemper [Sat, 27 Apr 2019 14:04:34 +0000 (16:04 +0200)]
asterisk-16.x: add Asterisk 16

Initial commit of Asterisk 16. Cleans up Makefile; the version number
now only occurs once in it.

Upstream removed the following modules:

  - format_jpeg
  - res_pjsip_registrar_expire (functionality was moved into
    res_pjsip_registrar.)

pjsip has a new dependency, res-http-websocket.

Notes:

  - replaced res_ninit patch

    Replaced patch with the one from Alpine. It's a bit more flexible and
    allows usage of res_ninit where available (when building against
    glibc).

  - fixed musl compiles

    astmm.h now always gets included by asterisk.h, redefining allocators.
    This causes breakage on musl:

    ccache_cc -o chan_pjsip.o -c chan_pjsip.c -MD -MT chan_pjsip.o -MF .chan_pjsip.o.d -MP -pthread -I/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1:asterisk-16.2.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/include -I/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.4.0_musl/usr/include -I/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.4.0_musl/include/fortify -I/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.4.0_musl/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include    -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/include/libxml2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations       -fPIC -DAST_MODULE=\"chan_pjsip\" -DAST_MODULE_SELF_SYM=__internal_chan_pjsip_self  -DPJ_AUTOCONF=1 -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0 -fPIC -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/include
    In file included from /home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include/asterisk.h:23:0,
                     from chan_pjsip.c:35:
    /home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include/asterisk/astmm.h:158:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
      Do_not_use_calloc__use_ast_calloc->fail(a, b)
                                       ^
    /home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include/asterisk/astmm.h:162:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
      Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
                                                                                 ^
    make[4]: *** [/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/Makefile.rules:153: chan_pjsip.o] Error 1

    The problem is that with _GNU_SOURCE defined musl also declares calloc in
    <sched.h> - and when asterisk's source includes <sched.h> _after_
    "asterisk/astmm.h" the definition clashes with the macro. Timo Teräs from
    Alpine Linux fixed this by including <pthread.h> in "asterisk/compat.h". He
    chose to include <pthread.h> instead of <sched.h> because the original
    header inclusion chain seems to be "asterisk/astobj2.h" ->
    "asterisk/lock.h" -> <pthread.h> -> <sched.h>. It seems Asterisk
    practically never includes <sched.h> directly.

  - added loader workaround for musl

    When the modules are loaded, asterisk segfaults on musl.

       Asterisk Dynamic Loader Starting:
      [Mar  2 22:30:05] NOTICE[20712]: loader.c:2230 load_modules: 91 modules will be loaded.
      Segmentation fault

      [48817.544248] do_page_fault(): sending SIGSEGV to asterisk for invalid read access from 00000000
      [48817.544258] epc = 77f6b764 in libc.so[77ef8000+94000]
      [48817.544285] ra  = 0048d579 in asterisk[400000+160000]

    The real problem is that the loader expects dlopen to always run the
    constructor, which doesn't happen with musl, because its dlopen is
    permanent.

    This commit adds a new configure switch '--enable-permanent-dlopen'.
    When enabled, the loader will manually call 'ast_module_register(...)'
    and 'ast_module_unregister(...)' when needed.

  - allow eventfd detection

    Asterisk 16 wants to use eventfd, but it doesn't allow the detection
    during cross-compiling. This results in runtime warnings, for instance
    when shutting down:

      [Mar  2 22:37:41] WARNING[21593]: alertpipe.c:112 ast_alertpipe_read: read() failed: Bad file descriptor
      [Mar  2 22:37:41] WARNING[21593]: alertpipe.c:112 ast_alertpipe_read: read() failed: Bad file descriptor
      [Mar  2 22:37:41] WARNING[21593]: alertpipe.c:112 ast_alertpipe_read: read() failed: Bad file descriptor

    Relax the configure script so that eventfd can also be detected when
    cross-compiling.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #420 from micmac1/baresip-062
Jiri Slachta [Tue, 30 Apr 2019 16:42:54 +0000 (18:42 +0200)]
Merge pull request #420 from micmac1/baresip-062

baresip: update and a bit of polishing

5 years agobaresip: update to 0.6.2 420/head
Sebastian Kemper [Sun, 21 Apr 2019 13:27:21 +0000 (15:27 +0200)]
baresip: update to 0.6.2

- echo module is now built by default
- natbd, v4l, x264 don't exist anymore

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: update default config
Sebastian Kemper [Sun, 21 Apr 2019 13:24:09 +0000 (15:24 +0200)]
baresip: update default config

This adds two (three, really) sed scripts to update the default
configuration. All example accounts are getting disabled/commented. And
the module_path is set to the actual path.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: amend file permissions
Sebastian Kemper [Sun, 21 Apr 2019 13:21:36 +0000 (15:21 +0200)]
baresip: amend file permissions

The files in /usr/share/baresip are all read-only anyway, so
INSTALL_DATA can be used.

Use it as well for the included (default) modules, otherwise they'll
have different permissions than the extra modules.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: rely on procd for shutdown
Sebastian Kemper [Sun, 21 Apr 2019 13:18:46 +0000 (15:18 +0200)]
baresip: rely on procd for shutdown

No need to stop baresip manually. Just let procd handle it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: do not disable on upgrade
Sebastian Kemper [Sun, 21 Apr 2019 13:17:29 +0000 (15:17 +0200)]
baresip: do not disable on upgrade

It is not a nice user experience when a package changes configuration
files during an upgrade. Remove this from the postinstall routine.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: disable ffmpeg support on i386
Sebastian Kemper [Sun, 21 Apr 2019 13:14:11 +0000 (15:14 +0200)]
baresip: disable ffmpeg support on i386

The ffmpeg full variant does not compile on i386_pentium currently.
Disable ffmpeg support on i386 to prevent breakage on the buildbots.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agorestund: do not disable on upgrade
Sebastian Kemper [Sun, 21 Apr 2019 13:11:42 +0000 (15:11 +0200)]
restund: do not disable on upgrade

It is not a nice user experience when a package changes configuration
files during an upgrade. Remove this from the postinstall routine.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agorestund: rely on procd for shutdown
Sebastian Kemper [Sun, 21 Apr 2019 13:10:19 +0000 (15:10 +0200)]
restund: rely on procd for shutdown

No need to stop restund manually. Just let procd handle it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #419 from micmac1/fs-av-only-on-x86_64
micmac1 [Sun, 21 Apr 2019 10:35:52 +0000 (12:35 +0200)]
Merge pull request #419 from micmac1/fs-av-only-on-x86_64

freeswitch-stable: disable mod_av on i386

5 years agofreeswitch-stable: disable mod_av on i386 419/head
Sebastian Kemper [Sun, 21 Apr 2019 10:29:05 +0000 (12:29 +0200)]
freeswitch-stable: disable mod_av on i386

The ffmpeg full variant does not compile on i386_pentium currently.
Disable mod_av on i386 to prevent breakage on the buildbots.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #418 from micmac1/fs-gcc8
micmac1 [Sun, 14 Apr 2019 17:51:28 +0000 (19:51 +0200)]
Merge pull request #418 from micmac1/fs-gcc8

freeswitch-stable: fix gcc8 warnings

5 years agofreeswitch-stable: fix gcc8 warnings 418/head
Sebastian Kemper [Sun, 14 Apr 2019 17:44:48 +0000 (19:44 +0200)]
freeswitch-stable: fix gcc8 warnings

Add two patches that were submitted upstream to address warnings that
occur when using gcc 8.3 (like arc does currently) which turn into
errors (-Werror).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #416 from micmac1/kamhi
Jiri Slachta [Sun, 14 Apr 2019 17:11:59 +0000 (19:11 +0200)]
Merge pull request #416 from micmac1/kamhi

kamailio-5.x: update hiredis patch

5 years agokamailio-5.x: update hiredis patch 416/head
Sebastian Kemper [Sat, 13 Apr 2019 11:02:34 +0000 (13:02 +0200)]
kamailio-5.x: update hiredis patch

The libhiredis package now contais a fix for its pkgconfig file. This
allows to add prefixes, which is needed when cross-compiling in
environments like OpenWrt.

Therefore, the workaround in kamailio is no longer needed and can be
removed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #414 from micmac1/AST-2019-001
Jiri Slachta [Tue, 9 Apr 2019 17:16:42 +0000 (19:16 +0200)]
Merge pull request #414 from micmac1/AST-2019-001

asterisk-15.x: add patch for AST-2019-001

5 years agoasterisk-15.x: add patch for AST-2019-001 414/head
Sebastian Kemper [Tue, 19 Mar 2019 09:22:44 +0000 (10:22 +0100)]
asterisk-15.x: add patch for AST-2019-001

Remote crash vulnerability with SDP protocol violation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #409 from micmac1/fs-185
micmac1 [Fri, 15 Feb 2019 20:55:19 +0000 (21:55 +0100)]
Merge pull request #409 from micmac1/fs-185

freeswitch-stable: fix compile, bump version

5 years agofreeswitch-stable: bump to 1.8.5 409/head
Sebastian Kemper [Fri, 15 Feb 2019 20:51:20 +0000 (21:51 +0100)]
freeswitch-stable: bump to 1.8.5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: fix implicit declaration error
Sebastian Kemper [Fri, 15 Feb 2019 20:48:07 +0000 (21:48 +0100)]
freeswitch-stable: fix implicit declaration error

Since the update to openssl-1.1.1a the compile fails like this:

  CC       src/libfreeswitch_la-switch_rtp.lo
src/switch_rtp.c: In function 'switch_rtp_get_random':
src/switch_rtp.c:2419:2: error: implicit declaration of function 'RAND_bytes'; did you mean 'RSA_bits'? [-Werror=implicit-function-declaration]
  RAND_bytes(buf, len);
  ^~~~~~~~~~
  RSA_bits
cc1: all warnings being treated as errors
make[4]: *** [Makefile:2377: src/libfreeswitch_la-switch_rtp.lo] Error 1

This patch adds the missing include.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #408 from micmac1/dahdi-tools-execinfo2
Jiri Slachta [Sun, 27 Jan 2019 15:51:41 +0000 (16:51 +0100)]
Merge pull request #408 from micmac1/dahdi-tools-execinfo2

dahdi-tools: rework patch

5 years agodahdi-tools: rework patch 408/head
Sebastian Kemper [Sun, 27 Jan 2019 15:00:49 +0000 (16:00 +0100)]
dahdi-tools: rework patch

Currently builds for ARC are failing, causing follow-up breakage. It
seems that uclibc defines __GLIBC__ on the build bots.

This commit adds a test for execinfo.h to the configure script. The
result of the test is then used in xpp/xtalk/debug.c.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #407 from micmac1/kam52
Jiri Slachta [Mon, 21 Jan 2019 05:59:23 +0000 (06:59 +0100)]
Merge pull request #407 from micmac1/kam52

kamailio-5.x: bump to 5.2.1

5 years agokamailio-5.x: bump to 5.2.1 407/head
Sebastian Kemper [Sun, 20 Jan 2019 09:27:33 +0000 (10:27 +0100)]
kamailio-5.x: bump to 5.2.1

- bump to 5.2.1
- drops sources.openwrt.org from PKG_SOURCE_URL because this mirror is
  meant as last resort
- adds six new modules (app_python3 marked @BROKEN - doesn't compile
  yet)
- 050-fix-kamailio-utils.patch refreshed. Alpine pushed a fix upstream
  that fixes the quoting issue, so this part could be dropped. I found
  some other issue with kamctl, where the prompt (for password) wasn't
  shown because OpenWrt doesn't have /dev/stderr. So I fixed that and
  added it to this patch as well. Sent upstream.
- hiredis handling was changed upstream. They changed the default
  include from "hiredis/hiredis.h" (which worked for us) to "hiredis.h".
  And the only way to get "hiredis/hiredis.h" is via pkg-config, which
  upstream doesn't allow during cross-compile, probably because hiredis
  pkg-config is rubbish. Patch added to forces pkg-config detection.
  Also includes a fix for a logical error in the Makefile regarding
  header setup. Sent upstream.
  Patch to fix hiredis pkg-config file sent upstream (also to OpenWrt
  package maintainer). Even without hiredis patch we can get away with
  forcing pkg-config detection of hiredis.
- dropped two patches that were upstreamed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: fix copyright
Sebastian Kemper [Sun, 20 Jan 2019 09:21:21 +0000 (10:21 +0100)]
kamailio-5.x: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. And I cannot change the
copyright message from a third party either. This commit reverts the
changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #399 from micmac1/srtp2
Jiri Slachta [Sat, 5 Jan 2019 08:47:09 +0000 (09:47 +0100)]
Merge pull request #399 from micmac1/srtp2

libsrtp2: update to 2.2.0

5 years agoMerge pull request #400 from micmac1/bsip
Jiri Slachta [Sat, 5 Jan 2019 08:45:17 +0000 (09:45 +0100)]
Merge pull request #400 from micmac1/bsip

baresip: update to 0.6.0

5 years agoMerge pull request #401 from micmac1/sccp
Jiri Slachta [Sat, 5 Jan 2019 08:44:00 +0000 (09:44 +0100)]
Merge pull request #401 from micmac1/sccp

asterisk-chan-sccp: update to 4.3.1 snapshot

5 years agoMerge pull request #402 from micmac1/g72x
Jiri Slachta [Sat, 5 Jan 2019 08:41:29 +0000 (09:41 +0100)]
Merge pull request #402 from micmac1/g72x

asterisk-g72x: update to 1.4.3

5 years agoMerge pull request #398 from micmac1/dtools
Jiri Slachta [Sat, 5 Jan 2019 08:40:56 +0000 (09:40 +0100)]
Merge pull request #398 from micmac1/dtools

dahdi-tools: version bump

5 years agoMerge pull request #403 from micmac1/sipp
Jiri Slachta [Sat, 5 Jan 2019 08:38:47 +0000 (09:38 +0100)]
Merge pull request #403 from micmac1/sipp

sipp: update to 3.5.2

5 years agoMerge pull request #405 from micmac1/fs184
micmac1 [Sun, 30 Dec 2018 13:54:56 +0000 (14:54 +0100)]
Merge pull request #405 from micmac1/fs184

freeswitch-stable: bump to version 1.8.4

5 years agofreeswitch-stable: bump to version 1.8.4 405/head
Sebastian Kemper [Sun, 30 Dec 2018 13:48:45 +0000 (14:48 +0100)]
freeswitch-stable: bump to version 1.8.4

Includes crash-fix for mod_sofia from upstream, FS-11583.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #404 from micmac1/sngrep
micmac1 [Sun, 30 Dec 2018 11:17:05 +0000 (12:17 +0100)]
Merge pull request #404 from micmac1/sngrep

sngrep: update to 1.4.6

5 years agodahdi-tools: add PKG_BUILD_PARALLEL & PKG_INSTALL 398/head
Sebastian Kemper [Sat, 29 Dec 2018 10:44:56 +0000 (11:44 +0100)]
dahdi-tools: add PKG_BUILD_PARALLEL & PKG_INSTALL

Cleans up the install sections while replacing PKG_BUILD_DIR with
PKG_INSTALL_DIR, too.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agodahdi-tools: use default Build/Compile template
Sebastian Kemper [Sat, 29 Dec 2018 10:36:51 +0000 (11:36 +0100)]
dahdi-tools: use default Build/Compile template

Add two patches to fix general compile issues. The first masks out some
glibc specific extensions if using a different libc.

The second fixes a compile issue with newer compilers.

Like this it's possible to easily add more executables to the packages
should the need (or wish) arise. This also gets rid of the following
warnings:

cc1: note: someone does not honour COPTS correctly, passed 2 times

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agosngrep: update to 1.4.6 404/head
Sebastian Kemper [Wed, 26 Dec 2018 18:39:46 +0000 (19:39 +0100)]
sngrep: update to 1.4.6

Update to 1.4.6 and include two fixes from upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agosngrep: fix copyright
Sebastian Kemper [Wed, 26 Dec 2018 18:37:10 +0000 (19:37 +0100)]
sngrep: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. And I cannot change the
copyright message from a third party either. This commit reverts the
changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agosipp: update to 3.5.2 403/head
Sebastian Kemper [Wed, 26 Dec 2018 18:34:26 +0000 (19:34 +0100)]
sipp: update to 3.5.2

Drop patches for issues that were fixed upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agosipp: fix copyright
Sebastian Kemper [Wed, 26 Dec 2018 18:33:14 +0000 (19:33 +0100)]
sipp: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoasterisk-g72x: update to 1.4.3 402/head
Sebastian Kemper [Wed, 26 Dec 2018 18:30:01 +0000 (19:30 +0100)]
asterisk-g72x: update to 1.4.3

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoasterisk-chan-sccp: update to 4.3.1 snapshot 401/head
Sebastian Kemper [Wed, 26 Dec 2018 18:25:06 +0000 (19:25 +0100)]
asterisk-chan-sccp: update to 4.3.1 snapshot

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoasterisk-chan-sccp: fix copyright
Sebastian Kemper [Wed, 26 Dec 2018 18:23:01 +0000 (19:23 +0100)]
asterisk-chan-sccp: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: update to 0.6.0 400/head
Sebastian Kemper [Wed, 26 Dec 2018 18:17:57 +0000 (19:17 +0100)]
baresip: update to 0.6.0

Drops speex modules (removed upstream). Adds new modules b2bua, echo and
rtcpsummary.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: fix copyright
Sebastian Kemper [Wed, 26 Dec 2018 18:16:55 +0000 (19:16 +0100)]
baresip: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agorem: update to 0.6.0
Sebastian Kemper [Wed, 26 Dec 2018 18:09:52 +0000 (19:09 +0100)]
rem: update to 0.6.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agorem: fix copyright
Sebastian Kemper [Wed, 26 Dec 2018 18:08:47 +0000 (19:08 +0100)]
rem: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agore: update to 0.6.0
Sebastian Kemper [Wed, 26 Dec 2018 18:08:01 +0000 (19:08 +0100)]
re: update to 0.6.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agore: fix copyright
Sebastian Kemper [Wed, 26 Dec 2018 18:06:40 +0000 (19:06 +0100)]
re: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agolibsrtp2: update to 2.2.0 399/head
Sebastian Kemper [Wed, 26 Dec 2018 18:02:00 +0000 (19:02 +0100)]
libsrtp2: update to 2.2.0

Upstream fixed dependency on libpcap. The lib does not link to it
anymore as it does not need it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agodahdi-tools: update to 3.0.0
Sebastian Kemper [Wed, 26 Dec 2018 17:07:01 +0000 (18:07 +0100)]
dahdi-tools: update to 3.0.0

Version bump. New version does not have too many changes, but upstream
cleaned up the autoconf files. As a result autoreconf is now needed to
get the configure script.

This commit adds a configure switch to get the make output as verbose as
in the past.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agodahdi-tools: fix copyright
Sebastian Kemper [Wed, 26 Dec 2018 17:03:35 +0000 (18:03 +0100)]
dahdi-tools: fix copyright

In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #397 from micmac1/fs-183-2
micmac1 [Sat, 22 Dec 2018 22:03:54 +0000 (23:03 +0100)]
Merge pull request #397 from micmac1/fs-183-2

freeswitch-stable: bump to 1.8.3

5 years agofreeswitch-stable: fix copyright header 397/head
Sebastian Kemper [Sat, 22 Dec 2018 21:54:20 +0000 (22:54 +0100)]
freeswitch-stable: fix copyright header

Maintainer is not affiliated with OpenWrt so copyright needs to be set
to maintainer instead of OpenWrt. Also correct the year - it should read
the year in which the Makefile was first written.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: remove OpenWrt mirror
Sebastian Kemper [Sat, 22 Dec 2018 21:51:03 +0000 (22:51 +0100)]
freeswitch-stable: remove OpenWrt mirror

sources.openwrt.org is used by the build system as a last-resort mirror.
It's not supposed to be used as a regular source mirror. Remove it from
PKG_SOURCE_URL.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: bump to 1.8.3
Sebastian Kemper [Sat, 22 Dec 2018 21:44:36 +0000 (22:44 +0100)]
freeswitch-stable: bump to 1.8.3

Refresh patches + add patch to remove luajit detection, which was added
upstream for this release. luajit is available in OpenWrt, but seems to
always fail on the buildbots. To prevent surprises in the future disable
it for now.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #396 from dhewg/pull/asterisk
Jiri Slachta [Mon, 17 Dec 2018 06:29:03 +0000 (07:29 +0100)]
Merge pull request #396 from dhewg/pull/asterisk

asterisk updates

5 years agopjproject: update to 2.8 396/head
Andre Heider [Fri, 28 Sep 2018 06:37:10 +0000 (08:37 +0200)]
pjproject: update to 2.8

Update to the current release, see [0].

Get rid of the dropped --without-oss configure switch.

Add an upstream patch to fix building without SRTP support[1],
and refresh the rest.

[0] https://trac.pjsip.org/repos/milestone/release-2.8
[1] https://trac.pjsip.org/repos/changeset/5891/

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agoasterisk-13.x: update to 13.24.0
Andre Heider [Fri, 14 Dec 2018 16:13:17 +0000 (17:13 +0100)]
asterisk-13.x: update to 13.24.0

Update to the current 13.x release, see [0].

[0] http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-13-current

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agoasterisk-15.x: update to 15.7.0
Andre Heider [Fri, 14 Dec 2018 16:05:00 +0000 (17:05 +0100)]
asterisk-15.x: update to 15.7.0

Update to the current 15.x release, see [0].
Drop one merged patch and refresh the rest.

There's one new module, res_remb_modifier, add that as a new package.

[0] http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-15-current

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agoMerge pull request #395 from guidosarducci/master-update-procd-wiki
Jiri Slachta [Sun, 9 Dec 2018 07:58:03 +0000 (08:58 +0100)]
Merge pull request #395 from guidosarducci/master-update-procd-wiki

siproxd: add wiki link and fix debug log capture

5 years agosiproxd: capture debug output in syslog 395/head
guidosarducci [Sun, 25 Nov 2018 14:15:27 +0000 (06:15 -0800)]
siproxd: capture debug output in syslog

Although siproxd normally logs to syslog, it's debug output appears to go
only to stderr. Adjust procd setup to also capture stderr in syslog.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
5 years agosiproxd: add OpenWrt siproxd wiki link to package info
guidosarducci [Sun, 25 Nov 2018 14:08:35 +0000 (06:08 -0800)]
siproxd: add OpenWrt siproxd wiki link to package info

This has the advantage of being available in the package catalog and
hence anytime both pre- and post-installation for someone looking for
information, using only the 'opkg info siproxd' command.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
5 years agoMerge pull request #394 from micmac1/kama-hot
Jiri Slachta [Sun, 2 Dec 2018 20:54:54 +0000 (21:54 +0100)]
Merge pull request #394 from micmac1/kama-hot

rtpproxy & kamailio: fix hotplug script file names

5 years agokamailio-5.x: fix hotplug script file name 394/head
Sebastian Kemper [Sun, 2 Dec 2018 11:28:21 +0000 (12:28 +0100)]
kamailio-5.x: fix hotplug script file name

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agortpproxy: fix hotplug script file name
Sebastian Kemper [Sun, 2 Dec 2018 11:27:13 +0000 (12:27 +0100)]
rtpproxy: fix hotplug script file name

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #385 from micmac1/rtpp
Jiri Slachta [Thu, 15 Nov 2018 14:59:26 +0000 (15:59 +0100)]
Merge pull request #385 from micmac1/rtpp

rtpproxy: update to procd and some brushing up

5 years agoMerge pull request #386 from micmac1/kam_procd
Jiri Slachta [Thu, 15 Nov 2018 14:58:06 +0000 (15:58 +0100)]
Merge pull request #386 from micmac1/kam_procd

kamailio-5.x: update to procd, minor version bump

5 years agoMerge pull request #389 from micmac1/bsip-x264
Jiri Slachta [Thu, 15 Nov 2018 14:56:46 +0000 (15:56 +0100)]
Merge pull request #389 from micmac1/bsip-x264

baresip: remove depend on libx264

5 years agoMerge pull request #391 from micmac1/ast15-AST-2018-010-15
Jiri Slachta [Thu, 15 Nov 2018 14:55:53 +0000 (15:55 +0100)]
Merge pull request #391 from micmac1/ast15-AST-2018-010-15

(master) asterisk-15.x: add patch for AST-2018-010

5 years agoasterisk-15.x: add patch for AST-2018-010 391/head
Sebastian Kemper [Wed, 14 Nov 2018 20:35:11 +0000 (21:35 +0100)]
asterisk-15.x: add patch for AST-2018-010

Patch from upstream:

     Summary        Remote crash vulnerability DNS SRV and NAPTR lookups
Nature of Advisory  Denial Of Service
  Susceptibility    Remote Unauthenticated Sessions
     Severity       Moderate
  Exploits Known    No
    Reported On     October 23, 2018

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #390 from micmac1/fs-init
micmac1 [Mon, 12 Nov 2018 21:47:05 +0000 (22:47 +0100)]
Merge pull request #390 from micmac1/fs-init

freeswitch-stable: init/hotplug updates

5 years agofreeswitch-stable: cleanup init script 390/head
Sebastian Kemper [Mon, 12 Nov 2018 21:29:25 +0000 (22:29 +0100)]
freeswitch-stable: cleanup init script

 - clean up variable names
 - add options to uci config to enable/disable logging
 - remove option change_perm as it's hacky
 - change check before mkdir and friends to prevent
   overwriting/chown/chmod of existing files/directories (important)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: cleanup hotplug script
Sebastian Kemper [Mon, 12 Nov 2018 21:20:22 +0000 (22:20 +0100)]
freeswitch-stable: cleanup hotplug script

- clean up variable names
- replace pgrep with pidof
- remove LOG_WARN and use LOG_ERR instead

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: don't force disable on install
Sebastian Kemper [Mon, 12 Nov 2018 21:04:16 +0000 (22:04 +0100)]
freeswitch-stable: don't force disable on install

Don't force freeswitch to off during postinstall. It's not common
practice (anywhere) and it may be confusing.

Add a link to the Wiki, too, and bump the revision.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: move hotplug into main pkg
Sebastian Kemper [Mon, 12 Nov 2018 20:55:21 +0000 (21:55 +0100)]
freeswitch-stable: move hotplug into main pkg

There is no point in keeping the hotplug script in an extra package.
Move it to the main package.

The priority of the script is changed from 99 to 90 as the freeswitch
init script uses the same.

The postinstall script will check if 99-freeswitch exists. If it does a
warning is displayed with the suggestion to uninstall the hotplug
package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: procd compatibility
Sebastian Kemper [Mon, 12 Nov 2018 20:20:55 +0000 (21:20 +0100)]
freeswitch-stable: procd compatibility

procd runs as pid 1. When freeswitch realizes that its parent has pid 1,
it thinks that it has been orphaned and terminates the console thread.
That's why procd isn't able to get freeswitch's console output.

This commit mutes the check in src/switch_console.c. Now console output
is properly logged. The workaround parameters "-nc -nf" are replaced by
a proper "-c" ("console").

Additionally this commit hands control over killing freeswitch to procd.
It's no longer done by the script. This simplifies things quite a bit.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: remove depend on libx264 389/head
Sebastian Kemper [Sun, 11 Nov 2018 10:15:36 +0000 (11:15 +0100)]
baresip: remove depend on libx264

Following up the discussion in pull request #388 this commit removes the
depend on libx264 and prevents baresip from linking to libx264.

baresip can still use a H.264 encoder through ffmpeg, which is the
preferred way anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: update to 5.1.6 386/head
Sebastian Kemper [Mon, 5 Nov 2018 21:46:20 +0000 (22:46 +0100)]
kamailio-5.x: update to 5.1.6

Minor version bump. Two CVE patches can be removed as they're already
included in the source. One patch was refreshed.

Also:

  - https://sources.openwrt.org is added as primary source URL to lessen
    the load on kamailio upstream
  - Build/Configure is defined as empty (because there is no configure
    script in the source tree
  - patch is added to fix dp_replace(); the function was first added in the
    5.1 release and didn't work; patch was accepted upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: remove unnecessary depends
Sebastian Kemper [Mon, 5 Nov 2018 21:39:36 +0000 (22:39 +0100)]
kamailio-5.x: remove unnecessary depends

Remove the depend on mod-db-sqlite from some modules. They may depend on
a db module, but any will do. And mod-jsonrpcs also does not depend on
mod-json.

Maybe things were different in the past. But today these depends aren't
needed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: add a note about the uci file
Sebastian Kemper [Mon, 5 Nov 2018 21:36:20 +0000 (22:36 +0100)]
kamailio-5.x: add a note about the uci file

Echoes a message upon installation and points the user to
/etc/config/kamailio.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: add hotplug script
Sebastian Kemper [Mon, 5 Nov 2018 21:32:56 +0000 (22:32 +0100)]
kamailio-5.x: add hotplug script

Add hotplug script to base package. Hotplug will only occur if user
enables it via uci config.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: add ip translation to init
Sebastian Kemper [Mon, 5 Nov 2018 21:16:25 +0000 (22:16 +0100)]
kamailio-5.x: add ip translation to init

kamailio can be started with multiple "-l" ("listen") parameters to tell
it which IPs to listen on. This can also be configured in kamailio.cfg,
of course.

This commit adds the ability to the init script to translate iface names
like "wan" into IP addresses and hand them over to kamailio as command
line arguments. This is useful when using a network connection where IPs
are dynamically assigned.

kamailio can also work with interface names, e.g. "eth0". But it may
listen to all IPs configured on the interface. To avoid this the commit
differentiates beteen IPv4 ("listen") and IPv6 ("listen6"). So if the
user wants kamailio to only listen on an IPv4 address configured on a
certain iface ("wan" for instance), he/she can just specify a list entry
"listen" with that iface.

An explanation is also added to the uci configuration file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: amend mips2 tweak
Sebastian Kemper [Mon, 5 Nov 2018 20:57:47 +0000 (21:57 +0100)]
kamailio-5.x: amend mips2 tweak

Commit f84dda74e615c803e6a218cea83dd2a2bfaa67e5 ("kamailio-5.x: enable
FAST_LOCK for MIPS") turned out to be problematic, because it changed
the ARCH to "mips2" not only for "mips", but also for some "mipsel"
targets, which was unintentional.

Address this by filtering for "mips" specifically before setting the
variable.

Also, get rid of PKG_BUILD_PARALLEL, because adding it really didn't
change anything - due to the way "make" is called. Leave a comment to
prevent repetition (read: prevent _me_ from doing the same mistake again
in the future).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: convert init to procd
Sebastian Kemper [Mon, 5 Nov 2018 20:50:44 +0000 (21:50 +0100)]
kamailio-5.x: convert init to procd

This commit

  - updates init script to use procd
  - adds a default user 'kamailio' (kamailio will switch to this user)
  - introduces uci init config (instead of /etc/default/kamailio)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agortpproxy: add iface translation to init 385/head
Sebastian Kemper [Mon, 5 Nov 2018 19:59:29 +0000 (20:59 +0100)]
rtpproxy: add iface translation to init

rtpproxy expects IPs as parameters. Lots of OpenWrt devices use
connections where the IP is dynamically assigned. This commit adds shell
functions to convert an iface like 'wan' to an IP address before adding
the parameter to the rtpproxy command line.

Explanation is provided in /etc/config/rtpproxy. Some whitespace issues
were also fixed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agortpproxy: add uci log switch
Sebastian Kemper [Mon, 5 Nov 2018 19:43:25 +0000 (20:43 +0100)]
rtpproxy: add uci log switch

Add log_level option to uci config. Paired with the comment it makes
setting the log level easier when no man page is around.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agortpproxy: convert init to procd
Sebastian Kemper [Mon, 5 Nov 2018 19:34:28 +0000 (20:34 +0100)]
rtpproxy: convert init to procd

Update rtpproxy init script to use procd.

Also increases the start priority to 90 (like the hotplug script) to
make sure rtpproxy is started before kamailio.

Fixes some whitespace issues along the way, too.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agortpproxy: add a note about the uci file
Sebastian Kemper [Mon, 5 Nov 2018 19:21:06 +0000 (20:21 +0100)]
rtpproxy: add a note about the uci file

Echoes a message upon installation and points the user to
/etc/config/rtpproxy.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agortpproxy: add hotplug script
Sebastian Kemper [Mon, 5 Nov 2018 19:16:54 +0000 (20:16 +0100)]
rtpproxy: add hotplug script

Install hotplug script along with rtpproxy. It will only be used if
enabled by the user (via uci config file).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #377 from dhewg/pull/asterisk
Jiri Slachta [Mon, 15 Oct 2018 09:41:27 +0000 (11:41 +0200)]
Merge pull request #377 from dhewg/pull/asterisk

asterisk related updates

5 years agoMerge pull request #383 from micmac1/kam-awk-and-mips-tweak-master
Jiri Slachta [Sat, 13 Oct 2018 14:02:14 +0000 (16:02 +0200)]
Merge pull request #383 from micmac1/kam-awk-and-mips-tweak-master

kamailio-5.x: fix awk issue and some tweaks

5 years agokamailio-5.x: enable FAST_LOCK for MIPS 383/head
Sebastian Kemper [Sat, 13 Oct 2018 08:09:20 +0000 (10:09 +0200)]
kamailio-5.x: enable FAST_LOCK for MIPS

This tweaks MIPS builds to support a faster locking mechanism.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: enable parallel build
Sebastian Kemper [Sat, 13 Oct 2018 08:06:06 +0000 (10:06 +0200)]
kamailio-5.x: enable parallel build

Enable parallel build for Kamailio package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agokamailio-5.x: make jsonrpc filter portable
Sebastian Kemper [Sat, 13 Oct 2018 08:05:01 +0000 (10:05 +0200)]
kamailio-5.x: make jsonrpc filter portable

With OpenWrt default awk - so awk from busybox - the filter is broken,
causing jsonrpc calls to fail, i.e. when running "kamctl ps". Below
patch makes the filter portable. Patch was already accepted upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>