Richard Fuchs
49bfad1f5f
TT#111150 fix possible null pointer dereference
Change-Id: I52d8df03fda2e39d353a9c05e264a1ecd13df2ca
5 years ago
Richard Fuchs
5802ff2379
TT#54762 add option to enable automatic active/active switchover
Change-Id: Icddeb28cab72974d9dad0a241775a0763a56b027
5 years ago
Richard Fuchs
3ada2ec0c1
TT#98901 handle DTX restarts and TS resets
Change-Id: I6eaa14fdaf52e9011125bf8021db8a1816a148c0
5 years ago
Richard Fuchs
bfcd2b248d
TT#14008 remove obsolete option from pod file
Change-Id: I01678d23e985d5a3041dbf290646075ab07c2e35
5 years ago
Richard Fuchs
e67e395a69
TT#14008 fix typo in pod file
Change-Id: I3040a9631c1bfd2f0c30dffca4c1a7820afd9816
5 years ago
Richard Fuchs
ac71e81e54
TT#118350 add SDES=static option
Change-Id: Id34d4fe31e58acfae31d8e5d30abec1837c4f808
5 years ago
Richard Fuchs
7dc55e6378
TT#98901 convert from static DTX delay to dynamic buffer queue
Change-Id: Ib6bfdfb9d1967263dc8acb48a812d7e75f9c239b
5 years ago
Richard Fuchs
42dd21d1ec
TT#14008 compensate for negative clock drifts
Change-Id: I9c55646565f4b72ddc87cb7ef2b00204590cb15e
5 years ago
Richard Fuchs
a6c7e9403a
TT#14008 fix output of negative fractional numbers
Change-Id: I70e6589ac5a61103165127fd3fd5d768641ccfab
5 years ago
Julien Chavanton
0483df374f
fix rtt from rtcp_rx
5 years ago
Julien Chavanton
49786d049f
adding cumulative number of packets lost
5 years ago
Stefan Mititelu
482e2d0d2b
Add stats for ipv4/ipv6/mixed media calls
Also Send stats for ipv4/ipv6/mixed media calls to graphite
5 years ago
Julien Chavanton
3d5e586c69
mos average fix when missing RTT
5 years ago
Julien Chavanton
4d56c6675a
mos calculation adjustment for
negative r-factor
5 years ago
Julien Chavanton
bcf70cf6d5
max-mos: is often invalid when RTCP was not
received on both legs since we are using RTT mos-cq (conversational
quality), we should not compute it when we have only the RTT from one
leg.
5 years ago
Dup4
0e2a0b9861
fix: mos calc
5 years ago
Richard Fuchs
64de499865
TT#14008 shut down codec handler when resetting
closes #1203
Change-Id: I6d4239e9ef5158a53e5e92a139d26a5b622f8aca
5 years ago
Dennis Yurasov
bfe6d59693
SSRC change fix in kernelized stream
5 years ago
Guillem Jover
8508177777
TT#111150 Split CFLAGS between required and optional
Change-Id: I683aef49534a7bf70958f72661a83003cea21c3b
5 years ago
Huseyin Dikme
1d1558bcc1
added rtpengine-ctl set and list options for the delete-delay config parameter
5 years ago
Richard Fuchs
8bea6eb64d
TT#14008 fix possible segfault
Change-Id: I90cfb2549f4c7d630897aefc1c34aac6bac1e636
5 years ago
Richard Fuchs
6893a7c96d
TT#14008 skip object precreation on second pass
Change-Id: I61a4c1b95b575489d6257c6bb5e3e1833ae6c65b
5 years ago
Richard Fuchs
52d9768418
TT#14008 move build tests to a wrapper script
Since dh_auto_test doesn't execute the test suites through make
directly, but instead runs `make -s -n` and then executes the output,
the integrated build tests fail since the sub-make doesn't return an
error as it should when attempting to build with the wrong .h
alternative, resulting in always the first .h alternative being used.
Fix this by using a wrapper script instead.
Also adjust some other related minor build details.
closes #1202
Change-Id: I4b6436295c6b39117bd06df53aa5afc7118ad6a1
5 years ago
Richard Fuchs
5cf4717f89
TT#115400 explicitly disallow ptime in non-RTP SDPs
Change-Id: Ib1e324861b6a88e1a2f80e4f37a8afa654923a77
(cherry picked from commit e2bf4abee8 )
5 years ago
Richard Fuchs
1393dbfc9a
TT#14008 shut down DTX buffer when resetting codec handler
closes #1203
Change-Id: Ibc8cc89c8fe152a9dc3172d24d3c27b75463d9bd
5 years ago
Richard Fuchs
ff034ff307
TT#14008 use encoder's codec_def instead of parent handler's
closes #1203
Change-Id: I6e39d44aec1ae84595a6da30ab7ab365de4db9ad
5 years ago
Richard Fuchs
8029a4d1cd
TT#113750 don't auto switch from an already selected fingerprint
If we receive an SDP with a DTLS fingerprint, by default we adopt the
hash function used for that fingerprint in subsequent communication with
that peer. However, if the SDP is an answer, and we previously used a
different hash function in the offer towards that peer, then a later
re-invite offer would be sent with a different fingerprint, causing an
unexpected DTLS restart. Instead, make sure we don't change fingerprints
if one was already sent.
Change-Id: I603bb86ce2d7121556c161749ed08128dd0b63b2
5 years ago
Richard Fuchs
3791b8f595
TT#107565 add `replace-session-name` option
Change-Id: I10d89f3bf8e88fb953cc7cc7fffae056bf0092c3
5 years ago
Richard Fuchs
fc83f64575
TT#107565 add `replace-username` option
Change-Id: I89dd560789adde4d96fa6a6f314b1c3c81a5a47b
5 years ago
Damir Nedžibović
f650f95111
TT#14008 Squashed commit of the following:
commit b3d2d70d4c
Merge: 1e62cbbb eacd2634
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Mar 4 11:36:26 2021 -0500
Merge branch 'fix_packet_order' of https://github.com/enreached/rtpengine into enreached-fix_packet_order
Change-Id: I30690cf4955c04238c359e4aca2d0fea36ebfd36
commit eacd2634e8
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 16:56:07 2021 +0100
Update docs with --poller-per-thread option.
commit 7d02539673
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 16:47:55 2021 +0100
Prevent mem leak.
commit 3510a5d021
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 13:25:39 2021 +0100
Make poller per thread functionality configurable.
commit a2142b2a5e
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:57:18 2021 +0100
Use pthread_self() instead of syscall(SYS_gettid).
commit 2e471cae40
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:46:44 2021 +0100
Refactor the code a bit.
commit 91f72455c9
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:21:42 2021 +0100
Use usleep() instead.
commit 08d3bdb4ed
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:03:39 2021 +0100
Use ssl_random() instead.
commit 2d9995a864
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Mar 2 15:50:13 2021 +0100
Sleep for 20ms instead.
commit eded168a38
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Mar 2 15:11:43 2021 +0100
Implement poller per thread in order to fix packet order.
Change-Id: If652c906be8b16115eb84e749f89a2729ba75120
5 years ago
Guillem Jover
1e62cbbb9a
TT#111150 Inline int_diff_print_sz() to avoid pointer handling
We simplify the function so that we do not need to meddle with pointers
and data sizes.
Change-Id: I3e653b44b28347053cc7a1053de8220c80250816
Warned-by: lgtm
5 years ago
Guillem Jover
eb84cb0148
TT#111150 Use localtime_r() instead of thread-unsafe localtime()
While the code is not threaded, better be future-proof and use safer
APIs, which in addition has less side-effects as it does not set the
global TZ related variables.
Also check for failures.
Change-Id: I083d2b5ad6901ac1a91d42d1ab7fe3e0989b02a0
Warned-by: lgtm
5 years ago
Guillem Jover
3a6950087e
TT#111150 Remove tautological check in stun()
The ntohs() function returns uint16_t, which will always fit within an
int (including in excess for the signed bit) on the platform we support.
Thus the check for negative values is never going to hit.
Change-Id: Ie9d5bcfe5709c50260098f91ff111755ded72921
Warned-by: lgtm
5 years ago
Richard Fuchs
def813cfde
TT#101201 fix ICE-lite mode switch
Change-Id: I10689bc07b86984880bfd420d6be4fbb057c41d1
5 years ago
Guillem Jover
a8a0adb759
TT#111150 Remove tautological test in dtmf_inject()
The tracker.most array is of unsigned char, so pt which gets
unconditionally assigned will always be >= 0.
Change-Id: I8adc06fc6c65aa0e33ef6614eb77c67b0dc07517
Warned-by: lgtm
5 years ago
Guillem Jover
68797f4195
TT#111150 Mark bit-fields explicitly with as unsigned
Whether a bit-field is signed or unsigned is implementation specific, so
we should be explicit about this.
Change-Id: I744df3d24bc08e95fa816ba4135f19cd3a5dcb17
Warned-by: lgtm
5 years ago
Richard Fuchs
af6ef843da
TT#100200 suppress audio packets during a DTMF event
Change-Id: I9612d692c3c6945c93b3194760383e67e5bca0e0
5 years ago
Richard Fuchs
7414da5bff
TT#100200 fix timing issue with sending DTMF
Change-Id: Iad9cffaf7316420fde85e0eeaffda7409bf49625
5 years ago
Richard Fuchs
c1c80da0c7
TT#14008 better logging for send_timer
Change-Id: Id3b7463c0e8cfc4e8b32adfebbbfc37e4bca52d7
5 years ago
Richard Fuchs
083ae4c37f
TT#14008 convert rtcp-fb handling to list
closes #1196
Change-Id: I08ec4bf783d2a6bc0e83498e61cf964718a03de4
5 years ago
Richard Fuchs
eb1157d386
TT#112250 don't change ports when endpoint is talking ICE
Change-Id: I0e60534d6d3cb62d25b8d865da02c3472cf0994e
5 years ago
Stefan Mititelu
6f457b50d1
Get time before deciding to re-establish redis connection
Also set redis connected state when PING works again
5 years ago
Richard Fuchs
fdac938ecf
TT#91151 add a free-form software ID config option
closes #1141
Change-Id: I99bd0d7ecc414e2b4f6e7e3fea72aab5935f8939
5 years ago
Richard Fuchs
b0f185f409
TT#111357 refactor sysconf() call into shared code
Change-Id: Ifd8d1d774f55e7c58bf82c9a5f67787e02f53c3f
5 years ago
Richard Fuchs
a8013ffe70
TT#111051 set thread specific process names
Change-Id: I6a5bb14c070d93b865510786f5107220b93faef1
5 years ago
Richard Fuchs
5c79036f63
TT#14008 fix potential failed assertion
Change-Id: Ie4912bd5395802b51293d13c929a02374fa9b0f0
5 years ago
Guillem Jover
6a9d61dffd
TT#108003 Check send() return code for DTMF UDP logging
Log an error and continue anyway if the send() failed, this is just
logging.
Change-Id: I542385489f8e37e6e524b766371fed3ba558ff2f
5 years ago
Guillem Jover
962479bd63
TT#108003 Stop using random()
While these usages are not supposed to be security sensitive, it's still
best to avoid the usage altogether so that we do not need to think about
it. Add a taint macro so that this does not regress in the future.
Change-Id: Ic75861ed1b7ce9dfca4f897de8be2408204ce3cb
Warned-by: coverity
5 years ago
Richard Fuchs
abb281daac
TT#91151 add additional check for kernel module commands
Change-Id: I27f9ca4f03cd979ecbcf01e8fb1801a306f9d396
5 years ago
Richard Fuchs
fa6d29b45c
TT#91151 fix wrong hash table lookup object being used
fixes 8abc6b1c
Change-Id: Id38636308c9c6f37b95829911af71148ca3256ce
5 years ago