Richard Fuchs
cd185fd168
MT#56493 move GTree helpers to auxlib
...
Change-Id: Ia3135d9f2c370d9c18d7249506256241339df9d1
2 years ago
Richard Fuchs
dc1a44f3ec
MT#55447 add support for EVS
...
Change-Id: I54993cefbb3d30a4dc87b13507dd0d61739baaa0
3 years ago
Dup4
ad5d98e4d0
MT#55283 Squashed commit of the following:
...
closes #1560
closes #1559
commit e11f52c041
Author: Dup4 <lyuzhi.pan@gmail.com>
Date: Tue Nov 1 22:58:44 2022 +0800
fix: add comma
commit e0c2f47b49
Author: Dup4 <lyuzhi.pan@gmail.com>
Date: Tue Nov 1 22:01:26 2022 +0800
feat: add log-name option
Change-Id: I40a7b68120efb240faea86eb2d716d5e01a420c3
3 years ago
Richard Fuchs
56d4ff74f2
TT#14008 add config knob for max log line length
...
This is useful because we log to stderr, which technically would allow
unlimited log line length, but this is in fact turned over to syslog,
which truncates log lines that are too long.
Change-Id: Iee8994842335ab1cf94941c14eced01e29120bc9
4 years ago
Daniel Hauptmann
4481c773ac
TT#128050 Squashed commit of the following:
...
commit b0c722da69ad088a2eddced12b37c0546a514890
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:35:51 2021 +0200
changed flag bit length
in call_interfaces.h changed bit length of reuse_codec from 0 to 1
commit 0313a747532d5987f25fa9edb202aa460bf98dd1
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:29:20 2021 +0200
inversed reuse_codec logic
in test-transcode.c and call.c, reuse_codec = 0 (default) will now result in using codec_store_populate instead of codec_store_populate_reuse
commit b876bd686bd30df21a5962aca16fc1c85574f554
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:18:19 2021 +0200
adding option to minimalize changes in the codec_store_population
added function codec_store_populate_reuse in codec.c which replaces codec_store_populate but makes fewer changes to the GLists with the old and new codecs
added flag to enable this feature (disabled by default)
commit 6fd0b701c9589b2fae00300801e02a9b5cc397ab
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 14:44:42 2021 +0200
Added Option to minimize change in the codecs
In codec.c added function to populate codec store with the fewest changes between the old and new GList which contains the codecs.
Added new testroutine in test-transcode.c line 1500
Added flag to call_interfaces.h to optionally enable this feature
Change-Id: If58d9a07d114b05dfb75553a87eb4372ae949fbb
commit 3bf554a8fbae7e948343699f40d935693618b764
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Fri Jul 23 13:58:02 2021 +0200
changing codec-exchange behaviour
in codec.c line 3288 function codec_store_populate now doesnt empty dst and copy new codec from src to it, instead codecs from src will be appended to dst and codec from dst, which are not
being contained by src are being removed
Change-Id: Id6b7ee65595f9cc5c71ef557c7bac5ee38f97cbe
4 years ago
Guillem Jover
adbd071c14
TT#111150 Do not use old-style declarations
...
Change-Id: I08a702ebfbcc5d3ac1dca284abdaa3f6567b9272
Warned-by: gcc -Wold-style-declaration
4 years ago
Guillem Jover
07695d2abb
TT#111150 Use modern <stdint.h> uint<bits>_t types
...
The u_int<bits>_t are BSD legacy types, while the new ones are specified
by C99 and SUSv3.
Change-Id: Ia748cabc33a7e5adc2c7a6049ad1e55be0c788a8
4 years ago
Richard Fuchs
b0f185f409
TT#111357 refactor sysconf() call into shared code
...
Change-Id: Ifd8d1d774f55e7c58bf82c9a5f67787e02f53c3f
4 years ago
Richard Fuchs
030f38ff16
TT#97301 add description to log levels
...
Change-Id: I223d69016b5e6328f1124a6a977c46d008b667dc
4 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
...
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
4 years ago
Richard Fuchs
f0a29d0c5c
fix compilation for glib < 2.40
...
closes #1122
Change-Id: I2be6645a088d0114da2ff1a8190c3e135903f510
4 years ago
Richard Fuchs
f393d29009
TT#101202 keep timer queue entries with same timestamp in order
...
closes #1110
Change-Id: Ia121deb9589bfdfa112189b22d4a78bdb29c535b
5 years ago
Richard Fuchs
b260e145e7
TT#97500 set thread stack size
...
closes #1078
Change-Id: Iebe5effb917731c8ca553c9e599df613e763b255
5 years ago
Richard Fuchs
dd3f77b0a5
trim trailing spaces from config values
...
closes #843
Change-Id: Icf59d5474edde8265f48b179488c11a367b57b8b
5 years ago
Richard Fuchs
eae7f3a327
TT#84360 add new option to split multi-line log messages
...
Change-Id: Ie29301dbf5f704c4f3c87431e3c63fac761696d5
5 years ago
Stefan Mititelu
91d5580fa7
Fix config use_section
5 years ago
Stefan Mititelu
aa98d7f86c
Prevent glib CRITICAL errors for NULL pointers
5 years ago
Richard Fuchs
08fc2eca34
TT#28300 free config strings with dupes between argv and file
...
Change-Id: Ied7b57d52c5f2537b4ebbac9ae24269c7aacf9ab
5 years ago
Richard Fuchs
3ca61f3baf
TT#28300 fix --config-section not being honoured
...
Change-Id: I7c674e72365602ac016e73c44502414af7c0d5c3
5 years ago
Richard Fuchs
39b04ece9d
TT#28300 use more auto cleanup variables in config_load
...
Change-Id: I613e1496fd46d33e95eaea14bd0b0ec8aece181c
5 years ago
Richard Fuchs
48b33bd3dc
TT#28300 move auto cleanup functions to lib files
...
Change-Id: Id1fff1523b2bfecf2a929c235fe1719bc18b97f6
5 years ago
Richard Fuchs
f4717cbe60
TT#28300 make sure log marker strings are always set
...
Change-Id: I3ba722b1430391c267966b095857bc86cb324e3f
5 years ago
Stefan Mititelu
de28a65934
Solve Vlagrind "definitely lost" memory leaks
5 years ago
Richard Fuchs
24cb202678
fix compilation under musl libc
...
closes #943
Change-Id: Ie192325e83ee129380ce1af2d235c0942a9b5afa
5 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
...
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
6 years ago
Richard Fuchs
354f75490d
TT#45617 add no-log-timestamps option
...
Log lines written to stderr that are consumed by journald will already
have timestamps added to them. Drop the redundant unixtime output for
this use case.
Change-Id: I34886a69a0ef90de2eb84ee8f446cbad624302c1
6 years ago
Richard Fuchs
cfe6f87c8d
TT#50652 split timeval_cmp_ptr into function
...
Change-Id: I803e25bc3dc631d9eb05223d61708e9bfc5ca9de
6 years ago
Richard Fuchs
3b28460507
TT#52651 Squashed commit of the following:
...
commit 2029144368
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 21 13:12:50 2019 -0500
TT#52651 switch TCP to TLS
Change-Id: Iab6b05d3b5c88553cbd6f531f3189084d9e71995
commit b28e718ee4
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 22 09:20:54 2019 -0500
TT#52651 generalise streambuf interface
Change-Id: I7d5ab8ffe13e52d4dbb1901531cc13fcc173d60d
commit cb2dbd2a92
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 19 09:32:56 2019 -0500
TT#52651 add start/stop forwarding commands and party selection logic
Change-Id: I8ef7e288d3a3e485bd2fa14e1a2407a0c8d94bac
commit 442c48f627
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 15:43:23 2019 -0500
TT#52651 produce output for TCP forwarding feature
Change-Id: I18543921577faf655679829684f5af46c0af5054
commit 2ef8028eb2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 10:18:21 2019 -0500
TT#52651 make recording to output files optional
Change-Id: I12c288b965641352658ce3b499c2ee90593e1322
commit 10a58cd7a0
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 16:02:16 2019 -0500
TT#52651 strip streambuf into lib and include in recording daemon
Change-Id: I1f6638961e9e767063e0b4e6b5d55d88799366d3
commit 9d3bb5bffc
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 15:40:12 2019 -0500
TT#52651 extract/move unrelated old legacy decoder struct members
Change-Id: Iffd79b43180c30a9e128a460f7ba85ba49dedeaf
commit 1bc38e4201
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:43:42 2019 -0500
TT#52651 config options for forwarding option
Change-Id: Ieaa2ee0e55a0c531158174bc6a534738a64dbee6
commit 06d61cd3dd
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:29:52 2019 -0500
TT#52651 move socket.[ch] into lib/
includes necessary re-shuffling of additional code pieces
Change-Id: I74b314ab5936ac8a0eeaff94e084617b59b28d79
Change-Id: I025e8ec86b90ede79565542dff57ec1559d04200
6 years ago
Richard Fuchs
3cdfe5af1a
suppress loading of default config file for auto tests
...
Change-Id: I018de8dc31781756ef69738706531ad5f3dfb2af
6 years ago
Guillem Jover
5ba52952c0
TT#42906 Add systemd notify support
...
Change-Id: Iba046fa3e36654cedb73203eb06a9d768720a6b0
7 years ago
Richard Fuchs
0361bbd9b7
add missing include
...
closes #553
Change-Id: Ia605ebac697ab0d8cd28b4d758f27712345f2a81
7 years ago
Richard Fuchs
14ffd8feb0
TT#36303 support bandwidth usage resource limit
...
Also fixes logic for other resource limits
Change-Id: I263e097da5b5671826e0d92a28fb3a5c6f3ac193
7 years ago
Richard Fuchs
0072380d99
support double type values in config file
...
Change-Id: If6a722e0070246dbdae7cda7b488524f1e216d7d
7 years ago
Richard Fuchs
46d853972b
move lib/ config options into struct
...
Change-Id: I563b38cd64daea5f9137debff2fc7881a3cdaa9d
7 years ago
Richard Fuchs
531febbbb0
migrate log-stderr and log-facility options to lib for recording daemon
...
Change-Id: I3322eccf01c606f29024fc786b257c45d6b92b54
8 years ago
Richard Fuchs
76ba5872fd
TT#13000 add init.d setuid/setgid capability
...
refuse startup when pid file cannot be written
Change-Id: I755dd6fef6cf468b1f96608ab8f804c4c5144ace
8 years ago
Richard Fuchs
fb783f0080
TT#5566 configurable recording daemon
...
share more code between the two daemons
Change-Id: I77af5146cf3cef6ab8c145274b3fd8b031fba3e4
9 years ago
Richard Fuchs
28b80181f2
TT#5566 add support for config file handling
...
closes #252
Change-Id: I92dd61c100319469c6ff4764c90bba5c3ab367a2
9 years ago
Richard Fuchs
ea72733ac0
support daemonizing in recording daemon
...
Change-Id: I9c76d63efe72d6598087a97f8bf93e0958b81fad
9 years ago