systemctl(1) (provided by systemd) isn't necessarily available in the
environment yet, e.g. as identified by piuparts tests.
Instead of relying on systemctl(1) let's use service(8) from
init-system-helpers (which is an essential package), and while at it
report the exit code of the app_lua reload.
Fixes:
| /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: 7: /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: systemctl: not found
Change-Id: I52cf30d6421f58c77ce1983d95c141d3a331e939
When systemd detects that it's running inside a chroot (like in our
installation environment), then it doesn't output something like
"active" on stdout, but only string "Running in chroot, ignoring
request." on stderr.
Since stdout is empty, comparing nothing against string "active"
(so `[ = "active"`) will fail test(1) execution.
Fixes:
| Setting up lua-ngcp-kamailio (6.5.3.1+0~mr6.5.3.1) ...
| Running in chroot, ignoring request: is-active
| /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: 7: [: =: unexpected operator
Change-Id: I11a6b9356b76cd686e0046275a6306431db64105
- Bump Standards-Version to 3.9.8.
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Canonicalize Homepage URL.
- Remove redundant Section fields.
- Change from Section libs to interpreters.
- New debian/.gitignore file.
Change-Id: I6ee03dcc3588cffb56ab48cd3003a17dfabad171
+ TT#22410 Fix typo in Dockerfile 'Instructions for usage'
In jessie based docker we used lua-unit 3.0-1 while in stretch it is
3.2-1. Newer lua-unit doesn't have setFname and setVerbosity functions.
Instead of setFname we can use --name parameter. setVerbosity(1) is set
by default so we can simply omit it.
Change-Id: Icd01c7b997d8b8567ab43d2bd1220d1824024287
* xavp caller_fax_prefs and callee_fax_prefs is
added and automatically fetched as a part of
caller_usr_load and callee_usr_load
* fax_prefs are load all related subscriber's
NOT NULL fax preferences from
provisioning.voip_fax_preferences
Change-Id: I2dcedf30433b3d5b94efa9292437a4e7501588a3
tests made in 'docker run' create files with 'root' owner and ws-cleanup
plugin can't delete them after. Fixing umask here to allow files
deletion.
Change-Id: If15ffec65c680c6c01c91327a511cdde2614ff18
* dlg.list will fail if the number of dialogs is big
* dlg.dlg_list need from-tag optional
https://github.com/kamailio/kamailio/pull/889
Change-Id: I2531ee7ab8a40b7547e943206e4a57c1f1f9dd63
* fix default redis db when no config file
* fix call-id list from kamailio
* refesh Docker due to TT#5032
Change-Id: Ie8847b238e5a24b22baa48fc8c9b41e39397d84e
* fix pv mock to align kamailio behavior with pv_unset() for avps.
It removes only the first value not all, only when using '[*]'
pv_unset("$avp(name)") != pv_unset("$(avp(name)[*])")
pv_unset("$avp(name)") == pv_unset("$(avp(name)[0])")
pv_unset("$(avp(name)[1])") == pv_unset("$(avp(name)[0])")
Change-Id: I1aab2150d288da546b144388adb7b2f87ecfb069
* rename set_by_uuid to set_by_key as key can be anything now
* save uuid as an additional parameter inside the key entry
Change-Id: Ic63e11855d96931b2676b991d012197c35d8ca2f
Git daemon which provided Sipwise anonymous access to
internal Git repository is deprecated. Also it is
useless to point public GitHub repository to the internal git server.
Change-Id: I61e8380e4559afe0371ffdd993e3444a5330e951