Hiredis sends queued commands to redis only after first call
of getReply, and if that fails, we need to have the appended
commands queued up, so we can re-queue them and re-execute
again after reconnect.
Also refresh code using upstream fixes, like declaring vars
at the beginning of functions instead of inline in for() loops.
Change-Id: I2de5da00818aaa27d3c10ba81074cfa83083e5b5
In the system there were some naming inconsistency between templates
and init scripts. Move everything to use "minus" convention in order
to have everything name 'kamailio-lb' and 'kamailio-proxy'.
Change-Id: I7bd90a7b5b2af5007c6b368f40d8064852c95966
If we do not wait, and make sure kamailio is not running any more, we
exit and it's still running which means a subsequent start will see the
service is indeed aready running and exit successfully. Add the needed
--retry options to start-stop-daemon.
Change-Id: I4bfbd394ca5233478d68361e4084b36f03afa435
- Update debian/.gitignore file.
- Switch to automatic debug symbol packages.
- Let debhelper handle DEB_BUILD_OPTIONS by itself.
- Do not specify init script runlevels, we use the LSB metadata instead.
Change-Id: I77aab74becf0dedc5922ba7f7c3489c6793495d3
* Switch the init script from sh to bash
* Fix shellcheck warnings
* Rename ngcp-check_active to new ngcp-check-active
Change-Id: I40d2974097f87135ae3900919f47f399427e3720
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Canonicalize Homepage URL.
- New debian/.gitignore file.
Change-Id: I41785c6cfafb71b4f012e8bbcc91f6202dadc131
With newer OpenSSL versions it seems a threaded application needs to
cleanup properly, otherwise the now automatic atexit() cleanup handler
will segfault when the pthread variables have been deallocated already
by the pthreads library.
Change-Id: I08ac91cf63b1a74c17a0bd70b40202a5baf7771f
> dpkg-source: info: applying upstream/dialog-check-if-dialog-exists-after-event-route-exec.patch
> patching file modules/dialog/dlg_handlers.c
> Hunk #1 succeeded at 1179 (offset -47 lines).
> Hunk #2 succeeded at 1276 (offset -47 lines).
> Hunk #3 FAILED at 1368.
> 1 out of 3 hunks FAILED
> dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
> dpkg-source: info: if patch 'upstream/dialog-check-if-dialog-exists-after-event-route-exec.patch' is correctly applied by quilt, use 'quilt refresh' to update it
Change-Id: I61458d08945784b7e38fff598fa5aa6cb2c879da
* [to|from]_avp module parameters
* sca_call_info_update() fallback if no Contact
header is present
* implement unsubscribe for call-info
* use rr is_direction() to select tag for search
* fix core on RPC command release_appearance
* fix on-hold detection when direction is upstream
Change-Id: I29c71374da6ae918b82a32987e5d9a52a252e478
* sipwise/tm-deep-cloning-of-the-request-for-fake-environment.patch
introduced a memory leak on reset_path_vector()
Change-Id: Iec8341920e54c769fdc6107765d9a6401a3f64b0