| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
bebe291656 |
MT#59086 Unify header files inclusions.
In the file implementations follow the rules: 1. Firstly goes the correlated header file, then one empty row. 2. Secondly go system headers, so in angle-brackets, then one empty row. 3. Thirdly, go custom header files, so in double quotes, then one empty row. 4. If there is "xt_RTPENGINE.h", it's mentioned next, but separately, then one empty row. 5. If there are pre-processor definitions, they are added. 6. And eventually at least one empty row before the code. In some situations it's allowed to step aside from the rules, when inclusions are dependent on each other, so on the sequence, and also possibly on some inline objects definitions, but if possible to follow the rules, it's being done. Change-Id: Ie512a970e230fe202398656d1942e8874bb14cd9 |
2 years ago |
|
|
8f98f69e98 |
MT#55283 use typed G* for subscriptions
Change-Id: Iea5b93568817a73a37c10af3fc296520b2133eda |
2 years ago |
|
|
7b2ba5339a |
MT#55283 use typed G* for call members
Change-Id: Idcd7d703952d5559d3e13bf681cf7342e6768f12 |
2 years ago |
|
|
c9ac6ecc73 |
MT#55283 convert struct rtp_payload_time to typedef
Change-Id: Idb415f448a920b73582f9d5f64cca9b53b81a8ac |
2 years ago |
|
|
2975b2131d |
MT#55283 convert struct call to typedef
Change-Id: I1f01fdf74d6d3952413ebc02dfdb9770b324481c |
2 years ago |
|
|
57598e1255 |
MT#55283 use typed GQueue for stream/handlers
Change-Id: I874680db25f26466400f4a08641a97cb6f7be36b |
2 years ago |
|
|
c28ba5cd4e |
MT#55283 use g_auto for GString
Change-Id: Ie7eb4a8f4115cdf13770cb112d8116b29ae94d73 |
2 years ago |
|
|
43d1427b4d |
MT#55283 switch basic GQueue to g_auto
Change-Id: I3b17e0a0f6e451e3a0e62c209a887db6ac1f7f55 |
2 years ago |
|
|
530a569d1e |
MT#57719 cdr: Use media subscriptions in `cdr_update_entry()`
Start using the media subscriptions model (based on newly introduced `media_subscription` objects) in scope of `cdr_update_entry()`. Change-Id: I0618a1ee51ec8ea208839da2de46781242287a12 |
2 years ago |
|
|
5822cb889d |
MT#56447 change ml->medias to GPtrArray
Using a pointer array instead of a linked lists allows us to directly reference a media section by index number, without having to spool into the linked list. No functional changes. Change-Id: I8b0e93f0c2e9addbcb4c938894118ed4a6aec768 |
3 years ago |
|
|
30fa7c9d62 | Fix cdr local addr and port | 3 years ago |
|
|
e7abe3b378 |
TT#44805 rename `stats` to `stats_in`
Change-Id: Ifaf9a97b41d2cba76bf252772ed76242a7ca48d2 |
3 years ago |
|
|
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
|
4 years ago |
|
|
a1f3530292 |
TT#101150 separate out `struct stream_stats`
Change-Id: I709060d9e805175bd99173df03e581b593506e15 |
4 years ago |
|
|
406f2dc36d |
TT#101150 remove in_tos_tclass from struct stats
Change-Id: I000f19f3eade23085952c86f6f730ab954f81b95 |
4 years ago |
|
|
92fb330a46 |
TT#91151 implement one-to-many forwarding
Change-Id: I80fd35da680d4ad1f4d3d21f14f11363106b9917 |
5 years ago |
|
|
8f440555a0 |
TT#108003 Fix memory leak in cdr_update_entry()
The AUTO_CLEANUP_INIT() macro is already allocating a string for this variable, which we were then overwriting and thus leaking. Change-Id: If655c867c5666c6cff6311f01e617647375f6279 Warned-by: coverity |
5 years ago |
|
|
b75ec8e7ba |
TT#14008 convert CDR logging to g_string
Change-Id: I64ec610b163534e3cfc0e7d0385329ab45c5cca3 |
5 years ago |
|
|
6fa712d0d8 |
implement offer-timeout option
closes #526 Change-Id: I819e1ad567c93f922461caf15482c2c55a0143d1 |
8 years ago |
|
|
b317acdbde | don't log corrupted cdr for foreign calls | 8 years ago |
|
|
8f01e780a8 | First attempt to seperate more stats and cdr away from the core running code | 9 years ago |