Richard Fuchs
3a6a95f833
TT#14008 fix CN passthrough
Change-Id: I39c75c6089ca3e4c90ebfd7298a81493066a7784
5 years ago
Richard Fuchs
9b296db449
TT#122401 fix timing issues with fluctuating ptime
Change-Id: I77877afcafaf81e357b86eefa62eb3e2279ca75e
5 years ago
Richard Fuchs
d4fbec39d1
TT#122401 return ptime from decoded packets for DTX
Change-Id: I382b842406fbee73ec752f6f4f0832736222ef52
5 years ago
Richard Fuchs
4f6af3746b
TT#122401 add early DTX logging context
Change-Id: I8ab96e3c0295cce793706226bcb7350816b7109e
5 years ago
Richard Fuchs
64670ffb61
TT#122401 add option to bypass AMR SID
Change-Id: I0504d452737573f388941dcca507e3adfd5744c6
5 years ago
Richard Fuchs
ec68dfeb31
TT#122401 add configurable CN method
Change-Id: I2aa9901b2a9dcf64563a84d77fa40d23b6c25525
5 years ago
Richard Fuchs
dc38a0e88e
TT#122401 support multiple DTX method per codec
Change-Id: I775d56e675255b3dca4227779d1146d8c8806f06
5 years ago
Richard Fuchs
da06ed217b
TT#122401 add ptime to DTX trigger
Change-Id: I96aabff398cbe296243d8bdf7499468c6da96352
5 years ago
Richard Fuchs
7c3982ea11
TT#122401 rename "lost packet" functions to DTX
Change-Id: Ie39ff68eb0be8bf77f1b6c213df837c08fc869b7
5 years ago
Richard Fuchs
b1409e58e1
TT#122401 correct ptime handling for negative values
Change-Id: I3ca96971ec20aa02deb80d2d9613bbaa33c3ae05
5 years ago
Richard Fuchs
0e2bddb6c8
TT#14008 add `pierce-NAT` flag
Change-Id: I1ec9b0ba152939cb6dc079e0047040da862945dc
5 years ago
Richard Fuchs
a009f76456
TT#14008 support media echo and blackhole
Change-Id: I9df4680188709867db2b61d97cc5f1e30c59e0d7
5 years ago
Richard Fuchs
cc9fb063eb
TT#14008 fix possible segfault
closes #1265
Change-Id: I7f02a9c2d7f7fbdf830018200fab99d9cf4f425c
5 years ago
Stefan Mititelu
156271ef9f
Avoid deadlock of notification thread
Fixes issue #1258 .
5 years ago
Richard Fuchs
1ec517c2f4
TT#14008 restore foreign calls from the appropriate DB
closes #1257
Change-Id: I299475a01470cc9d4910d9d304bdda9bbbee6e83
5 years ago
Richard Fuchs
30621846ab
TT#14008 keep track of selected Redis DB
This avoids unnecessary SELECT calls.
Change-Id: I916889cbd4490045fdbacd85138d631ed6f7bd88
5 years ago
Richard Fuchs
4c9b5434bf
TT#122401 actually shut down DTX when out of time
Change-Id: Idfb934e439fd4b3f2cbc37a93b3e45a1f5391917
5 years ago
Richard Fuchs
faee34f1a0
TT#14008 fix rand_hex_string usage
rand_hex_string() writes a terminated null byte, therefore the buffer
must be larger by one byte.
Change-Id: Ieca67754d67fd7e5f1c94b07ffc8d0de428f552a
5 years ago
Richard Fuchs
be30d2cc33
TT#111150 free cn_payload string if present
Change-Id: Ibff3f9484c988f194436479a137baeb583522931
5 years ago
Richard Fuchs
1205f22f48
TT#111150 reformat struct initialiser
Expanding the initialiser of the contained array eliminates a stray
warning from gcc (-Wmissing-field-initializers).
Change-Id: Icef260477d0ff7acc050375ce48cc6604ee325ff
5 years ago
Tinotenda Chingosho
575435db73
Squashed commit of the following:
commit fd25c8e281
Author: Tinotenda Chingosho <tinochingosho@googlemail.com>
Date: Tue May 11 12:03:55 2021 +0100
Address review comments
- update typo
- document new parameter
commit e4e106f423
Author: Tinotenda Chingosho <tinochingosho@googlemail.com>
Date: Mon May 10 16:18:57 2021 +0100
Support Configurable MTU
- default to 1200
- minmimum value 576
Change-Id: I6cbc03eb7f8198a211d70844c115d162d954dea8
5 years ago
Guillem Jover
d3390bae32
TT#111150 Enable -Wextra minus some of its warnings producing much noise
We should eventually try to reduce the amount of -Wno-* options, but for
now this is a net improvement.
Change-Id: I3bd03679acbc157c0d1b3c257a542e2eec0e5ee9
5 years ago
Guillem Jover
6fc793845b
TT#111150 Use {} instead of ; to mark an empty body
Change-Id: Ib87db24dbb0d89cb03052e7b8a2e8d8802246c33
Warned-by: gcc -Wempty-body
5 years ago
Guillem Jover
adbd071c14
TT#111150 Do not use old-style declarations
Change-Id: I08a702ebfbcc5d3ac1dca284abdaa3f6567b9272
Warned-by: gcc -Wold-style-declaration
5 years ago
Richard Fuchs
951f4d62fb
TT#111150 remove dead code
The internal-iovec bencode semantics are not used any more. Remove the
relevant code.
Change-Id: I22555bf74d935f48a793df441205a7f34b1b2d7f
5 years ago
Richard Fuchs
2dee5807e8
TT#111150 remove useless comparisons
Don't check variables that cannot be negative whether they're negative.
Change-Id: Ib2e0f9832e5f91541edbcad5b70af4e7c21921e0
5 years ago
Richard Fuchs
b285665a20
TT#111150 use ssize_t for signed return type
These functions can return negative values to signal errors, therefore
use ssize_t as appropriate type.
Change-Id: I810b2d40e9d6df47269af54c59940d114bb5a672
5 years ago
Richard Fuchs
2057d0a367
TT#14008 rate limit log line about missing output context
closes #1259
Change-Id: I0777647a8f6974fca845b4c35591bc7539f4891b
5 years ago
Clarence
320459873f
Fix redis connect failed when there are "@" in redis password.
5 years ago
Guillem Jover
27b2c2cd7c
TT#111150 Fix unaligned access for AES GCM IV initialization
Use a packed union to access the IV parts, which otherwise force unaligned
accesses.
Warned-by: gcc ASAN
Change-Id: I25661f1b1a00e9cd7d1e24bbcc10ed103ccef323
5 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
5 years ago
Richard Fuchs
6527fb513c
TT#111150 fix an SSRC reference leak
get_ssrc_ctx() returns a new reference to the SSRC object, therefore we
must release the referece when we're done with it.
Change-Id: I0db07e4cca49a37af68d072ac6d0630c025b8809
5 years ago
Richard Fuchs
292ba2e72b
TT#111150 convert refcounting functions to macros
Convert ssrc_ctx_put() and ssrc_ctx_hold() to macros to aide in
debugging reference leaks. Having them as inline functions hides the
actual location of the refcount changes.
Obsolete ssrc_ctx_get() as returning values from macros is awkward and
it was only used in two locations.
Also fix a function invocation mishap: obj_get_o() should be used
instead of __obj_get() as the latter is an internal macro.
Change-Id: Icc0d63f04b3816632fd120c1c749cafabbbfa331
5 years ago
Richard Fuchs
e70d203802
TT#108551 fix AEAD kernel encryption of small packets
closes #1230
Change-Id: I26cae7b53eed1ff8155d2fa1e1aa5283a9c37d36
5 years ago
Richard Fuchs
d5d0a3a994
TT#111150 convert str.len to size_t
This makes the type in line with string(3) functions and eliminates some
compiler warnings.
Also update the related bencode data type.
Change-Id: I7ef4024f4b5a0f737b3dbe03bcd078032395bce6
5 years ago
Richard Fuchs
dbf79cb762
TT#14008 allow re-invites for calls when load limit is hit
closes #1241
Change-Id: I698f57d1bc9fe77d8c95530beefbdb112165adfc
5 years ago
Richard Fuchs
87e5efc7d4
TT#111150 fix mem leaks in test-transcode
Change-Id: I3a796184e64b1fc1f760b53fe7d1855997ab8b72
5 years ago
Richard Fuchs
80099bd57c
TT#111150 fix mem leak in codec tracker
Change-Id: Ie1a617c7ab82147dfce7973d927843f55906a1a5
5 years ago
Richard Fuchs
aca786b3bf
TT#99621 fix RTCP generation after it has been stopped once
Change-Id: I1b4c890cfb3530360da3fa2205356aab95b973fc
5 years ago
Richard Fuchs
a2af257216
TT#98901 fix DTX TS reset detection
Change-Id: Ide2d7b2f9fccdd6475969ef5588acbc312ab588a
5 years ago
Richard Fuchs
a8d5076065
TT#119502 correctly restore calls from both Redis instances
Change-Id: I713d7e8ba0a7d14f5ef9016d33619df91ce6ec32
5 years ago
Richard Fuchs
ec42f83353
TT#14008 allow usage with just HTTP/WS
closes #1246
Change-Id: I5fc5ebd462589f0f585b8afce4908a6ac4a94bbb
5 years ago
Richard Fuchs
a2e05bdc5c
TT#120402 always update output SSRC mapping
The SSRC mapping strategy can change if a re-invite disengages
transcoding, therefore we always need to update the output SSRC mapping
even if the SSRC entry has already existed, to avoid stray SSRC changes.
Change-Id: Ib6f14ede1a4e615ff5eb8372cc68bf1acdd4b6c8
(cherry picked from commit dd7acd2644 )
5 years ago
Richard Fuchs
6cc1e99ee8
TT#14008 fix possible segfault when out of ports
closes #1243
Change-Id: Ib04c289ad78624139c0375423a7bc1ad402874e7
5 years ago
Richard Fuchs
05ef61c0d7
TT#108003 fix errors reported by coverity
Change-Id: I6641da426f1e05f0d0e3924887baf7fb948fb0c9
5 years ago
Richard Fuchs
aabcfaff17
TT#119502 quiet logging for foreign calls
Change-Id: I5ae02e47b839f23ccc3d2a7ca48d43ada6ae3d41
5 years ago
Richard Fuchs
89666c8021
TT#14008 fix ICE if ICE completes before SDP comes in
Change-Id: I3085e67a81fb8adeeb4334db2e0e894716107937
5 years ago
Richard Fuchs
a86d98f8d1
TT#118902 add support for per-call debugging
Change-Id: I9b0eab21ff4e5c241ff045049ccd37f6044d5707
5 years ago
Richard Fuchs
44809a30c8
TT#111150 refactor xmlrpc_helper to avoid GStringChunk
Change-Id: If3cb8b5c1fcaed0cb9b1b22d752ec5e9099d2d39
5 years ago
Richard Fuchs
2f84553913
TT#111150 refactor cookie cache to avoid GStringChunk
Change-Id: I0f53ec6bcb2ecd79cfbd857acf2617c1348205f6
5 years ago