Commit graph

13 commits

Author SHA1 Message Date
Sebastian Kemper
ec6ba744b0 asterisk-chan-lantiq: update for DTMF fix
Bump to last commit. Includes fix for DTMF causing call release when
using Asterisk 18 (see [1]).

[1] https://github.com/openwrt/telephony/issues/631

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-09-12 00:11:59 +02:00
Sebastian Kemper
c70eb7d12c asterisk-chan-lantiq: update for Asterisk 18 LTS
Also use PKG_SOURCE_DATE now to proper things up. And use INSTALL_DATA
for the configuration file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:59:03 +01:00
Sebastian Kemper
f0e7c5cd4d asterisk-chan-lantiq: avoid VARIANTs
chan-lantiq currently is still not built by the build bots. Split the
package in two, one for Asterisk 13, the other for 15, to avoid a VARIANT
build. Maybe the build bots do not support nonshared VARIANT builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-15 17:34:21 +02:00
Sebastian Kemper
87ae0b7ab2 asterisk-chan-lantiq: add back nonshared flag
The module is never attempted to build in the regular buildbot package
cycle. Stick back the nonshared flag to get at least some log during
the target build cycle.

This also updates the dependency on kmod-ltq-vmmc to be selective (+).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-11 10:49:07 +01:00
Sebastian Kemper
5f7266cda7 asterisk-chan-lantiq: update snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 15:04:27 +01:00
Sebastian Kemper
a4a9a4a49a chan-lantiq: add variant for Asterisk 15
@kochstefan got the module to work on Asterisk 15. Update the Makefile
and include the new variant.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 16:46:14 +01:00
Sebastian Kemper
652d818864 chan-lantiq: revert previous commit
The hack does not work on the buildbots. In the SDK the other packages'
Makefiles and patch directories aren't available, hence the hack fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 16:42:14 +01:00
Sebastian Kemper
cc54061a11 chan-lantiq: setup Lantiq kernel headers locally
This commit unpacks the sources of lib_ifxos, drv_tapi and drv_vmmc,
patches them and sets up their header files for the compiler to use when
building chan-lantiq.

The dependency on kmod-ltq-vmmc is dropped so that the package can be
built by the buildbots. Instead, a dependency on mips is added so that
the buildbots will only build the package for the ARCH that Lantiq
actually runs on.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-23 16:33:59 +01:00
Sebastian Kemper
8b174c4735 chan-lantiq: pull the source from github
Instead of using local copies pull the source from github. The source
version is selected via CHAN_LANTIQ_VERSION, so there can be a different
version for each VARIANT.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-23 11:28:35 +01:00
Sebastian Kemper
ce02e2dde8 asterisk-chan-lantiq: remove nonshared hack
The previously conceived hack - to make the buildbots actually build
this package during the target phase - does not work. This patch removes
the hack. This includes removing the lines from the asterisk Makefiles
that tar up the asterisk headers.

The upside of removing the hack is that the package name can be reverted
to what it was before, so it can be found in the same place like all the
other asterisk modules, i.e. below its asterisk version.

Another upside is that the Makefile does not pretend to solve the
problem anymore. Issue #193 is still open for the same. Maybe some day
somebody can figure out how to resolve the problem properly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-12 20:28:41 +01:00
Sebastian Kemper
0f341bc979 asterisk-chan-lantiq: fix SDK build
When building using the SDK the $(SOURCE) variable is set differently,
resulting in files not being found. Not using the variable and using
"./" instead works fine.

This fixes issue #190. Thanks to @Bongo79 for reporting and providing
the fix.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 19:52:15 +02:00
Sebastian Kemper
a56ade12cd asterisk-chan-lantiq: Fix nonshared builds
- Cosmetic: change version from 1.0 to git checkout date.
- Remove dependency on asterisk, as otherwise the package won't be
  built by the build bots.
- Without asterisk in the staging directory the asterisk headers are
  now taken from an archive in $(DL_DIR), which is stored there by the
  asterisk package.
- The naming of the package needs to be changed, as without the
  dependency on asterisk it would otherwise mess with asterisk's
  menuconfig layout.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 09:46:37 +02:00
Sebastian Kemper
fe2f6f996b asterisk-chan-lantiq: Move to separate package
Currently chan-lantiq doesn't build on the build bots and users end up
having to build it themselves. The reason for this was explained by
Mathias Kresin here:
http://lists.infradead.org/pipermail/lede-dev/2017-September/008886.html.

To fix this put chan-lantiq into its own package and set
PKG_FLAGS:=nonshared. The new package uses variants already, so it is
easily extendable in the future.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-09-14 21:08:14 +02:00