Guillem Jover
a76c914810
TT#24224 Print the correct project version on -?
...
Change-Id: I2f9945e332238769990cfb4b486bdd24b33843e5
8 years ago
Guillem Jover
881f534e6d
TT#24224 Switch from BSD to C99 integer types
...
Change-Id: I9e20626e4bbb9c3cf5cbb8534204f53393f972b5
8 years ago
Guillem Jover
e65f1fa26a
TT#24224 Switch to use libmariadb-dev
...
Change-Id: Ida7fac573166387db8556c05996a41e89216b45d
8 years ago
Guillem Jover
0035cd025d
TT#24224 Pass the relevant build flags to compile and link stages
...
For compilation we need CPPFLAGS and CFLAGS. For likning we need
CFLAGS and LDFLAGS.
Change-Id: I6443bee33e862e4f7940da86f4fb0682608d46e1
8 years ago
Guillem Jover
5d455c3fc5
TT#24224 Use $(shell …) instead of `` in Makefile
...
Change-Id: I93c08f72d774a4743e434da0ce6941befe31bb1d
8 years ago
Guillem Jover
f7b3e5c49f
TT#24224 Simplify config string option handling
...
Create two helper functions to set the options on parse, and to set
the default.
Change-Id: If2d314b4d5a20309012b447a3829f6ad3ea1861d
8 years ago
Richard Fuchs
09f0108690
TT#24140 add wrapper function to simulate DB errors for testing
...
Change-Id: Iaab8ef2b5e405e7b8631dc65d1b5353d2a6aa705
8 years ago
Richard Fuchs
266c624ddd
TT#24140 add transaction replay capability to work around temporary errors
...
Change-Id: Ic20a40a5eafc6f5f8d59724a40ff3cfce36ce41f
8 years ago
Richard Fuchs
c94f9dffb1
TT#24140 add DB abstraction layer
...
Change-Id: I02bb0de7973f38e8663ae5bc6dc3b2702bbfbf0e
8 years ago
Guillem Jover
ec54acd64e
TT#24224 Pass the exit status to the config_help function
...
This will make it possible to return with an error code on usage errors
for example.
Change-Id: I531cf09a8ebf2e7e7bdfa828450653b9aad54638
8 years ago
Guillem Jover
63393e1a8f
TT#24224 Use the actual option defaults
...
If we use the option variables, they will be affected by any option
passed on the command-line, producing confusing --help output.
Change-Id: Ieee9cf06e861b09509dc3e91a30143a2687ccd89
8 years ago
Sipwise Jenkins Builder
2a4ee2dcb4
Release new version 6.0.0.0+0~mr6.0.0.0
8 years ago
Kirill Solomko
27220822bd
TT#22470 introduce source_lnp_type, destination_lnp_type
...
* added acc fields: source_lnp_type, destination_lnp_type
* source_lnp_type is stored as NULL if the string is empty
* destination_lnp_type is stored as NULL if the string is empty
Change-Id: Ia81debf9ff56aca87e4f1bcc4a82f8c8b9c1edec
8 years ago
Richard Fuchs
16757c96f8
TT#19063 fix maintenance mode switch
...
Change-Id: I846c2ac6bf9c68417630258f6fc650157dac4f49
9 years ago
Sipwise Jenkins Builder
a7ed4f2d49
Release new version 5.5.0.0+0~mr5.5.0.0
9 years ago
Rene Krenn
fa5db1518b
TT#14298 default values for missing leg tokens
...
- for acc src and dst leg tokens added since 3.x:
lnp_prefix, user_out
Change-Id: I7bdf360bc372e797f58015a04938d5ac714e1bf2
9 years ago
Richard Fuchs
ae963f41e9
TT#16753 implement do-nothing maintenance mode
...
Change-Id: Ia17cb9bec45763f92122dd9c9e93948dd5a768e0
9 years ago
Sipwise Jenkins Builder
6ecdff6cd8
Release new version 5.4.0.0+0~mr5.4.0.0
9 years ago
Rene Krenn
682dc47ffc
TT#8162 process source/destination_user_out
...
Change-Id: Ia86393c084c6277842177665478a158d1af61157
9 years ago
Alexander Lutay
19394a4f28
TT#15855 Fix shellcheck/bashism warnings for mediator init script
...
Warnings:
> possible bashism in source/debian/mediator.init ... (echo -n)
replaced with log_daemon_msg as lsb is in use.
> FULLPATH appears unused. Verify it or export it.
Removed.
> Double quote to prevent globbing and word splitting.
quoted where it is necessary and possible, muted for $OPTIONS.
> Use $(..) instead of deprecated `..`
Done.
Change-Id: I4cbaee5859ab6deb25aef8ebbd1e392bd418b486
9 years ago
Guillem Jover
6e3a0f6ebd
TT#14010 Remove duplicate expression in conditional
...
Change-Id: Ieb1884fb2f381709e4ceb42e44f86936ebd6fa4c
9 years ago
Richard Fuchs
bd2ac84931
TT#14211 fix sql queries getting truncated on long call-ids
...
also enabled gcc optimizations
Change-Id: I773088d6f46add6f4a54e04a61e611b5d0d8b808
9 years ago
Richard Fuchs
0133956724
TT#14005 fix mediator shutting down prematurely
...
Change-Id: I9439381c3ece481930a06a8d59e21f1b2f71b42a
9 years ago
Andreas Granig
4f20a8a63a
TT#14053 Fix code issues reported by coverity
...
In parsing config options, it might be possible that an option is
provided more than once, where the allocated string buffer is then
overwritten without being free'd.
When copying call codes, assume a fixed length size of 3.
Check return code of open() when opening /dev/null for std* re-
directs.
Fixed spaces vs tabs in intendations.
Use fropen() for daemonization.
Refactor medmysql_fetch_callids to return malloc'd array.
Change-Id: I51ab7ebc01bdd747c8b5bb320998a5c13d64009e
9 years ago
Andreas Granig
8a7d055da3
TT#14053 Add LICENSE file
...
Change-Id: I09ee65f96e684a16e58cb85754f479c2c0850bba
9 years ago
Guillem Jover
2a7454829c
TT#5420 Update packaging
...
- Use canonical homepage URL.
- Bump debhelper compatibility to 9.
- Bump Standards-Version to 3.9.8.
- Bump source format to 3.0 (native).
- Switch to dh debian/rules.
- Update copyright years.
- Update package description.
- Move file installation to an .install file.
Change-Id: Id3023dfc888327b53dec252d934ee0514dc3d671
9 years ago
Andreas Granig
e00771b4fa
TT#3990 Undo stop-rec processing but use pbx/xfer
...
Revert logic to pick peer id from stop record. This needs a better
approach somehow.
Instead, add logic to always take -pbx_1 and -xfer_1 stop records
into account when searching for stop records, to fix duration of
CDRs on transfer and park/unpark (which is just a special case
of transfer).
Change-Id: Ia80add6d5cb762800c563889c0d95ee25ed74168
9 years ago
Alexander Lutay
cf6ce37a4a
TT#13401 Add lsb-base as a dependencies for ngcp-mediator (lintian warning fix)
...
+ wrap-and-sort -sat
Change-Id: Id4867ad5adeece9c7bacf5c2eaa64efec4cd4242
9 years ago
Sipwise Jenkins Builder
2912ec50f2
Release new version 5.3.0.0+0~mr5.3.0.0
9 years ago
Sipwise Jenkins Builder
2b9047c1a5
Release new version 5.2.0.0+0~mr5.2.0.0
9 years ago
Sipwise Jenkins Builder
815c82d2d7
Release new version 5.1.0.0+0~mr5.1.0.0
9 years ago
Michael Prokop
088ed4ab94
TT#6430 Build-Depend on either default-libmysqlclient-dev or libmysqlclient15-dev
...
Debian stretch will probably ship with MariaDB as default,
adjust Build-Dependencies as recommended, see e.g.
http://www.slideshare.net/ottokekalainen/debconf16-bof-on-mariadbmysql-packaging
Change-Id: I93e439ba2138cc711e321c2a3717fe04e4b53e31
9 years ago
Alexander Lutay
80bca65564
TT#4002 Bump debian/changelog to 5.0.0.0+0~mr5.0.0.0
...
Change-Id: I940cc23ca75d6e37b56a53b6a575a9749e8f3405
9 years ago
Jenkins User
a1a9b7a8e3
Release new version 1.21.0.0+0~mr5.0.0.0
10 years ago
Andrew Pogrebennyk
10274b28f0
MT#20221 add option to find destination peer by pbx stop records
...
Change-Id: I819f9cf3d619229a0c4a5cd4b8f49326ec7877af
10 years ago
Richard Fuchs
8bbe5c5f59
MT#20221 use descriptive name for peer hosts instead of hostname
...
for PBX calls
Change-Id: Ie698d4da6990a029d9119dac5e27ecba4e3bd2dc
10 years ago
Richard Fuchs
3e3a6e806b
MT#20221 support special treatment of _pbx-1 accounting records
...
When enabled, mediator will look for acc records belonging to the
$ci_pbx-1 call leg and use the stop/bye records from this call leg in
place of the regular one.
Change-Id: I46d326fb30fcf105642d188a07ae771a659ff17f
10 years ago
Jenkins User
824e759ee7
Release new version 1.20.0.0+0~mr4.5.0.0
10 years ago
Jenkins User
e7c129a400
Release new version 1.19.0.0+0~mr4.4.0.0
10 years ago
Andreas Granig
c39c05530a
MT#16777 Fix lnp columns
...
Must be in single quotes.
Change-Id: I0a4bff8d410b86953677a88389c0efc0419da997
10 years ago
Andreas Granig
13132cc7ef
MT#16777 Process source/destination_lnp_prefix
...
Change-Id: I5d93aa1cc38579887de95f1abbca98b33846f9cf
10 years ago
Michael Prokop
e23d446694
MT#17699 Bump Standards-Version to 3.9.7
...
No further changes required to update to Debian Policy 3.9.7[.0]
Change-Id: I8e2b9237b505c39b915e3fc850ae241e03ad2f52
10 years ago
Richard Fuchs
68fdd9a0f6
MT#17645 implement unescaping for sensitive CDR fields
...
Change-Id: I3f0919bf334b2916033f6cb2add46383e3bf8886
10 years ago
Guillem Jover
35b9cae7e7
MT#16473 Convert debian/copyright to machine-readable format
...
See <https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ >.
Converted via update-copyright. Update copyright years.
Change-Id: I2a47052879b6e62b2304ee6df0dd50a08c60f7f0
10 years ago
Jenkins User
e4d3beeea5
Release new version 1.18.0.0+0~mr4.3.0.0
10 years ago
Jenkins User
129cd5b252
Release new version 1.17.0.0+0~mr4.2.0.0
10 years ago
Kirill Solomko
9df32db47e
MT#15397 - stats_handler uses autocommit=1
...
Change-Id: I48c791238fe2f6e482d0a9f8552f4e8c07f76d5a
11 years ago
Victor Seva
b2f9d5999e
MT#15395 log stats query on critial error
...
in order to try to recover
Change-Id: I84e4b8eee7ca99ca201e320b9e2ba52c9ab74904
11 years ago
Victor Seva
2c2219c848
MT#15381 fix backwards compatibility for [src|dst]leg fields
...
Last record has no separator at the end
Change-Id: I0fc80c4fe4656fda1314cb7c2c489612cdc1fca2
11 years ago
Jenkins User
76b7bbdbc0
Release new version 1.16.0.0+0~mr4.1.0.0
11 years ago