antonvoylenko
7b04aa23f7
Tune RPM building
4 years ago
Richard Fuchs
2c0e196be9
TT#107565 fix SDP ordering issue of s= vs o=
...
Change-Id: Id6ad795bf9304e66012958060104af00a4bc1c6b
4 years ago
Richard Fuchs
f0901e93a2
TT#14008 update instructions re bcg729
...
Change-Id: Ia2b52f646c994b444a4b2ea9aa4d188961a6cbba
4 years ago
Richard Fuchs
8a11013734
TT#14008 update instructions for compilation
...
Change-Id: I486e2cef69975c099a25dee237017fdfc07d99a6
4 years ago
Richard Fuchs
9b60747fad
TT#14008 mention the .deb repo in the README
...
Change-Id: Ic09091fc3f40ab393a4589798bc0aa4b6ae473ae
4 years ago
Richard Fuchs
52986d3486
TT#14008 direct people to the new mailing list via README
...
Change-Id: I448c05e5c444182f8ce69db826bdd2578c02b6e6
4 years ago
Richard Fuchs
426575aa32
TT#14008 add backtraces for obj* debugging output
...
Change-Id: I51c6667fc835eedf54a10878bc09620557aa8d22
4 years ago
Richard Fuchs
176e7bef67
TT#14008 avoid possible reference leak
...
Change-Id: I250697df090e58e04071bb4220a59f7788ad15c8
4 years ago
Richard Fuchs
2dd5d7125f
TT#14008 don't directly use __obj_* calls
...
Change-Id: I578482e8dd32c36c14e85fc5d5ef34b99a5600a8
4 years ago
Richard Fuchs
fc56744553
TT#14008 remove calls from iterators during shutdown
...
... for easier mem leak debugging
Change-Id: I23fc86a9ac242d37c04debf6c1f7fb18cadb8ee9
4 years ago
Richard Fuchs
44e53a2767
TT#147451 add missing cleanup of subs lists
...
Change-Id: I54d1545d3b302d3d73168c3c64b15af3e327a494
4 years ago
Richard Fuchs
b9eea8c579
TT#14008 fix 32-bit compiler warnings
...
Change-Id: Ibf2d631245e2ee67ee2023647ceac349e8c9b605
4 years ago
Richard Fuchs
47e9f22442
TT#109800 add special handling for dtx-shift=0
...
Change-Id: I7e99f60476e74eb38b215573eb7d574f09b4c31a
4 years ago
Richard Fuchs
0c2f990561
TT#109800 fix output seq num bug
...
Change-Id: I68bc61982806ba1a48931030fdee26bcd75f1858
4 years ago
Richard Fuchs
00a76df639
TT#109800 refactor DTX timer drift handling
...
Change-Id: I73ba6cf188ca2cf62829539a7e76107c9dcd8989
4 years ago
Richard Fuchs
ff00569c89
TT#14008 extra mitigation for forwarding loops
...
Flag a socket with an error strike when packets are received too fast,
and refuse processing once too many strikes have occurred. This should
prevent forwarding loops from taking down the system.
Change-Id: Idc574f2f1dbbcb156efc37a80e903dc4e60ef1b1
4 years ago
Sebastian Kemper
746dedb602
Add support for time64 libcs
...
libcs are implementing changes to fix the year 2038 issue on 32 bit
platforms (see [1]). musl libc already went ahead and implemented it,
starting with musl-1.2.0 (see [2]).
This commit adds a new definition to lib/loglib.h:
TIME_T_INT_FMT
If __USE_TIME_BITS64 is defined (by a time64 libc, see [1]), it's set to
the proper conversions for type int64_t, PRId64. If __USE_TIME_BITS64 is
not defined, the status quo remains unchanged ("%ld" is used).
The new definition is used in the different parts of rtpengine, where
appropriate.
Note: Richard confirmed that the "%u" format in daemon/cdr.c is not
needed, so this gets swept under the rug.
These changes get rid of the new warnings that appeared with musl-1.2.0.
Below an example warning:
In file included from ./log.h:6,
from ../include/obj.h:94,
from ../include/media_socket.h:9,
from ../include/call.h:26,
from ../include/redis.h:15,
from redis.c:1:
redis.c: In function 'redis_check_conn':
../lib/loglib.h:56:30: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
56 | __ilog(prio, "[%s] " fmt, log_level_names[system], ##__VA_ARGS__); \
| ^~~~~~~
../lib/loglib.h:64:39: note: in expansion of macro 'ilogsn'
64 | #define ilogs(system, prio, fmt, ...) ilogsn(log_level_index_ ## system, prio, fmt, ##__VA_ARGS__)
| ^~~~~~
../lib/loglib.h:63:30: note: in expansion of macro 'ilogs'
63 | #define ilog(prio, fmt, ...) ilogs(core, prio, fmt, ##__VA_ARGS__)
| ^~~~~
redis.c:887:17: note: in expansion of macro 'ilog'
887 | ilog(LOG_WARNING, "Redis server %s is disabled. Don't try RE-Establishing for %ld more seconds",
| ^~~~
[1] https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
[2] https://musl.libc.org/time64.html
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years ago
Richard Fuchs
a152f8b07f
TT#14008 don't wake up all threads during non-wait main sleep
...
Change-Id: Id55cc0e295b586f67d30510ee37572d311a467a2
4 years ago
Richard Fuchs
d3a3382ac9
TT#14008 convert threads_join_all arg to bool
...
Change-Id: Ie1ef9bbfe6faaf9fa7ed163d51475f6f353309df
4 years ago
Richard Fuchs
24f607752c
TT#145450 add support for tracking multiple SSRCs per stream
...
Change-Id: I885fbf7973133af8d7c9184eb0e75f5401309c8e
4 years ago
Richard Fuchs
e443614d16
TT#145450 cache last used PT to avoid repeated bsearch
...
Change-Id: I4d7d11f40a9c4225418b8f9835a8f2f5047dcdd2
4 years ago
Richard Fuchs
eaec8cb2c2
TT#145450 properly namespace kernel module defines
...
Change-Id: I1c7f76416b00c79384528f508694ab7ca7bc7280
4 years ago
Richard Fuchs
4c1b4adb69
TT#14008 add test scripts for RTP stats
...
Change-Id: If3464486d6455cac4aa40ee72c80301755a15f04
4 years ago
Richard Fuchs
834eb034af
TT#14008 add packet loss tracking for userspace passthrough
...
Change-Id: Id2ea329333a4236389e2a2b567fba76ffc7cea5f
4 years ago
Richard Fuchs
785ed90bba
TT#14008 eliminate duplicate packets_lost counters
...
This solves inconsistent stat output
Change-Id: Ic4c010fbceb83d1f8d5fffecacb3c65a436bfeae
4 years ago
Richard Fuchs
b8211b0896
TT#136952 fix transcoder output TS after DTMF event
...
Change-Id: I2edea6ff3a7d2331a6e6366bb986135d15af59c3
4 years ago
Richard Fuchs
9a149a77fb
TT#14008 make CLI call iterators lock-free
...
Change-Id: Id479c66ddd8f8e150bcc30325a356c39e00bb44c
4 years ago
Richard Fuchs
10d9be003d
TT#14008 tests for #1366
...
Change-Id: Ie0ba3a2c0550abd04c3f051dacc50d274f8f3939
4 years ago
Richard Fuchs
41966c9648
TT#14008 associate interface with call_monologue
...
This makes it possible to add new streams without specifying the
direction/interface again.
Reported in #1366
Change-Id: I8f320ecbe72f123d755ba80370de9c40960eb0f0
4 years ago
Richard Fuchs
77317a1723
TT#14008 add test for multi-intf handling
...
Change-Id: I9c1392ca521640d8e39eb6f67d146e70d44ee7d0
4 years ago
Richard Fuchs
39616a9629
TT#14008 change test deps around
...
so that they can be executed individually
Change-Id: I83e71001fc5b9362565391d939779bad968a365d
4 years ago
Sipwise Jenkins Builder
ad76db6b32
Release new version 10.2.0.0+0~mr10.2.0.0
4 years ago
Richard Fuchs
0fa3a105af
TT#131402 add stats for user/kernel streams
...
Change-Id: I78800a3bbef9fdd92369c2ed14efd39c7799178f
4 years ago
Richard Fuchs
7699e1da64
TT#131402 convert bitfield functions to `bool` type
...
Change-Id: If7f59a8a8437752c13909f6d6a09f8056ac4efbf
4 years ago
Richard Fuchs
c5dc3484ae
TT#131402 split up relay stats between kernel and userspace
...
Change-Id: I9e5a82e5817829d8a1b17e6828bb0594fbc8df08
4 years ago
Richard Fuchs
06006df6fb
TT#101150 obsolete 'totalstats'
...
Change-Id: I744222b313f50fcf08d421309c329256f78869aa
4 years ago
Richard Fuchs
b0ebe9ba1b
TT#101150 move start timestamp to global var
...
Change-Id: I03efdbf02b5fbf16616d26010cb79b0932cd4e00
4 years ago
Richard Fuchs
2ae5cc79ba
TT#101150 obsolete more fields from struct totalstats
...
total_managed_sess, total_average_call_dur, total_average_lock,
managed_sess_max, managed_sess_min, managed_sess_lock
Change-Id: Ibe3f619ec6d2f21270fc81901dde55b5242b0daa
4 years ago
Richard Fuchs
3fa16c6ab1
TT#101150 generalise ng command stats into array/list
...
Change-Id: I43c7074237ae70d9bcb12b4946ce2c751d135bc8
4 years ago
Richard Fuchs
6563a5ac6f
TT#101150 move some header includes/defs around
...
Change-Id: I2507b1bb22d4ba10f632fe2fa794fde975734f99
4 years ago
Richard Fuchs
d4102280b2
TT#101150 obsolete struct request_time stats
...
Change-Id: Icf3e0648a0ba821bc66c6dd0e8f5ebc30576fb70
4 years ago
Richard Fuchs
f5f29e1c59
TT#101150 add min/max/avg tracking for gauge stats
...
Change-Id: I6a682f2bb98673361a8454f419f8a0fb7d37ef75
4 years ago
Richard Fuchs
b4295684a5
TT#101150 convert stats gauge handling to macros
...
Change-Id: I583bb1a09196d055710ee5e1d379541f23c54117
4 years ago
Richard Fuchs
8b5f0e997e
TT#101150 copy out per-interface counter stats
...
Change-Id: I44174b1975b1ccfe30e6e9050bed00d57c7b8157
4 years ago
Richard Fuchs
7337f4a231
TT#101150 obsolete offers/answers/deletes_ps
...
Change-Id: I92e1a3617e2c47deeacc0186a930da0f6247f273
4 years ago
Richard Fuchs
899d95791f
TT#101150 add stats_counters_min_max()
...
Change-Id: I9c3104718696a8e1fc69faee132f960209e80c15
4 years ago
Richard Fuchs
2b60a678e2
TT#101150 use STATS_INC macro for req stats
...
Change-Id: I7d205e4f6b168ac1031737e80a3bb6d7f455dc25
4 years ago
Richard Fuchs
facb4b54db
TT#101150 obsolete redundant fields in struct totalstats
...
Change-Id: I75d8bb1890ce35faac271550a1f9aff0f24ce624
4 years ago
Richard Fuchs
3608d9b070
TT#101150 obsolete total_relayed_* fields
...
Change-Id: I2340daba8f8088af81b3ed6b5dfc6f5fb8621a9a
4 years ago
Richard Fuchs
d197a27b40
TT#101150 add graphite-specific global_stats_ax
...
Change-Id: I01ad26b1c6029d02c0a41216ba238c1f2c3a2f2d
4 years ago