Julien Chavanton
4d56c6675a
mos calculation adjustment for
...
negative r-factor
5 years ago
Richard Fuchs
2dfe0b348f
Merge branch 'invalid_max_mos' of https://github.com/jchavanton/rtpengine
...
Change-Id: Id92bd31a35bf0972f9dd4d94f12a35ad424887a8
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 e2bf4abee885ee0d8938b8be02df19ca4b4a28e7)
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 b3d2d70d4cfb449fb80af188eee89b6dc343830d
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
Richard Fuchs
01ce0fe833
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: I6532b2d88589ca84eae8324a879b22a65e60f791
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
Richard Fuchs
ab54b774ed
TT#14008 remove .depend from make system
...
The dependency tracker is causing more problems than what it's worth, so
just remove it.
Change-Id: I5db8cae57400cd644add08447406a4526da03f65
5 years ago
Richard Fuchs
21d1057f68
TT#108003 fix possible deadlock
...
Change-Id: I604bd76248aa0bc33589ee379a99b6f82c840662
5 years ago
Richard Fuchs
7101f535da
TT#108003 remove unnecessary null checks
...
Change-Id: I1aeb10662eac2ed0553cf4489d1e1d7a487ad272
5 years ago
Richard Fuchs
225e5add8f
TT#108003 don't consume `pt` before finish using it
...
__rtp_payload_type_add_recv takes ownership of `pt` and potentially
freeds it. Move the call to the end of the code block, after we're done
using it.
Change-Id: I5591cd6b22295ddcd6801e2bbbb381bff403fea8
5 years ago
Richard Fuchs
1785f70637
TT#91151 add new replace-zero-address option
...
closes #1185
Change-Id: I8cf6f4ff043649255dafa93b28fcb2127ce4d2bb
5 years ago
Richard Fuchs
772db96c36
TT#91151 fix check for trickle ICE and zero address
...
Avoid using an explicit test for the trickle ICE endpoint address and
instead use the TRICKLE_ICE flag.
Change-Id: I821ced7e77c798004c9d88ec072848b7f6e24a85
5 years ago
Guillem Jover
2c565874c7
TT#108003 Do not allow division by 0 load_thread()
...
We should make sure total_secs is never 0.
Change-Id: I532c7d67a640b7f88ed6f7c0ff31189fe0d98fb0
Warned-by: coverity
5 years ago
Guillem Jover
e2552773cc
TT#108003 Handle errors during websocket connection initialization
...
Make the websocket_conn_init() function return an error code, and delay
the initialization after we cannot fail. And otherwise return -1, such
as when we cannot initialize the HTTP nor SSL connection.
Change-Id: I0facd53560fdb06678d7df9775be277e5c4b2cae
Warned-by: coverity
5 years ago
Richard Fuchs
76d5828c82
TT#91151 explicitly keep track of zero endpoint addresses
...
Change-Id: I6044cddc7d997848715df6701fd8a61a1e0bf289
5 years ago
Guillem Jover
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
Guillem Jover
07716a6a85
TT#108003 Do not print the DTLS certificate and private key on OOM
...
When open_memstream() fails, we should not try to write to it.
Change-Id: I9f92a1e1cc4aebe005039f28e5e3219e323e63c6
Warned-by: coverity
5 years ago
Guillem Jover
009aa21bc0
TT#108003 Fix double free in __established()
...
The __attempt_send() function will free the gs string on success,
so we should not free it again.
Change-Id: I74c9e41854db56bf29ae541eaeebfb97ce8eeb74
Warned-by: coverity
5 years ago
Richard Fuchs
8b1c958f8e
TT#91151 obsolete unused REMG_UPDATE op
...
Change-Id: Ib7daeb3d838e0b679025f582f7c26fe5868f72cb
5 years ago
Richard Fuchs
b75ec8e7ba
TT#14008 convert CDR logging to g_string
...
Change-Id: I64ec610b163534e3cfc0e7d0385329ab45c5cca3
5 years ago
Richard Fuchs
1dbfbe87d3
TT#14008 move g_string_free helper to auxlib
...
Change-Id: I34e0aa0be1df06346e86684c6488caf8e302df9f
5 years ago
Richard Fuchs
d47f4ac427
TT#14008 make bcg729 inclusion conditional on dpkg profile
...
closes #1174
Change-Id: I277986ea30b25633c281291aa956fb2159c386ed
5 years ago
Richard Fuchs
36273e1f5d
TT#107565 add option to track SDP version
...
Change-Id: Ifb3ca589742a4ad0cc83982d6e42bf692a2c98db
5 years ago
Richard Fuchs
01112f27ca
TT#107565 fix support for multi-session SDPs
...
also add better SDP error log output
closes #1182
Change-Id: I20ab77163a502793f63157fbafd0807c629a1ede
5 years ago
Damir Nedžibović
0ae0681b28
TT#14008 Squashed commit of the following:
...
closes #1183
commit a74cf4a7f9
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Feb 2 11:06:50 2021 +0100
Add --dtmf-log-ng-tcp CLI option.
commit a428764d9b
Merge: 2bbfcb27 8abc6b1c
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Feb 2 09:16:26 2021 +0100
Merge branch 'master' into dtmf_events_over_ng_tcp
commit 2bbfcb2750
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 14:28:07 2021 +0100
Replace hex values with chars.
commit dc1084d122
Merge: 2bce444b 2c7163ea
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:53:27 2021 +0100
Merge branch 'dtmf_events_over_ng_tcp' of github.com:enreached/rtpengine into dtmf_events_over_ng_tcp
commit 2bce444b26
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:28:06 2021 +0100
Prevent use after free.
commit 5a256fd3ae
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:30:31 2021 +0100
Add missing includes.
commit a14f4034b9
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:27:27 2021 +0100
Add support for sending DTMF events via protocol NG TCP.
commit b861fe3087
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit 7bfe08fb08
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 2c7163eaf3
Merge: fd286813 9165bf1f
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:49:00 2021 +0100
Merge branch 'dtmf_events_over_ng_tcp' of github.com:enreached/rtpengine into dtmf_events_over_ng_tcp
commit fd28681350
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 10:20:02 2021 -0500
TT#14008 fix AEAD kernel API for < 4.2
Untested whether it actually works
closes #1176
Change-Id: If6398632ac62525a673b844cfb4ce842a8aa0346
commit 0626dcdd96
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 13:07:25 2021 -0500
TT#14008 improve log output for stray packets
Change-Id: Ic4b03928b279aade761de3ba1646b5c27318e6a3
commit 8fcccb77cc
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:28:06 2021 +0100
Prevent use after free.
commit f0d90d1831
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:30:31 2021 +0100
Add missing includes.
commit 37462b8e4d
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:27:27 2021 +0100
Add support for sending DTMF events via protocol NG TCP.
commit 9165bf1f75
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:28:06 2021 +0100
Prevent use after free.
commit d616f2941f
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:30:31 2021 +0100
Add missing includes.
commit bb063386c6
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:27:27 2021 +0100
Add support for sending DTMF events via protocol NG TCP.
commit b28ab07532
Merge: 813a4f1c 6e4373af
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:21:31 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 813a4f1caa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit 0c87a19c55
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 6e4373affb
Merge: fbf74bfe 7799f23a
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:19:46 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit fbf74bfe2d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Jan 27 10:18:14 2021 -0500
TT#14008 fix possible segfault
closes #1172
Change-Id: I94bb52c290c2032073e54528283660f03e694033
commit 1a5bcc0905
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:49:43 2021 -0500
TT#109251 fix redis restore segfault
Change-Id: I501a47b065e7b8ff28a3ac157c0ce567f228557f
commit b38b49fd60
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:44:44 2021 -0500
TT#102450 added tests for Ia9fa96cf
Change-Id: Ic9728e12a012335c30c5640ac0b5c88e39ad24ed
commit f33877bfe3
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:43:46 2021 -0500
TT#102450 fix some timestamping issues
Make sure G.722 rate multiplies is applied in the right places
Don't trust encoders to return proper timestamps, but instead track them
explicitly based on frame duration
Change-Id: Ia9fa96cf662da97159fa170c3a3f37516889e1bd
commit 39a25b954d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:07:53 2021 -0500
TT#106101 mem leak fix for 554034eb7e
Change-Id: I9c410211580d8513a203a29f898970a78175d08b
commit 11d11aed90
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:41:28 2021 -0500
TT#14008 clean up some tests
Looks like packet order can be an issue in some cases
Change-Id: Ib8fb8c553c9d0f2919b24dda1e15e5a23832c619
commit 7799f23aa5
Merge: ba7ee9d6 e191e16c
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:18:24 2021 +0100
Merge branch 'master' of https://github.com/sipwise/rtpengine into control_ng_tcp
commit ba7ee9d6b1
Merge: f805d881 ffe187f1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:15:58 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit f805d881fa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit c548a3ca4b
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit ffe187f116
Author: Damir Nedžibović <damir.nedzibovic@bad-team.net>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
Change-Id: I8383fa80bce59aa865009e34caff5263b97ab588
5 years ago
Richard Fuchs
8abc6b1ca4
TT#91151 convert RTP PT hash tables to direct hashes
...
Change-Id: Id1f464794089f4de4ffce4914703b588ef0045a3
5 years ago
balajeesv
ffc9e34e14
TT#14008 Squashed commit of the following:
...
closes #1134
commit 1cdf8d50844baa27513c51a552504a8406ca17a4
Merge: 2fc54462 cc4d049f
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Mon Feb 1 11:19:43 2021 -0500
Merge branch 'jb_disable' of https://github.com/balajeesv/rtpengine into balajeesv-jb_disable
Change-Id: Ic01bbeb776d8ac0f3ebb46ae0a263243828443bb
commit cc4d049fab
Merge: 2f935206 9deedea1
Author: balajeesv <balajee.sv@gmail.com>
Date: Fri Dec 11 23:15:48 2020 +0530
Merge branch 'jb_disable' of https://github.com/balajeesv/rtpengine into jb_disable
commit 2f935206de
Merge: f553a9e5 7c3d2e01
Author: Balajee SV <41125423+balajeesv@users.noreply.github.com>
Date: Fri Dec 11 23:12:27 2020 +0530
Merge branch 'master' into jb_disable
commit 9deedea1c4
Merge: f553a9e5 7c3d2e01
Author: Balajee SV <41125423+balajeesv@users.noreply.github.com>
Date: Fri Dec 11 23:12:27 2020 +0530
Merge branch 'master' into jb_disable
commit f553a9e582
Author: balajeesv <balajee.sv@gmail.com>
Date: Fri Dec 11 22:47:46 2020 +0530
rtpengine: Disable jitter-buffer per call in offer
Change-Id: Ib4443a0d66c78749e24f3d2cb48c991e408e21fd
5 years ago
Damir Nedžibović
2fc54462de
TT#14008 Squashed commit of the following:
...
closes #1180
commit 023f6cbc9e0b595d1d02116d38d39358fbb9ee49
Merge: ae82034d 86e287d1
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Mon Feb 1 11:16:04 2021 -0500
Merge branch 'control_ng_tcp' of https://github.com/enreached/rtpengine into enreached-control_ng_tcp
Change-Id: I628dcfd30e901dbee97b00bee0b6bba0cb29826f
commit 86e287d117
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 16:38:53 2021 +0100
Update the readme file.
commit 35f5d9e151
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 16:20:09 2021 +0100
Update docs.
commit 336deb4c67
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 14:28:07 2021 +0100
Replace hex values with chars.
commit 37c86a8fa0
Merge: 17a10b96 5cd53ef1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:51:06 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 17a10b96ad
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit adfddefae3
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 5cd53ef1c9
Merge: 1bd3a8fc b28ab075
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:49:50 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 1bd3a8fc6d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 10:20:02 2021 -0500
TT#14008 fix AEAD kernel API for < 4.2
Untested whether it actually works
closes #1176
Change-Id: If6398632ac62525a673b844cfb4ce842a8aa0346
commit 71a222d7a8
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 13:07:25 2021 -0500
TT#14008 improve log output for stray packets
Change-Id: Ic4b03928b279aade761de3ba1646b5c27318e6a3
commit b28ab07532
Merge: 813a4f1c 6e4373af
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:21:31 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 813a4f1caa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit 0c87a19c55
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 6e4373affb
Merge: fbf74bfe 7799f23a
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:19:46 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit fbf74bfe2d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Jan 27 10:18:14 2021 -0500
TT#14008 fix possible segfault
closes #1172
Change-Id: I94bb52c290c2032073e54528283660f03e694033
commit 1a5bcc0905
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:49:43 2021 -0500
TT#109251 fix redis restore segfault
Change-Id: I501a47b065e7b8ff28a3ac157c0ce567f228557f
commit b38b49fd60
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:44:44 2021 -0500
TT#102450 added tests for Ia9fa96cf
Change-Id: Ic9728e12a012335c30c5640ac0b5c88e39ad24ed
commit f33877bfe3
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:43:46 2021 -0500
TT#102450 fix some timestamping issues
Make sure G.722 rate multiplies is applied in the right places
Don't trust encoders to return proper timestamps, but instead track them
explicitly based on frame duration
Change-Id: Ia9fa96cf662da97159fa170c3a3f37516889e1bd
commit 39a25b954d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:07:53 2021 -0500
TT#106101 mem leak fix for 554034eb7e
Change-Id: I9c410211580d8513a203a29f898970a78175d08b
commit 11d11aed90
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:41:28 2021 -0500
TT#14008 clean up some tests
Looks like packet order can be an issue in some cases
Change-Id: Ib8fb8c553c9d0f2919b24dda1e15e5a23832c619
commit 7799f23aa5
Merge: ba7ee9d6 e191e16c
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:18:24 2021 +0100
Merge branch 'master' of https://github.com/sipwise/rtpengine into control_ng_tcp
commit ba7ee9d6b1
Merge: f805d881 ffe187f1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:15:58 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit f805d881fa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit c548a3ca4b
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit ffe187f116
Author: Damir Nedžibović <damir.nedzibovic@bad-team.net>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
Change-Id: I2acf208fcff1fa9aa790c31f1097ad9b4b7c3238
5 years ago
Richard Fuchs
ae82034dfe
TT#99621 add option to disable RTCP generation
...
Change-Id: Ifed6d255dd9d3ec5bc38a79a8f71da59d98243ea
5 years ago
Richard Fuchs
770df55b9e
TT#14008 improve log output for stray packets
...
Change-Id: Ic4b03928b279aade761de3ba1646b5c27318e6a3
5 years ago
Richard Fuchs
e191e16cf6
TT#14008 fix possible segfault
...
closes #1172
Change-Id: I94bb52c290c2032073e54528283660f03e694033
5 years ago
Richard Fuchs
5741f13930
TT#109251 fix redis restore segfault
...
Change-Id: I501a47b065e7b8ff28a3ac157c0ce567f228557f
5 years ago
Richard Fuchs
a6a18233de
TT#102450 fix some timestamping issues
...
Make sure G.722 rate multiplies is applied in the right places
Don't trust encoders to return proper timestamps, but instead track them
explicitly based on frame duration
Change-Id: Ia9fa96cf662da97159fa170c3a3f37516889e1bd
5 years ago
Richard Fuchs
f4a71275d4
TT#106101 mem leak fix for 554034eb7e
...
Change-Id: I9c410211580d8513a203a29f898970a78175d08b
5 years ago
Richard Fuchs
c5ef68897a
TT#76250 consider default number of channel when matching codecs
...
Eliminates duplicated codecs when `opus/48000/1` is used for example
Change-Id: If434e34fe75883544cf6c2c83723af73878ccb20
5 years ago
Stefan Mititelu
001abe5f1f
Add new config parameter: `save-interface-ports`
...
When set to `false`, no changes at all. (default)
When set to `true`, bind only one desired family local address.
Also add info in rtpengine.pod file.
Also add log for sfd with no call.
5 years ago
Richard Fuchs
e671a5dcab
TT#108552 prefer sha-256 over sha-1
...
Change-Id: I1c54b6410d492a2dbd7169f000c84ecebf9d817c
5 years ago
Richard Fuchs
f2d7e71b07
TT#108552 update crypto suite preference ordering
...
Change-Id: I7f192fda512d90b0ab05ff4856891eb0f348a157
5 years ago
Richard Fuchs
0898923c38
TT#98901 use correct DTMF codec context
...
Change-Id: Idf66a2528d06830247e71038a9616726afd588c4
5 years ago
Richard Fuchs
97a1c218fa
TT#106101 handle out-of-order ICE fragments
...
Change-Id: I6b16474d505a40055b06d215e4cc6c5391214613
5 years ago
Richard Fuchs
554034eb7e
TT#106101 also turn UDP/WS receive buffer into refcounted object
...
Change-Id: I81fa68b07af3a87e26d031a5722dcd103a1e620e
5 years ago
Richard Fuchs
28e0620c80
TT#106101 turn bencode buffer into shared refcounted object
...
Change-Id: I6d8e443d8b0fc7e9afe0a6f6b3cde3d1a85e42de
5 years ago
Richard Fuchs
df11807324
TT#106101 don't require connection address for ICE fragments
...
Change-Id: I0ee1af3d41ea2f6484daffae0c2c0e1c8a25ef45
5 years ago
Richard Fuchs
fd275acc5c
TT#98901 use DTX buffer for related DTMF events
...
Change-Id: Ia9b83bf7a0989ec2e20ac0d8ea9a1024a8f5d417
5 years ago
Richard Fuchs
e7739d020f
TT#98901 fix TS scaling issues for DTMF
...
Change-Id: I94eceb0946605f270279be519f156ff9c905ce54
5 years ago
Richard Fuchs
6feef3694c
TT#98901 fix some clock skew issues
...
Change-Id: I3d1be408e8b16ec0b3a92fce9c4fe2969a8968c9
5 years ago
Richard Fuchs
030f38ff16
TT#97301 add description to log levels
...
Change-Id: I223d69016b5e6328f1124a6a977c46d008b667dc
5 years ago
Richard Fuchs
6602a3a7c5
TT#108551 add kernel support for AEAD-AES-GCM
...
Also amends tests plus additional clean ups
Closes #1133
Change-Id: I0dad7b8aad9cff1b019323c7ac5a356830ab09ad
5 years ago
SPChan
0c4110779d
TT#108551 add support for AEAD-AES-GCM
...
close PR #1133
Squashed commit of:
commit b5009eff0b
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 11:40:17 2020 +0800
crypto.c: handle 12 bytes master salt length of AEAD
AEAD RFC7714 specifies 12 bytes master salt length
(section 12) but the KDF expects 14 bytes.
The erratum to RFC7714 specifies to pad on the right
by 16 bits to be compliant with the KDF.
https://www.rfc-editor.org/errata_search.php?rfc=7714
commit 30ba71f10c
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 09:31:00 2020 +0800
crypto.c: AEAD make clear which operations are for AAD
commit 3e4d87681d
Author: SPChan <shihping.chan@gmail.com>
Date: Thu Dec 10 19:38:51 2020 +0800
Implement RFC7714 ciphers: AEAD AES
Initial userspace only implementation
Change-Id: I8624b255e4fd83a5ca418655ef117c48e56e2379
5 years ago
Richard Fuchs
d466e5c326
TT#97301 fix bit-setting of negative log levels
...
Change-Id: I383645d874f17a128385aae8a0f1e3f7f9b99ff3
5 years ago
Richard Fuchs
68be3d2afb
TT#108350 add kernel module version/size check
...
Change-Id: I636a234c066922c2db604787057320b62105a0d4
5 years ago
Richard Fuchs
0bab726e5d
TT#92250 reset opposite side supp handlers
...
If a supplemental codec was removed by the codec tracker, we must reset
any codec handlers on the opposite side that were using this output
codec.
Change-Id: I7fb9d0ec7a061682fe3b28d9ead14ac263aff7c3
5 years ago
Richard Fuchs
604aa5a9a0
TT#92250 add new reorder-codecs flag
...
Change-Id: I93587b6675540438f81193896ae8d8966b3a12a6
5 years ago
Richard Fuchs
a02134cd06
TT#92250 split up __accept_transcode_codecs
...
Change-Id: I52b602961c2e60f5e73576bcea8e9af47528111a
5 years ago
Richard Fuchs
341f2e04dc
TT#92250 also create codec handlers for synthesised supp PTs
...
Change-Id: Icebd5a5d8f1ab159f7343b8036e36322b1211e8a
5 years ago
Richard Fuchs
e9bdbb1ee6
TT#97301 fix removal of debug_srtp
...
closes #1162
Change-Id: I02b81a6f9d9fd6910ce6ed2995bfba16d59b027e
5 years ago
Richard Fuchs
c69415ba45
TT#97301 allow printing and setting of individual log levels
...
Change-Id: I3ac399a7041aa04847fd4a35a9c0f12a2a0a8ce3
5 years ago
Richard Fuchs
89d017ed73
TT#97301 update CLI online help
...
Change-Id: Ib5615f15cefa23ac093115318f84cf712f735322
5 years ago
Richard Fuchs
9653546f7c
TT#107157 fix LWS HTTP handling crash
...
Sequence of events:
1) HTTP request is being handled in worker thread by calling the handler
func() from within websocket_process().
2) Handler func generates output, queues it up, and requests a
`writeable` callback from within websocket_write_raw().
3) Main LWS thread triggers writeable callback and calls
websocket_dequeue().
4) Output is given to LWS still within the main LWS thread, and finally
lws_http_transaction_completed() is called to release the connection
and ready it for the next HTTP connection.
5) LWS internally cleans up the connection and frees the user context
(our `wc` struct).
6) The worker thread wakes up and continues to use the now invalid `wc`
in order to clean up after it has done its job. Boom.
The solution is to handle the `drop protocol` callback, which is
triggered by LWS in the main LWS thread in step 4 from within
lws_http_transaction_completed(). We call our own connection cleanup
function websocket_conn_cleanup() which blocks until all jobs are
removed from `wc` (step 6) and only then continue, allowing LWS to
safely free the struct.
Change-Id: I596a98e9b552a96aef259f4523f16fa63c287ef4
5 years ago
dvillaume
e4e3112498
TT#14008 support repeat-times in media player
...
closes #1159
Change-Id: Idf177b3e9d674d220b9c73a46ecd58453c6e3b39
5 years ago
Richard Fuchs
16c9f4c729
TT#14008 skip over non-ASCII characters in JSON output
...
closes #1156
Change-Id: I44e50f6968b6792a2ff57d1d14fede6db0d4f1d5
5 years ago
Richard Fuchs
2a86d5da2e
TT#14008 fix possible pcap namespace issue
...
Change-Id: I8c759d74c8091dd302399c3e72939fa43688f655
5 years ago
Richard Fuchs
d8b71e11fd
TT#14008 fix possible null pointer
...
closes #1152
Change-Id: I3c6ac0e57128dfc567cecb3e7c952b5c96175f84
5 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
...
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
5 years ago
Richard Fuchs
44bc0b90c8
TT#99621 feed locally generated RTCP to stats tracker for MOS
...
Change-Id: I545f306e0f16dc71e20e10ebd419795275f7e3b2
5 years ago
Richard Fuchs
46176f2937
TT#101653 defuse codec tracker so it doesn't remove too many
...
closes #1136
Change-Id: I692cd15daf57bb95c5592099713bdc46338d4321
5 years ago
Richard Fuchs
5dbd797651
TT#94201 fix ICE=default to the intended behaviour
...
closes #1147
Change-Id: I545b37d1cdb5848ad437da150ef23e5df4045833
5 years ago
Richard Fuchs
89c4c4832a
TT#106100 do not print recording flags for `pcap` method
...
closes #1142
Change-Id: I98a5e79ec5c2c13351d70b567eade909ed952dd5
5 years ago
Jakub Karolczyk
929c345778
For RTCPMUX streams we need to filter out RTCP packets selectively from the stream. Original implementation just stops processing packets in JitterBuffer when the first RTCP packet is received in RTCPMUX stream
...
Closes #1127
Squashed commit of:
commit 23dfb952e7
Author: jakubkarolczyk <51345687+jakubkarolczyk@users.noreply.github.com>
Date: Fri Dec 4 16:17:00 2020 +0000
Update jitter_buffer.c
Changed the way of excluding RTCP from being processed by JB
commit 79f478a30d
Author: Jakub Karolczyk <jakub.karolczyk@gamma.co.uk>
Date: Wed Dec 23 13:12:44 2020 +0000
For RTCPMUX streams we need to filter out RTCP packets selectively from the stream. Original implementation just stops processing packets in JitterBuffer when the first RTCP packet is received in RTCPMUX stream
Change-Id: Iad30001a6554630a63474dc069d81aefa93a0bbb
5 years ago
Richard Fuchs
cd577a2710
TT#106150 fix possible race condition while processing WS queue
...
Change-Id: I1137d828487e988b7afc3a0992312e4d8a0de876
5 years ago
Richard Fuchs
f861ff7f1e
TT#101653 limit maximum delay in input processing after lost packet
...
Change-Id: Ie55e6e8a23836c97ae0a20f6604b0a80e238a2d8
5 years ago
Richard Fuchs
8517c99af2
TT#101653 detect and adjust for output clock skew
...
Change-Id: I3844a49bf2a8cd416f9cb1ceab6b3ed69732d0e6
5 years ago
Richard Fuchs
d990ad7f1e
TT#101653 more verbose packet scheduler log message
...
Change-Id: I5bab050ca6bb71cb32c6d19631ac63444fbed811
5 years ago
Richard Fuchs
c6208914a3
TT#101653 check receiver side for supplemental transcoding
...
If the receiver is transcoding any supplemental codecs, we must also
transcode all other codecs.
Change-Id: Ia169b2cd78762fbca175a83c2425b1f3caf7ad86
5 years ago
Richard Fuchs
a4d0a35430
TT#101653 eliminate superfluous log messages
...
Change-Id: I1fdeaac3b301e4b6bd70b4ae207505bca1d3c0a3
5 years ago
Richard Fuchs
7c3d2e016a
TT#105000 don't send STUN response in response to responses
...
Change-Id: Ia45f96731a9b598c5e757848b5a70a3153c59266
5 years ago
Richard Fuchs
71d02ff486
TT#101653 retire always-transcode flag
...
Change-Id: I845c4b2f811c2945c9015cdf4570036f3a26b81f
5 years ago
Richard Fuchs
336cb5b280
TT#101653 add codec-consume and codec-accept options
...
Change-Id: Icac343b34881628118f2c36181be66db1c6286e0
5 years ago
Richard Fuchs
73e4ef42eb
TT#101653 add silence detection option
...
Change-Id: I14940fcabdef475ed5dbe74d9af7ebc2af10311b
5 years ago
Richard Fuchs
08cdc4ce5a
TT#101653 generalise handling of supplemental payload types
...
Change-Id: Ic4e2387aa45fc0584184bae907f1bf0cbf6be054
5 years ago
Richard Fuchs
96bd7a6986
TT#100200 track matching CN payload types
...
Change-Id: I6db6c08afee2ca8353e07ace952a630105ad9c25
5 years ago
Richard Fuchs
a15e3a28c9
TT#99621 update RTP stats from kernel for RTCP
...
Change-Id: Iff54c4b8bac9df7c0e58c8dbdc424e6c4faf8780
5 years ago
Richard Fuchs
c12ec6600d
TT#99621 support jitter tracking for RTCP
...
Change-Id: I181e06e904702f37e155990dc597391c17ae4ad0
5 years ago
Richard Fuchs
ba66e5fa3a
TT#99621 support RTCP generation
...
Change-Id: Iff832eaa4148cce4d87d24d4dc3b908dfa361770
5 years ago
Richard Fuchs
97c75349cf
TT#99621 allow null RTCP handler funcs
...
Change-Id: I792cac51bb09712c13b79676c6fd4fe0547ba531
5 years ago
Richard Fuchs
195542a4ec
TT#99621 allow RTCP handlers to discard the packet
...
Change-Id: Ia48a0fa375afc46d9d2ef639ab55538b4b8a5e51
5 years ago
Richard Fuchs
6dca19ed93
TT#99621 move RTCP sending logic to rtcp.c
...
Change-Id: I9551c54085007bc8d7a0018bc111363bac9eccc6
5 years ago
Richard Fuchs
54e68942be
TT#104500 better support a=rtcp-fb
...
Link the attribute value to each RTP payload type and only output it if
PT is still present
Also merge PT attribute printing into a single loop
closes #1128
Change-Id: I494498ca806b795045e9e5bbb82174fa4aef8b2b
5 years ago
Richard Fuchs
8de20ce28b
TT#82405 terminate HTTP connection when output was been written
...
This allows persistent HTTP connections to work properly.
Change-Id: I5e74293bcc9986d4fb3800b7dbcbc3c65b9a14fb
5 years ago
Richard Fuchs
c2c7f9a506
TT#82405 add convenience function to return HTTP data
...
Change-Id: I3ea40a7341a8959b407e6bf296e80226d52f1e1f
5 years ago
Richard Fuchs
a642a1e694
TT#98901 avoid PT collisions with asymmetric codec setup
...
Change-Id: Icce014312cef57e9df6dbe4165a67bef617b84c7
5 years ago
Richard Fuchs
2f5cd2fcee
Merge branch 'rtt_per_call_leg' of https://github.com/jchavanton/rtpengine
...
Change-Id: I8610c5144015abc2628cf8c5ab136d5baece1265
5 years ago
Richard Fuchs
440ca5ac0f
TT#92250 fix to keep supp codecs last in the list
...
Change-Id: I3ed4993e6904e8236812d4a11619945c7d386689
5 years ago
Richard Fuchs
16fd8aad15
TT#101653 alter re-invite codec negotiation logic
...
Change-Id: Ic5f68258b6f1f10af1df42ff8b06d82488595c35
5 years ago
Richard Fuchs
9ea1303c6b
TT#100200 fix logic for DTMF detection trigger
...
Change-Id: I814112e7c3c9673f29bde42c05517ad3802de1fb
5 years ago
Richard Fuchs
aa5e024417
TT#81212 mark calls as owned upon activity
...
Change-Id: I770d759e11e3ca10c6d879b0e8204ee2bc37bf72
5 years ago
Richard Fuchs
260a170524
TT#81212 add trigger to set all calls to own or foreign
...
Change-Id: I9ee69680bccd79bae19332189a8531eaa2f6950b
5 years ago
Richard Fuchs
c9140f9f66
TT#81212 add function to change call state (own/foreign)
...
Change-Id: Ia9010c270839832abbb0d7b7742a4bf8cda1d538
5 years ago
Richard Fuchs
5d895fb7be
TT#82405 add Prometheus stats exporter
...
Change-Id: Ic55b42a707e430a61c0422c65827ed2145511586
5 years ago
Julien Chavanton
e1847cadc5
RTT per call leg
5 years ago
Richard Fuchs
dec54fa3e0
TT#102500 fix missing timestamping in websocket threads
...
closes #1113
Change-Id: Id301a4c47f6e341777ce7c3b58fcea4c659d2f8d
5 years ago
Richard Fuchs
a6022c9ab9
TT#102450 fix AMR recording
...
closes #1112
Change-Id: If8378fa63ae1827aa3ab4c02d376ee75f34b8b9d
5 years ago
Richard Fuchs
8ded0076da
TT#101202 fix potential null pointer dereference
...
closes #1110
Change-Id: Ib5e26b40bc55e7c96b59a19ddd7ed6bec2d109db
5 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
b355e55fcb
make DTMF options dependent on transcoding option
...
closes #1109
Change-Id: I8f77ebfd4ffd960d59c9d20e2b1b62a3961525ca
5 years ago
Richard Fuchs
d362adf9c7
TT#100251 fix redis-restore segfault
...
Change-Id: I8444e6a84ca2b493d6b6ac728e654b8ad5e55252
(cherry picked from commit 90d650c888 )
5 years ago
Richard Fuchs
7a42c0c48c
TT#100251 distinguish between real transcoding and DTMF-related t/c
...
Change-Id: I4643baeb87a7b71e8fc9d23c433fa958c9c11a71
5 years ago
Richard Fuchs
87b4d6f499
TT#100200 always track supplemental codecs
...
Change-Id: Iab65585b0d536772766048c8c0977276b8628c74
5 years ago
Richard Fuchs
38890bdb5b
TT#100200 split out supp codec finding routine
...
Change-Id: If67b2c713918085d5d54c2d74661fc667eb97336
5 years ago
Richard Fuchs
bd53179cd1
TT#100200 properly support multiple supplemental codecs
...
Change-Id: I643fa844b504bf1264d6d2cddebf6d6602c80b35
5 years ago
Richard Fuchs
1d34c40276
TT#101201 support optional ICE-lite mode
...
closes #1106
Change-Id: I4a83ed2630889d8b17a0c40d971ec7946c1ed3a2
5 years ago
Richard Fuchs
8d7badcf02
TT#101201 rename ICE_LITE flag
...
Change-Id: Icc5a74b53572f1eb26689a23b31d37ee2891ecef
5 years ago
Richard Fuchs
e16cb57a3e
TT#98901 don't trigger DTX after a SSRC switch
...
Change-Id: Ic1664b3162b5e2caf7b6119ccb5863ad03cf2768
5 years ago
Richard Fuchs
17e22ade36
TT#98901 add limit to length of DTX processing
...
Change-Id: I6fba28b985ff63de6185dccc2ca16f4264a0493d
5 years ago
Richard Fuchs
bae79d3fef
TT#98901 handle AMR SID DTX
...
Change-Id: I418c43e0cef2a70143010235988523f195a3bf5a
5 years ago
Richard Fuchs
fa64e2261e
TT#98901 add codec timers thread
...
Change-Id: If50d2d42ce918961588dfc79793a26ba15416991
5 years ago
Richard Fuchs
58c436e5a7
TT#98901 add ssrc_hash_foreach()
...
Change-Id: Ia90fc84ee82afc78b8fa5b6f8fed160959636d28
5 years ago
Richard Fuchs
36eb641966
TT#98901 add media_packet_copy/_release
...
Change-Id: I60bc6b258e9efc0d704b6d8cc6b2c2c915330bdc
5 years ago
Richard Fuchs
4519db78bd
TT#98901 allow NULL send_now timerthread function
...
Change-Id: Ic5e9b97780f787122fe12fb31fdd4093f26587d6
5 years ago
Richard Fuchs
6ae33a4b85
TT#98901 split out ssrc locking
...
Change-Id: I7275a25598be6b9a07364573d687fa478addaa4d
5 years ago
Richard Fuchs
014173dc5c
TT#98901 allow packet handler func to consume packet
...
Change-Id: Ic73b1bdab1205d2f3feefe48d83e0ca7e81a726d
5 years ago
Richard Fuchs
64ba12c4c7
TT#99503 fix possible T.38 gateway deadlock
...
closes #1100
Change-Id: Ifd4be1ca5d4f343a805be31d39abdb73011ec6c4
(cherry picked from commit 0c581e59a1 )
5 years ago
Richard Fuchs
f0212124fe
fix compiler warning
...
Change-Id: I19ee1b097a4d0d85ba69fd01975e26f69c6c55fd
5 years ago
Richard Fuchs
4910f7b33f
TT#88951 support queuing multiple WS output messages
...
Change-Id: I9bcb1f5dd2942c4631820c25f343331c9630b8d7
5 years ago
Richard Fuchs
cd3652e81a
TT#97302 fix some DTLS negotiation issues
...
add explicit flag for fingerprint length instead of using the hash
function
restart DTLS after a shutdown due to a reset
clear fingerprint buffer when running the hash
suppress stray log message when no fingerprint was seen yet
add option to test script
closes #1095
Change-Id: Ic58ea6c5aa48a215743d6a3c1b371fc4a5ea77ce
5 years ago
Richard Fuchs
d78be3997b
Merge branch 'master' of https://github.com/smititelu/rtpengine into master
...
Change-Id: Id3b571931e4fdb35d7889aa186b46ed967e2f157
5 years ago
Stefan Mititelu
cf1721c930
Fix compilation when transcoding disabled
5 years ago
Richard Fuchs
6ccfd14530
TT#94201 change default ICE= behaviour, add new =optional flag
...
Change-Id: Ie510bc05879c91eb1a0c7d7351461a63056ba410
5 years ago
Richard Fuchs
65cf46bc0a
TT#94201 convert ICE= options internally to enum
...
Change-Id: I3d7a6049cd7ab8e95da56820ccd3f2981ef03bc5
5 years ago
Richard Fuchs
95b814553b
TT#94201 add ICE=default option
...
Change-Id: If10e0aa284cc7cc5c1e69855733835bd5b52da31
5 years ago
Richard Fuchs
e67eb7b57f
TT#94201 add explicit passthrough flags
...
Change-Id: Ib5015011320490c0bf63b3c8bed9e6caadfa8953
5 years ago
Richard Fuchs
74fd959ccc
TT#92250 use matching output codec with inject-DTMF
...
Change-Id: I220947872303c534368363e8f980b94bd7d406a5
5 years ago
Richard Fuchs
2502b44ff8
TT#92250 keep supp codecs last when transcoding in reverse
...
Change-Id: I20d9b6e54c38ab92dcbe4e706ed04bca7145c373
5 years ago
Richard Fuchs
377f088254
TT#14008 suppress stray redis log warnings
...
Change-Id: Ice39f3e7ccfaae235db83d0839351c20369bbd6e
5 years ago
Richard Fuchs
4c773366f3
TT#92250 use correct size when freeing codec tracker
...
closes #1091
Change-Id: I10c0cd5449811fafd76415c3d73d845c03a3b26c
5 years ago
Richard Fuchs
bbc6aa9dac
TT#14008 avoid double free on shutdown
...
Change-Id: I30ca16313ee8039b51797b60955265fb4a7545a1
5 years ago
Richard Fuchs
3893069fae
TT#92250 allocate strings for hash table storage
...
closes #1091
Change-Id: Ia3384fc3eb640bb6c728ebde6e7bde09968eeb9a
5 years ago
Richard Fuchs
5883f16383
TT#14008 allow externally set CFLAGS
...
Change-Id: I1cfc8ef5ae2df9edace39acffd803b0c766e9ac3
5 years ago
Richard Fuchs
18a3b9df0f
clean up codec stats on shutdown
...
Change-Id: Iac082cda84c62be4a340448ef7c97c2f94e2992f
5 years ago
Richard Fuchs
b260e145e7
TT#97500 set thread stack size
...
closes #1078
Change-Id: Iebe5effb917731c8ca553c9e599df613e763b255
5 years ago
Richard Fuchs
e1dda97028
TT#14008 fix some warnings from musl
...
Change-Id: I99fe1185cf814232b44c078b62199e850850cb0d
5 years ago
Richard Fuchs
68ccc52b2b
TT#92250 postpone codec_tracker to final stage
...
Change-Id: I222f705e53fc95f56da40cf927197afcb2ee5107
5 years ago
Richard Fuchs
dbd817a2a6
TT#92250 match codec params during codec matchup
...
Change-Id: Ie1d6ee0d3e55098497d250eb465228c3982f3a4c
5 years ago
Richard Fuchs
71c3154142
TT#88750 restore DTLS SRTP details from Redis
...
Change-Id: Ie831787a72b49d119cf81efb55a2682fdc138c15
5 years ago
Richard Fuchs
5ad4a59ea7
TT#97302 add new flag to select DTLS fingerprint algo
...
Change-Id: I48d9bf7184a860ca6f8f488076fe2859db6018f2
5 years ago
Richard Fuchs
dc4775d5ce
TT#97302 respond with the same DTLS hash func as was offered
...
Change-Id: Id72df1083b5d329fa33875853981ec471440a6c1
5 years ago
Richard Fuchs
ea1ba5837c
TT#92250 also honour single-codec for reverse transcoded codecs
...
Change-Id: I9f2822e70688716e06380879622db4087c02bbb9
5 years ago
Richard Fuchs
653b09ca93
TT#92250 add `single codec` flag
...
Change-Id: I7c84e1f906fec93ed624d2fb4a4d9e9bfc9b4109
5 years ago
Richard Fuchs
1bc43aa506
TT#92250 allow codec-strip/offer/except also in answer messages
...
Change-Id: I9a8dcb3ec83b7037ffa0017a810de506bfa5a356
5 years ago
Richard Fuchs
241c78c915
TT#92250 add codec-except option
...
Additionally allow `except` and `offer` (and `transcode`) to revert
masked codecs.
Also adds `mask=full` and `strip=full`
closes #1054
Change-Id: I93a2891f2a0b9d324f6804e38f992be73c46211a
5 years ago
Richard Fuchs
2ce7b6476e
TT#92250 better handle supplemental codecs
...
Change-Id: Id6bac3892642d6ae58c71a1781b5d282c48a3a1c
5 years ago
Richard Fuchs
5ac91499fe
TT#92250 keep supplemental codecs last in list when transcoding
...
Change-Id: I3172414fd724e5c5fe9d69b5a78270bed41f83b6
5 years ago
Richard Fuchs
ca86f81a53
TT#14008 fix compilation for libwebsockets 3.x
...
closes #1087
Change-Id: I2178d577a6913a13c1a3df7caa46978c1423501f
5 years ago
Richard Fuchs
4902b07ff9
Merge branch 'master' of https://github.com/smititelu/rtpengine into smititelu-master
...
Change-Id: I425a188c632e2a6ee3f9109380d9ae114409f62b
5 years ago
Richard Fuchs
92ea2685ae
TT#96200 fix SRTP multi-protocol re-offer
...
Do not perform protocol negotiations in an offer
closes #1086
Change-Id: I5fb7638aa71e80c08abcda2d8c341ae72725bace
5 years ago
Richard Fuchs
565a4cf901
TT#91150 document HTTP/WS interfaces
...
Change-Id: Ie4e70f1756f8f831b75377d52b55116ab42c1336
5 years ago
Richard Fuchs
31f8b6f982
TT#91150 support NG over HTTP/WS
...
Change-Id: Ib0255872f6d85f2ca5c2d9118831ba8e65f7df2a
5 years ago
Richard Fuchs
e662b596f8
TT#91150 abstractise NG protocol handling
...
Change-Id: If00eede6803d9618c32dccbdcf82f5e41b64b2bf
5 years ago
Richard Fuchs
32d43fed4d
TT#91150 move to a global NG cookie cache
...
Change-Id: I8aa5275ffb4d53bb959acd6a8329e5a31f099000
5 years ago
Richard Fuchs
3f301dd73b
TT#88951 support handling CLI commands via HTTP and WS
...
Change-Id: Ic2e43328fa698d8abbc16146c997598f25bf84e6
5 years ago
Richard Fuchs
cbf6ad7041
TT#88951 abstractise CLI handling and writing
...
Change-Id: I004cbc4a8690b11822ab54f34af01557b87c6a02
5 years ago
Richard Fuchs
aa36a1f619
TT#88951 add HTTP/Websocket listener
...
Change-Id: Ib2e7c87913abd4f89aa43075fe7cd9fb4d7cf1f7
5 years ago
Stefan Mititelu
2ebf5a1526
Add redis async delete
5 years ago
Semen Darienko
c741d45cba
fix segfault upon got reINVITE and BYE at the same time
5 years ago
Richard Fuchs
a69a27ec32
TT#91003 copy codec options from decoder to encoder side
...
Change-Id: I4adaff2bc26f789a028b0db9ad3d641811b94961
5 years ago
Doug Rylaarsdam
995375f500
Add support for metadata in stop_recording.
...
(Issue #1075 on sipwise/rtpengine)
5 years ago
Richard Fuchs
ed9de316c7
TT#91003 support sending CMR
...
Change-Id: Ief485087b36ce61c80f9d004e77113b31298b250
5 years ago
Richard Fuchs
48d4dc3f7b
TT#91003 support passing extra codec options
...
Change-Id: I8e994f69d4ffc21ab5ab6e8c269e266cb1635b79
5 years ago
Richard Fuchs
6fc9459016
TT#91003 handle AMR CMR
...
Change-Id: I9fdb58359c25b3fcedf25872c98ac8ff582fa488
5 years ago
Richard Fuchs
e8aac8272c
TT#91003 add media_out pointer to media_packet
...
Change-Id: I21c76fef05d6af394f09476e9761c439e7a0da44
5 years ago
Richard Fuchs
d0db2cba67
TT#91003 create generic decoder event callback
...
Change-Id: Ie0deda4f452cfc2b219dcc2c5bc1e933b1a36239
5 years ago
Richard Fuchs
25609f74da
TT#91003 support `=` escapes in codec strings
...
Change-Id: Id974f40e12b33e1f299fac15e25decd741c98fb3
5 years ago
Richard Fuchs
f8f74d89b9
add missing Redis auth for async context
...
Change-Id: I10d05b5f328a70eb9e71852920502d87f0ba317f
6 years ago
Richard Fuchs
c7904866b0
fix mem handling for Redis auth strings
...
Change-Id: I03e3368fe569716d3309cf012ba39bdb2cbe0b35
6 years ago
Richard Fuchs
12ac8846de
TT#90101 don't blindly accept a protocol switch in an answer
...
An endpoint switching protocols is normally passed through to the peer,
but in an answer that is usually not desirable. Change the default
behaviour to stick to the original protocol that was offered even if the
answerer changes protocols.
Change-Id: Ib288549f4b1c9ab57a6333c6b7dd511537af96f7
6 years ago
Richard Fuchs
ae5b1762b9
TT#88603 don't remove transcoded codecs we added ourselves
...
closes #1058
Change-Id: I469b8e71d5a699c948a30cb2171467c267eec741
6 years ago
Richard Fuchs
1147f856c0
TT#14008 support building against FreeSwitch version of SpanDSP
...
Change-Id: I472161e6368886240a4ba08e269542fd3f6e4d41
6 years ago
Richard Fuchs
5001a02d44
TT#88750 fix SRTP not working after Redis restart
...
Change-Id: I40a20b2cd2668480d4b85de7a19c39f606b2eada
6 years ago
Rosen Penev
4d2291846c
fix compilation without deprecated OpenSSL APIs
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
6 years ago
Richard Fuchs
214f30e8cf
Unkernelise streams when recording is stopped
...
This is needed to reset the kernel stream indexes.
fixes #1048
Change-Id: If46c4f85a752c2ed64997e6c4a44625845f4cc87
6 years ago
Richard Fuchs
e04fb03787
Recrypt SRTP for DTMF logging
...
Change-Id: Id877b8464e99cfd5dca728a01fcdc3ffc654d698
6 years ago
Richard Fuchs
e65b01d5ab
TT#86850 support DNS lookup for advertised address
...
closes #969
Change-Id: I3712a0977700719765bbd45985306e598067c0af
6 years ago
Richard Fuchs
9bcd50e9c2
TT#86850 support DNS name resolution for interfaces
...
Change-Id: Id48ca4c25fee57cafe1270e2ded22fc610b510d1
6 years ago
Richard Fuchs
29da888ad9
TT#86850 split out interface-name resolution
...
Change-Id: I670d3de35117047c285552879debc24df3a983a3
6 years ago
Richard Fuchs
ec061bba6f
TT#84804 add new DTLS-reverse flag
...
closes #1038
Change-Id: Ic58b3e3c3d1fec75a2c6ea9ddb260141d9a2831f
6 years ago
Richard Fuchs
73cb248f8d
fix statistics format when multiple transcoders are present
...
closes #1042
Change-Id: I1dcd9c3053f35f97f0de8c23609a25347263044b
6 years ago
Richard Fuchs
de37041ad9
honour media-address= also for ICE and RTCP
...
closes #1039
Change-Id: Icb75875757eecfc02100dacb16d70532ed6be7ec
6 years ago
Richard Fuchs
112e57f9fe
TT#86102 remove aggressive endpoint learning heuristics
...
The previous approach causes problems during re-invites with updated
port (or address) information. The UA might delay actually using the new
endpoint until after the answer is seen, in which case rtpengine would
erroneously immediately latch on to the old endpoint. We need to
reinstate the endpoint learning delay in all cases, and make sure
previously learned endpoints are forgotten whenever a new signal is
seen.
Change-Id: If42ed13c43710616c02cdf018b36a4543d7f6bfe
6 years ago
Richard Fuchs
87521ead34
TT#85701 fix regression from 8e22c9a41
...
Make sure we delete all branched B side monologues when deleting the A
side monologue.
Change-Id: If7214443a9d3e76a05c0b1f526eb2d9091aee822
6 years ago
Richard Fuchs
8e22c9a414
TT#85701 improve branch handling with delete-delay=0
...
Initially created branches don't have a tag associated with them, so
they don't appear in `other_tags`. We need to keep track of which
branches were created from a single from-tag through their via-branch
values so we know when all branches have been deleted.
closes #1037
Change-Id: I4c6ce602b99a9104de98098cd06ca399eb28e1b2
6 years ago
Richard Fuchs
18830a1a5d
TT#84804 detect and report collisions in ICE candidate pairs
...
Change-Id: I526d4850d60f550658abe0d260ea98708d3f5ce6
6 years ago
Richard Fuchs
54a39db40f
TT#84804 start DTLS as soon as ICE can communicate
...
closes #1035
Change-Id: I5cce8ab986f7d75d7ad88c53b4cc3b48f99a206a
6 years ago
Richard Fuchs
832f73f3f5
TT#85750 add transcoder stats to stats output
...
closes #1036
Change-Id: I667f427b1214657585c434132b2e255e9f80e1f8
6 years ago
Richard Fuchs
eae7f3a327
TT#84360 add new option to split multi-line log messages
...
Change-Id: Ie29301dbf5f704c4f3c87431e3c63fac761696d5
6 years ago
Richard Fuchs
a3b298e11c
add local address/family to NG stats output
...
closes #1004
Change-Id: Iba93d9200791eaade6e6f7bc9e2b5939fadf983a
6 years ago
Richard Fuchs
6b49c88527
don't always reset crypto when DTLS is in use
...
closes #1019
Change-Id: I4fc1b015f70994176118f523e4d38b311ac78acb
6 years ago
Stefan Mititelu
eb8169868d
Fix a few more "still reachable". End all redis unused threads.
6 years ago
Richard Fuchs
11bcdf60f5
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: Ib42cd413eea01b829922687a717f978813065a8a
6 years ago
Stefan Mititelu
8ba5d162dd
Fix Valgrind "still reachable" for a few others
...
log, ice, media_player, jitter_buffer,
statistics, codeclib, call_interfaces
6 years ago
Richard Fuchs
f6874afbef
fix another JSON comma missing
...
fixes #1024
Change-Id: I859ecaae309335a1d8025a9e3a2ec3ca942a62f5
6 years ago
Richard Fuchs
203f502006
TT#77806 add port stats to JSON/bencode output
...
Change-Id: Ieff8e9442b20e3ee1de570a7ef10cfb92f605064
6 years ago
Richard Fuchs
1095440616
TT#82410 fix missing comma for JSON list of objects
...
Change-Id: I70f022406ad88939534d4b42f291490f461ae8d5
6 years ago
Richard Fuchs
3c3729f81c
TT#28300 fix missing strdup for multi homed interfaces
...
Change-Id: Ifaac7f85a5ab3515d95e72b6ee640c9e865cf219
6 years ago
Michael Prokop
98245fdeac
TT#83954 Invoke libevent_global_shutdown() only conditionally
...
Commit a6d2f9296 introduced usage of libevent_global_shutdown(),
which is available in libevent-dev >=2.1.1-alpha only.
For example travis CI is running Ubuntu 16.04 / xenial and ships
libevent-dev 2.0.21-stable-2, so we can't just raise the
build-dependency of libevent-dev to >= 2.1.1+ if we still want
to support older systems.
Change-Id: I9dcf9ca0a19f59051d42f0d2383d1938b60a97df
6 years ago
Stefan Mititelu
831bb88e24
Fix Valgrind "still reachable" for if name and q
6 years ago
Stefan Mititelu
aa98d7f86c
Prevent glib CRITICAL errors for NULL pointers
6 years ago
Stefan Mititelu
a6d2f92962
Solve Valgrind "possibly lost" for redis and dtls
6 years ago
Richard Fuchs
1589c29e28
TT#28300 add cleanup of poller related data
...
Change-Id: I64a38869ce3120d066fc818e3c76941a1c8186b7
6 years ago
Richard Fuchs
e01b3b421c
TT#28300 add cleanup of calls structs
...
Change-Id: I9e95fc9075645a7364bf62a9ca6f193dc6952ce1
6 years ago
Richard Fuchs
2a4dbd8d37
TT#28300 add cleanup of global interface structs
...
Change-Id: I326d72c88505c532b19e98165666f10d4692fafc
6 years ago
Richard Fuchs
a4849f7ae6
TT#28300 eliminate need for if_a_global
...
Change-Id: I4b1c23d9a08b68bd722e14d7077198ddbaefc2e0
6 years ago
Richard Fuchs
39b04ece9d
TT#28300 use more auto cleanup variables in config_load
...
Change-Id: I613e1496fd46d33e95eaea14bd0b0ec8aece181c
6 years ago
Richard Fuchs
48b33bd3dc
TT#28300 move auto cleanup functions to lib files
...
Change-Id: Id1fff1523b2bfecf2a929c235fe1719bc18b97f6
6 years ago
Richard Fuchs
a1fb92353a
TT#28300 eliminate free_buf in favour of free_gbuf
...
Change-Id: I128265ff2783c94b897de8ea58b99811fbbe3607
6 years ago
root
5179de7db1
trap divide error crash fix
6 years ago
Richard Fuchs
37e6744d4a
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: I0d1dee4d193c94427bae76966ddca4bd09e74ecd
6 years ago
Stefan Mititelu
de28a65934
Solve Vlagrind "definitely lost" memory leaks
6 years ago
Richard Fuchs
8a4f88f1a4
TT#55050 man page updates
...
Adds rtpengine-recording man page and adds some missing arguments from
rtpengine.8
Change-Id: I054d1bcad08e6070cca41008f740c0cbecb15fa8
6 years ago
Richard Fuchs
cdcf80c2c1
TT#82401 add statistics NG command
...
closes #992
Change-Id: I73284b8da6bc64c6e801f47cf6e00e52235b65ba
6 years ago
Richard Fuchs
6d2aeccda6
TT#82401 amend stats gather to keep track of braces
...
Change-Id: I042179fe26118aef34e84412c3790059b7f6e1a6
6 years ago
Richard Fuchs
1015cead8b
TT#82401 amend stats gathering to detect ints
...
Change-Id: I892144bbf549952858a1f3cf967673198a0457d4
6 years ago
Richard Fuchs
ac765d1b54
TT#82410 unify stats gathering functions
...
Change-Id: I5be2f728a40d69e76b7fcdd04b9d7cb62e34665e
6 years ago
Richard Fuchs
cb967ad130
Merge branch 'codec_case' of https://github.com/SkySwitch/rtpengine
...
Change-Id: I79c21f5c38318d066ac222109e63703262a0a5d6
6 years ago
Richard Fuchs
38bb6d8608
TT#82651 same as 61acd9761 but in reverse
...
closes #1005
Change-Id: I9107b6de0d4d16347bbf35baafcc298d43f87a68
6 years ago
attermann
da3c40e24a
Added "currentstatistics" to json stats.
6 years ago
attermann
74f5676c87
Made hash tables for flags case-insensitive.
6 years ago
Richard Fuchs
61acd97619
TT#82651 avoid unnecessary transcoding when DTMF PT is present
...
reported in #1005
Change-Id: I7aefab7fbdca5ddff7012adc2c0a0d8a5b1f6f26
6 years ago
Richard Fuchs
a0d0733291
fix compilation when spandsp is not present
...
closes #1008
Change-Id: I9bcad5f04df0f11cc269345e803aa31440600e77
6 years ago
Richard Fuchs
115b73e5c1
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: Id2ceb08a41c4c16841b9362a5a7e4c9f015e38cb
6 years ago
Stefan Mititelu
6043d15ea0
Add drop-traffic=start/stop flag
...
Useful when someone needs to:
- completely drop early media, but stop dropping after call is answered.
- completely drop initial invite media, but stop dropping after re-invite
6 years ago
Richard Fuchs
64e6bf440b
TT#82203 add detailed transcoding stats
...
Change-Id: Ib04767c38b00b17ef5844a9f6649e009270f8f82
6 years ago
Richard Fuchs
5f3f203fb8
TT#82203 add stats for transcoded sessions
...
Change-Id: Ie9bef31f62d489fccf52b02a8935f9c9dc2575b5
6 years ago
Richard Fuchs
e25d0b99c5
TT#82100 hunt for usable payload type for DTMF injection
...
Change-Id: I8e303c96a2a398bc389860891c9d23b6f7d5396c
(cherry picked from commit 7553a9150d587c1dfcaea56b6be641fceb77488f)
6 years ago
Richard Fuchs
86110e835d
Merge branch 'master' of https://github.com/SkySwitch/rtpengine
...
Change-Id: I224d1d96f53debd56a1ecb941c2a83839da275cb
6 years ago
Richard Fuchs
e0dbc677f9
Merge branch 'jb_marker_fix' of https://github.com/balajeesv/rtpengine
...
Change-Id: I45d9c65136cf8a933c1d9355a0e4f2faa9b35257
6 years ago
Richard Fuchs
89175c8564
TT#81850 fix SRTP re-offer and RTP to SRTP switch
...
1) In an SRTP re-invite offer, fixes not a full set of crypto suites
being present
2) In a re-invite offer that switches from RTP to SRTP, fixes SRTP not
being initialised at all
Change-Id: I911442d2cba17ecf6af482cfe922d4e9db2eda8d
6 years ago
Richard Fuchs
46325d61fd
TT#81600 fix SRTP when transcoding/DTMF injection is in use
...
Change-Id: I444c95e8dc14594571f7592f158805cbbe6e3c8d
6 years ago
root
b199f973c0
Merge branch 'jb_marker_fix' of https://github.com/balajeesv/rtpengine into jb_marker_fix
6 years ago
root
aa2e777d9d
Merge branch 'jb_marker_fix' of https://github.com/balajeesv/rtpengine into jb_marker_fix
6 years ago
root
05b6da43f1
JB marker fix
6 years ago
root
e44abd3dc7
JB marker fix
6 years ago
Richard Fuchs
e1b2532fe8
eliminate (re)connected redis state duplication
...
closes #982
Change-Id: I9c559ff98000a577f511648b01f67f13528bc7e8
6 years ago
Richard Fuchs
2ef93af892
TT#79601 fix possible crash when injecting DTMF
...
Change-Id: I3bfdd7085d193a4e1b6719313b64ed70c1dca7a8
6 years ago
Richard Fuchs
cca6ba70c7
allow protocol=RTP/AVP plus OSRTP-offer
...
closes #976
Change-Id: Id409d08a5a89b0ca9dbaf8cc457cc8ea89a433f1
6 years ago
Richard Fuchs
5caf47f51f
add missing SDES=pad parsing
...
reported in #976
Change-Id: I808c7f1cab2efec086081e4a1e9b8fb3a8143958
6 years ago
Richard Fuchs
abe7caf066
TT#75350 update cipher lists and make the configurable
...
closes #918
Change-Id: I949810a7c84679eac25f65784f97fdd2e9abb07d
6 years ago
Richard Fuchs
a168a3c024
TT#78307 generate RTCP for media players
...
Change-Id: Ic6dd65211ca253491a7ef3acd35499155b60fe4c
6 years ago
Richard Fuchs
92bcedc08a
TT#78307 keep track of RTP stats also when forwarding
...
Change-Id: Iea6214104b7032687608af71f6270a375fed2702
6 years ago
Richard Fuchs
34baba9d22
TT#78307 don't update RTP stats for non-forwarding ports
...
Change-Id: I2dc40d7f9a511588c676fe487a23074e0d8129e2
6 years ago
Richard Fuchs
2e4617ff86
TT#78307 move SSRC send stats to actual point of sending
...
Change-Id: I54ff4afeb8b3a205a678e9102fb0d8cedee78bae
6 years ago
Richard Fuchs
dfc76d23b5
TT#78900 leave m=message connection details untouched
...
closes #959
Change-Id: Iaf01c87697ce46f507563ed1560e664b0ca33544
6 years ago
Richard Fuchs
5fc326c64b
TT#78001 support OSRTP
...
closes #951
Change-Id: I8cd21d60b16e357a57d0d505649b74f38f4ca0b3
6 years ago
Richard Fuchs
e59ccc2973
TT#79900 add SDES=lifetime option
...
closes #966
Change-Id: I462dabffb5c00387ab1b91cabf3fcb2be998f76e
6 years ago
Richard Fuchs
c1d29a41a7
TT#79601 support media/DTMF playback to all parties
...
Change-Id: I534ba39c800e0b075c1502808a56b887baf3e323
6 years ago
attermann
ccf1d4698a
Extended json control statistics
...
Added missing control statistics as well as aggregate counts for all
proxies.
6 years ago
attermann
032c6e473c
Added cli command for parseable stats.
...
Added support for "list jsonstats" CLI command that return the same
stats as "list totals" but in easily parseble json format.
6 years ago
root
e7c85ce578
jitter buffer correction
6 years ago
Richard Fuchs
f5eaa657d7
TT#76711 allow alternate format for T.38 SDP options
...
Change-Id: I6e9af10bfe4be697d1d4f2be6cfd41ba76fabd5b
6 years ago
Richard Fuchs
1055a1e71e
TT#79351 detect and fix payload type collisions
...
fixes #963
Change-Id: I938b1c4b9baed37caf718f7537bbb9c11f7b91e5
6 years ago
Richard Fuchs
28efacc8d8
TT#76711 more resilient UDPTL handling
...
Change-Id: I11b40cdd0c0562f49bd702f7efa58f9cf01d87e9
6 years ago
Richard Fuchs
d611bbbb74
TT#78501 add T.38 options
...
Change-Id: I4f173f384db18e832c1d24a7015a836ec4215a96
6 years ago
Richard Fuchs
213b6074f4
TT#76711 fix media type ID when restoring from redis
...
Change-Id: I87d5bd7b2edae147283627c82d2876d39fdb887d
6 years ago
Richard Fuchs
48c3af7f9d
TT#76711 add spandsp logging
...
Change-Id: I75dbf1e420818bf5c4033b0807b38824f96e2915
6 years ago
Richard Fuchs
cc7a9a5de8
TT#78307 clean up debug/log messages
...
Change-Id: I8e10be7f297480c01a213c89f06ee93a2215767f
6 years ago
Richard Fuchs
1d514a063c
TT#78307 add helper functions for SSRC contexts
...
Change-Id: I32470c03c19c8bb889900ca277b73713ee66c485
6 years ago
Richard Fuchs
dfae8d6a22
TT#78201 add symmetric-codecs flag
...
closes #953
Change-Id: I848f501709f48927a7156033ccd42eacd742e2d8
6 years ago
Richard Fuchs
0cd8883639
TT#78203 add SRTP debug options
...
closes #956
Change-Id: I751f6bc1ea9228b257f6258dbb1927276db10c99
6 years ago
Richard Fuchs
d872802ba2
TT#76711 T.38 <> audio gateway
...
Change-Id: I4552e07eee632fa730745410b08c3bf70ab67ab2
6 years ago
Richard Fuchs
468fca8ead
TT#76711 error-proof codec_handler_free()
...
Change-Id: Iaaf67bc21bcb904096a30497e817f5527fdf074d
6 years ago
Richard Fuchs
20607bbabc
TT#76711 generalise media_player mechanism
...
Change-Id: I940bd8c156691418ee0fe7743e9fade59ba8635a
6 years ago
Richard Fuchs
9ab6c27b4f
TT#76711 replace SDP media type as necessary
...
Change-Id: I49ba0eb38fd4774ab9f61f08692ebafe56a05fdc
6 years ago
Richard Fuchs
6792cde8b6
TT#76711 add custom SDP attributes capability
...
Change-Id: Iaf924938af1ef32a5a7eb961951c0debe7351ee5
6 years ago
Richard Fuchs
0dc052e2cc
TT#76711 globalise ensure_codec_def function
...
Change-Id: I2183ed5c7882b3e8909584425b1a37dd7da36124
6 years ago
Richard Fuchs
570ad9427d
TT#76711 add handler functions for enc/dec packet
...
Change-Id: I59b26793f233dde367cbe895f36642ebf58a7ab9
6 years ago
Richard Fuchs
641fd160ca
TT#77358 create helper function to determine RTP protocols
...
Change-Id: I6ee4a2c48c896fa9f3f00c9f90c0ae65c1ae3bae
6 years ago
Richard Fuchs
9ff3d666b8
TT#76711 split out common parts of codec_handlers_update
...
Change-Id: I3d6d8364d797e14df9dd55a284096038872cca2c
6 years ago
Richard Fuchs
a68a59fbf5
TT#76711 keep track of the raw SDP format string
...
Change-Id: I7f20dbff3237e39cea700c984a4f41016a2264fc
6 years ago
Richard Fuchs
de69c5ed1f
TT#76711 split codec_handler_get for different protocols
...
Change-Id: I67573100108aedb1c8e7fc5920682a7872fd10c2
6 years ago
Richard Fuchs
2d78c36338
TT#76711 allow update of media type
...
Change-Id: I3e860fe8683be2d7b0cd3cc70d4f7e4b39a0e147
6 years ago
Richard Fuchs
6513bfd5bd
TT#76711 split out function to handle media protocols
...
Change-Id: I51066ddd4c9d926ec77b9495fb5ca494290bff95
6 years ago
Richard Fuchs
d847d26e0b
TT#76711 convert codec handlers hash table to direct hash
...
Change-Id: Ieeb8183cd8041a10e311fb4f2fe6b92bbc5ad8bb
6 years ago
Richard Fuchs
50b0757f4b
TT#76711 add missing log_info_clear in send_timer
...
Change-Id: I4cb205d12ae0c83c710f1d6317e6e807fcfd4940
6 years ago
Richard Fuchs
9b9dde3ad8
TT#76711 don't run send timers that don't exist
...
Change-Id: I5ee38499051afd5b6d5b7e74ea60b84ad7d74d26
6 years ago
Richard Fuchs
01cf85f6ac
TT#76711 add missing locking and tree-remove for media player
...
Change-Id: I276adfdb7b9aba163f51d296862d8fcc152959b5
6 years ago
Richard Fuchs
5744c04d0d
TT#76368 add port status to graphite output
...
Change-Id: I7a12d55fd2e31222964361b301c6507b4e7760a5
6 years ago
Richard Fuchs
dcce2ba1a1
TT#76368 move graphite timestamping into wrapper macro
...
Change-Id: Iee58d38b8746b866944535160e131021a047a920
6 years ago
Richard Fuchs
ceb6814332
TT#76368 handle connection blocking on graphite writes
...
Change-Id: I261bb890fa7f403061f92c1300b69a3833282f09
6 years ago
Richard Fuchs
10ab85b3e5
TT#76368 remove some graphite functions from global namespace
...
Change-Id: Ic24778e9d04e015012e9d7cc873203d0dfbacaa6
6 years ago
Richard Fuchs
1c00016974
possible null pointer fix
...
Change-Id: I6b0122c7ba51e0fbd3de40da3adbec53a85cfa60
6 years ago
Richard Fuchs
ad4ea21ef4
fix for d09071a
...
Change-Id: I9d24df2b88f5de12ddee73eceaab060f277e2004
6 years ago
Richard Fuchs
335e3d2416
TT#76368 clean up graphite writing functions
...
Change-Id: I8efebe57417a9d060c4d3dd402d014df5f0feda4
6 years ago
Richard Fuchs
d09071a16b
TT#74850 avoid duplicate dlg.terminate_dlg with reversed tags
...
closes #914
Change-Id: Ibb01c4566ceddd83bf3308541420d227ccd655f3
6 years ago
Richard Fuchs
01002b07da
TT#74850 clean up indentation by reversing logic
...
Change-Id: I15140be111ad5e69d4c081f41db0b8ef81bb260b
6 years ago
Richard Fuchs
960534e489
Merge branch 'jb_fix' of https://github.com/balajeesv/rtpengine
...
Change-Id: I96e1ff3d69f16f2adf87c405565d24abc466b8fc
6 years ago
Richard Fuchs
be9caa37c7
also check for the output encoder
...
noticed through #941
further fix for 088c58d
Change-Id: I555d1d55d00124c75aa053c4c95abfd98d1ae44f
6 years ago
Richard Fuchs
3d83b46505
TT#76206 fix call teardown for half established dialogues
...
In case of an offer with a via-branch followed by a delete without a
via-branch (cancelled call), the call erroneously remains open after
deleting one half of the call. The reason is that un-answered branches
do not appear in the `other_tags` list and so are left out from being
checked.
Change-Id: Ib008f32ef5ee06a7ca997c900c9a3adc85b0f10d
6 years ago
root
195f618928
jb_fix
6 years ago
Richard Fuchs
fbaaf22d34
compile fix for jitter buffer
...
Change-Id: I9bfef87fe716050a49df829d3dbd8219968e3902
6 years ago
Richard Fuchs
ab53fdc6f6
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine
...
Change-Id: I73fc3529938bf65e40f86a4e526c8bf77e199492
6 years ago
Balajee SV
440fae8846
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
6 years ago
Richard Fuchs
088c58d88d
avoid calling a non existant encoder
...
fixes #925
Change-Id: I4743f0e87234fe3ddeb36b7355dcf80f651996c3
6 years ago
Richard Fuchs
7ea6389c56
compile fix for with_transcoding=no
...
closes #927
Change-Id: I0f53f31dce31990d999516173be4b483d90b4021
6 years ago
Balajee SV
220c96aea4
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
6 years ago
Balajee SV
b45dbbdc24
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
6 years ago
Balajee SV
e3a5d45433
jb_new
6 years ago
Balajee SV
c0b28c3d65
jb_new
6 years ago
Richard Fuchs
38792c00a5
TT#75352 don't attempt to send uninitialised packets
...
This can presumably happen when an encoder gets re-initialised due to an
SSRC table overflow, or when a passthrough encoder (e.g. G.729) returns
no data.
Possibly fixes #915
Change-Id: Ib351054b99754f46d0a8fb2d49629ce7c48dc964
6 years ago
Richard Fuchs
7e0b2c4ac3
TT#75352 add a storage container for codec handlers
...
The hash table cannot be used for storage any more as entries can be
removed on demand (64e56d7 ) but can be cached in packet->handler at the
same time.
Possibly fixes #915
Change-Id: Ic74703b1a57294bfd704b6cddcd666d6063f510a
6 years ago
Stefan Mititelu
dbd27f930b
Fix crash when redis disconnects/reconnects
6 years ago
Richard Fuchs
ef0d6a3a80
TT#74301 merge jitter buffer PR #834
...
refactored
closes #834
Change-Id: I174cc6e365af54fb66d2dd78be02c601c5d5d645
6 years ago
Richard Fuchs
d6ad6a6744
TT#74301 convert timerthread_queue entries list to GTree
...
Change-Id: I7a8d54f7f7ffe2b27617c109b6d04a2cc20861e9
6 years ago
Richard Fuchs
18634c4202
TT#74301 refactor send_timer into generic timer
...
Change-Id: I81dae7ae8bb1bfe0324f9a8ce256cf9d1c377840
6 years ago
Richard Fuchs
c70b3f6369
TT#74651 fix several mem/resource leaks
...
fix cleanup being skipped on redis slaves
fixes an SDES related Redis mem leak
adds a hash for the ports free list to avoid duplicate entries
fixes #898
Change-Id: I34aad67290ff5ef8824142682aac03cb600d0ecb
6 years ago
Richard Fuchs
08cdb4cdb6
TT#74300 split intro for call-id CLI output
...
Change-Id: I4872ce173372b767b467afd4122bba809f4f0c3e
6 years ago
Richard Fuchs
c3f5282759
TT#74300 adapt CLI output to match log output for call stats
...
for #908
Change-Id: I68d0cd92f00b261d604074362cc658589d94543e
6 years ago
Richard Fuchs
5ac07564bd
TT#74300 run indent over cli_incoming_list_callid
...
Change-Id: Ife1e0f1ad8820807fd409fe422f40b4d483282eb
6 years ago
Richard Fuchs
2a2e3f3fcc
TT#74050 handle sinks with null addresses correctly
...
Change-Id: Ic2f2b840c4595e1d061cfd0cdf7465e8aeebb3ac
6 years ago
Richard Fuchs
6d22af9566
TT#73900 ignore stray RTCP packets when confirming peer addresses
...
fixes #697
Change-Id: Id2fdbd1b0b419b7fcc032c865a62a7ceed84f9f3
6 years ago
Richard Fuchs
1c72636983
TT#73401 remove useless assertion
...
Change-Id: Iba2597ad3138ef5b3b4199d2d436c3cbd7b9bd76
6 years ago
Richard Fuchs
64e56d774b
TT#73401 handle changes in RTP payload types
...
A client can potentially change the codec used for a RTP payload type
number, so we must confirm that an existing handler matches the codec
from the SDP.
fixes #903
Change-Id: Id9ae379425359f776883d6ace7fdb44ad651b37e
6 years ago
Richard Fuchs
d1e3dc0996
byte-swap homer ID as required
...
fixes #902
Change-Id: I332120c269ef63a273ca1a87f4e98cac8afb5e25
6 years ago
Guillem Jover
137c5df644
TT#71950 Fix typos
...
Change-Id: I79991a30bd8459485ea76dad541bda27daf9bfea
6 years ago
Richard Fuchs
8322a8b37f
TT#72350 add codec info to CLI output
...
closes #889
Change-Id: I7e717f58d5da8d505911f1df5bc6a99f0d9c97dc
6 years ago
Richard Fuchs
dc1daa90ab
TT#72000 confirm immediately on a perfect endpoint match
...
Change-Id: I7f0663a5b7ed6a224d385b3b1d07bc5cf13a185b
6 years ago
Richard Fuchs
61ac7e9656
TT#72000 add different endpoint detection algorithms
...
Change-Id: I791dba23450cab31bc5744a6156965afbb8a3b5c
6 years ago
Richard Fuchs
c36a44580d
fix incorrect parameter type used for homer-id=
...
reported in #807
Change-Id: I075660de6a654c42d0fec831ea9edc9bd88e7c05
6 years ago
Richard Fuchs
16afc46ca4
add test symlinks to gitignore files
...
Change-Id: Icaf60b8e1eb75f10f9b41cb5c55ad40ea89aa0ac
6 years ago
Richard Fuchs
2b87948014
fix compilation for with_transcoding=no
...
closes #884
Change-Id: I70492beed191de9ae7167990ee275c0eecc9bd80
6 years ago
Richard Fuchs
bc3d4f71b7
compile fix for glib versions < 2.30
...
closes #879
Change-Id: I01e176a1e3479350ba389b35a49f057292f6ad3d
6 years ago
Richard Fuchs
e0dd6747ea
TT#71050 fix branch deletion from via-branch
...
Untagged branches (only known by via-branch) don't appear in the `tags`
hash and don't have any `other_tags`. The logic to determine whether the
call is completely finished therefore must take these into account
separately.
We take care to remove destroyed monologues from the `viabranches` hash
to keep the count up to date, and determine whether a call is terminated
when there is no more than 1 tagged monologue left and no untagged
monologues.
Closes #875
Change-Id: I6b9618d598f4a95970cd2a452f06574423932b09
6 years ago
Richard Fuchs
8bdeb2d9bf
TT#69701 fix incorrect address used for raddr/rport
...
fixes #850
Change-Id: I36eb8c61e094cda335c14023374dab6d5f1ccfcd
6 years ago
Richard Fuchs
ab77ed50af
TT#64601 refuse overriding crypto params from SDES when DTLS is in use
...
Change-Id: I10f2fe3fdd0955fa39b5edcb31196042cdb0b731
6 years ago
Richard Fuchs
228d822a71
TT#68100 set iLBC encoder and decoder options
...
required to distinguish between 20-ms and 30-ms modes, both for encoding
and decoding
add support for the iLBC mode= format parameter and dynamic mode
switching
closes #854
Change-Id: Icb6f0ec80df86d27681c689c168b24f163a2db06
6 years ago
Richard Fuchs
6431cde151
TT#64601 fix some compiler warnings
...
stun.c: In function ‘stun_error_len’:
stun.c:388:62: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
388 | output_init(&mh, iov, &hdr, STUN_BINDING_ERROR_RESPONSE, req->transaction);
| ~~~^~~~~~~~~~~~~
stun.c: In function ‘stun_binding_success’:
stun.c:479:64: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
479 | output_init(&mh, iov, &hdr, STUN_BINDING_SUCCESS_RESPONSE, req->transaction);
| ~~~^~~~~~~~~~~~~
stun.c: In function ‘__stun_success’:
stun.c:540:42: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
540 | return ice_response(sfd, sin, attrs, req->transaction);
| ~~~^~~~~~~~~~~~~
stun.c: In function ‘__stun_error’:
stun.c:545:42: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
545 | return ice_response(sfd, sin, attrs, req->transaction);
| ~~~^~~~~~~~~~~~~
redis.c: In function ‘redis_hash_get_sdes_params.isra.0’:
redis.c:1095:39: warning: ‘_tag’ directive output may be truncated writing 4 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
1095 | snprintf(tagkey, sizeof(tagkey), "%s_tag", kk);
| ^~~~
In file included from /usr/include/stdio.h:867,
from ../lib/str.h:9,
from ../lib/compat.h:16,
from ../include/redis.h:8,
from redis.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 36 bytes into a destination of size 32
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I214458fd3f596e565b1bba9d88808b7c99f9c876
6 years ago
Richard Fuchs
4d99ba8f09
add missing header
...
closes #856
Change-Id: Icbd24a68969142179dfcf1943a7bd8d95ff5be1b
6 years ago
Richard Fuchs
3bf3982de1
TT#65052 support queuing up multiple DTMF events
...
Change-Id: I489194212a46d12761b3fdc1e212c78254b91427
6 years ago
Richard Fuchs
068bdb224f
TT#65052 support adding pause after DTMF PCM
...
Change-Id: I0332ac2488f9d2d12ce4d84c3e8b60caf35d9c6c
6 years ago
Richard Fuchs
65fb99b31d
TT#66650 fix some SSRC refcount leaks
...
closes #841
closes #838
Change-Id: If96a3295ecc504c5e94eb113063cc20da7fb541e
6 years ago
Richard Fuchs
7b60ca8e35
ignore untagged/wildcard/unknown MLs in delete with via-branch
...
fixes #840
Change-Id: Ifddf6c4c5ae58556dc9a746f657c7aebc4beee67
7 years ago
Richard Fuchs
22ea251157
don't skip address family selection when zero port is present
...
closes #837
Change-Id: Ife85f3a383981ccf3efcc95cb71c82d6e89117d9
7 years ago
Richard Fuchs
3466700149
TT#65800 fix SDES negotiation bug
...
If B accepts a crypto suite that was not listed as the first, in order
to support SRTP passthrough, we correctly answer to A with only that one
crypto suite. But we must also remove all other crypto suites from our
list of supported crypto suites internally, because we use the first one
to init our crypto contexts.
fixes #829
Change-Id: Id07343d7b24648208e3a4b4e0b246949dce0385e
7 years ago
Richard Fuchs
bfc9799c7e
TT#65100 don't start a redis notification context/thread when not in use
...
There's no point in starting the notification thread and another Redis
connection if there are no keyspaces to subscribe to
Change-Id: I2a9ef3b7764219b6ca08ebbe81461efd45b3e9de
7 years ago
Richard Fuchs
8ffc13d8aa
TT#65100 properly cleanup redis async context
...
Change-Id: I53a0e7b3acbc81f4155e4141c889b166a327a24a
7 years ago
Guillem Jover
781b275295
TT#65100 Fix double free for redis context on closure
...
We need to set the redis context to NULL after freeing it, otherwise
other code will try to free it again, which will make the program
abort when exiting.
Change-Id: Id634075344351eb1c924c59739b72bbf57de3c89
7 years ago
Richard Fuchs
b14f3b2b1c
TT#64259 support injecting DTMF tones and events
...
Change-Id: I07aa7690146db5b41be479a67aaafbd66aec4033
7 years ago
Richard Fuchs
49f6a88086
TT#64259 add function to convert DTMF codes and chars
...
Change-Id: I0b36263033a8614fa448fd4c37dbbc62b516d40a
7 years ago
Richard Fuchs
68d909c5ea
TT#64259 add functions to skip decoded samples and return encoder PTS
...
Change-Id: I9b4f39e214bf6ecb7ae25a8b3cc726041d6552c0
7 years ago
Richard Fuchs
35740cda35
TT#64259 add function to inject DTMF events
...
Change-Id: Ie84e2e8cad11e686c6e7010ca78ecba37c5dbf7e
7 years ago
Richard Fuchs
fd16bf5104
TT#64259 make DTMF detection switch explicit
...
instead of using the output DTMF payload type implicitly
Change-Id: Ib0882534d6e46759e9e5e1feb4a919fa6a9cd437
7 years ago
Richard Fuchs
ef20e021cd
TT#64259 split up codec handlers function
...
Change-Id: I09ef471d2500a098466bd546a197c08f6fc12ff9
7 years ago
Richard Fuchs
3fb5befad4
TT#64301 log xmlrpc children to stderr
...
Change-Id: I103c062bc797c609983a995d835a84a00267aa86
7 years ago
Richard Fuchs
344b3b9e17
TT#64300 don't attempt to transcode to an unsupported codec
...
Change-Id: Ib4bad65472139f214bbb3896c1f9df29cc8e140e
7 years ago
Richard Fuchs
1653f3201b
don't free redis event base while being used
...
closes #804
Change-Id: Ic4bce6cf50441011d8eea0ba2da8861a783a33a9
7 years ago
Richard Fuchs
24d67d0662
fix mem allocation bug resulting in mem corruption during redis restore
...
fixes #811
possibly also fixes #802
Change-Id: Ic14e4916e9c340221a1c0b177707a1d1bef73347
7 years ago
Richard Fuchs
a2e0dd6b33
TT#62300 kernelise stream even if address doesn't match if possible
...
Change-Id: If0756aa5ac5ce3ddf29d3ca1cb87410d7d57c89b
7 years ago
Richard Fuchs
3b6f098d8e
TT#61850 normalize `address:port` log printing
...
«IP»:«port» vs (preferred) «IP:port»
Change-Id: I785cedfc155c107b7798762ef43f6d35bdf8bd05
7 years ago
Richard Fuchs
79fb320021
add missing header include
...
Change-Id: Ic0dba1de45fac7acc37f0a3ce86368f9625c4cc9
7 years ago
Richard Fuchs
23977237c0
TT#61050 detect to-tag changes via via-branch
...
Change-Id: I1cf0f7e516ae52a2f40a9ef84a207fe1456ea1e5
7 years ago
Razvan Crainea
8fb603e5c3
dtmf: prevent freeing json buf too early
...
When both logging and sending the DTMF event further, the json buffer
was released/freed _before_ being sent on the network, resulting in a
0-length UDP packet. On the other hand, if only UDP sending was used
(without logging), a leak was happening. This commit fixes both issues.
7 years ago
Richard Fuchs
f6f484fff6
TT#59501 add optional RTCP sink
...
If `strict source` is set, we can now also kernelise RTCP ports. This
will engage the kernel module's source address checking. If the check
fails, the packet is discarded. Otherwise it's passed to user space
as usual.
Change-Id: Ieedf39fba2263045b0f1faafa7f5826a27b5a115
7 years ago
Richard Fuchs
988d077b5c
TT#60301 fix rtcp-mux logic with branched calls
...
Move the RTCP_MUX_OVERRIDE flag to the opposite side of the dialogue to
preserve options given during a branched call.
closes #793
Change-Id: I0bd7621ba22fbfe4f41d115ec2e5dab65283ae01
7 years ago
Richard Fuchs
fcb08df0ae
TT#59805 add dtmf-log-dest option
...
Change-Id: Id6f7ce7fa627b138e0b0ea3d410b8af53532b290
7 years ago
Richard Fuchs
166aaa0c71
fix compilation for with_transcoding=no
...
closes #789
Change-Id: Ia0a50f77ae25b8af5e387d40b2b570285836e32d
7 years ago
Richard Fuchs
f960799cdd
TT#59703 add build test for dtmf_rx_fillin()
...
closes #787
Change-Id: I26ec7ebef74dad03192019b788e7c7ae17715783
7 years ago
Richard Fuchs
7803930d21
TT#59703 generalise build test make macros
...
also add a linker stage to the test build
Change-Id: Ief9dcabbb77dd682b6e7188c296f4713c1c234a3
7 years ago
Richard Fuchs
7ad9906178
TT#59650 fix DTMF related core dump when repacketising
...
Change-Id: I77b84c4b47ee41702b076a8a2f3259dc853654f1
7 years ago
Richard Fuchs
e17544a452
rate limit log lines resulting from strict-source drops
...
Change-Id: I33d49285f031b761c618f57f9564ed69a8f15e3d
7 years ago