Damir Nedžibović
7d02539673
Prevent mem leak.
5 years ago
Damir Nedžibović
3510a5d021
Make poller per thread functionality configurable.
5 years ago
Damir Nedžibović
a2142b2a5e
Use pthread_self() instead of syscall(SYS_gettid).
5 years ago
Damir Nedžibović
2e471cae40
Refactor the code a bit.
5 years ago
Damir Nedžibović
91f72455c9
Use usleep() instead.
5 years ago
Damir Nedžibović
08d3bdb4ed
Use ssl_random() instead.
5 years ago
Damir Nedžibović
2d9995a864
Sleep for 20ms instead.
5 years ago
Damir Nedžibović
eded168a38
Implement poller per thread in order to fix packet order.
5 years ago
Richard Fuchs
7f579ac2db
TT#111357 add microseconds to file name patterns
closes #1195
closes #1150
Change-Id: Ic6ea7b40ff1f26e92ab2d50adc50776f72a10616
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
77feea6e4d
TT#108551 document AEAD support in README
Change-Id: If305cc19733569ccc26942837cd450989d2dc815
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
8aecb6a98a
TT#111357 also apply chown to created parent dirs
Change-Id: I6300e49816f83561f3eafffc893cfb1efc334b6f
5 years ago
Richard Fuchs
b8b395e21f
TT#111357 add chmod setting for created output dirs
Change-Id: I233b83febd087f202e047194ad3ad97c6651ea3b
5 years ago
Richard Fuchs
c8d6a45777
TT#111357 add support for configurable output file name patterns
Change-Id: I8662a2ee93700329ee2641c536be9ea8306f6b89
5 years ago
Richard Fuchs
7c25d39f70
TT#111357 switch to dynamically allocated strings for file names
Change-Id: I3299ffb10083dc8390ca60d810d1359f77215737
5 years ago
Richard Fuchs
23dbe78548
TT#14008 fix possible use-after-free on shutdown
Reorder the shutdown cleanup calls so that option strings are freed
last, as they may be used by other components during shutdown cleanup
Change-Id: I297f6d0c3dbbb22c4d34d7866844824c8d97e940
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
e1ee75a476
TT#14008 add `reorder-codecs` flags to test script
Change-Id: Ib8f1331508e805718eb590ee7def03ce689bb6e1
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
9d332f9b0f
TT#111357 use a better default for recording threads
Change-Id: Id9f3d0404505e87bf785e52680c5a771d6d58828
5 years ago
Richard Fuchs
b0f185f409
TT#111357 refactor sysconf() call into shared code
Change-Id: Ifd8d1d774f55e7c58bf82c9a5f67787e02f53c3f
5 years ago
Richard Fuchs
a25fa3cc00
TT#111357 don't allow libav* to create its own threads
Change-Id: I5227bb947c07841f0481f73ee75f7c36cc8f3257
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
Sipwise Jenkins Builder
2377d835c3
Release new version 9.4.0.0+0~mr9.4.0.0
5 years ago
Richard Fuchs
543bac908e
TT#106253 cleanup TLS variables on shutdown
Change-Id: I77f88e6a34e4720f6fbd0c585d2cf9843a3b309e
5 years ago
Richard Fuchs
4f5e83e681
TT#14008 fix possible mem leak
Change-Id: Ie506c74e8effc9dcb88331377cdb5cff2ed0d9a4
5 years ago
Richard Fuchs
7edf0c5516
TT#108551 fix AEAD kernel encryption
closes #1187
closes #1190
Change-Id: Ibb43e4d9868ce84d6205840d71516752da341697
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
302968fc0e
TT#14008 rename some test suites
Rename test suites from *-test.c to test-*.c as the former is
conflicting with the file name pattern of the build tests, which are
listed in .gitignore.
Change-Id: I8779fac492510c0996bdcb2c6250c07536fe3b63
5 years ago
Richard Fuchs
21d1057f68
TT#108003 fix possible deadlock
Change-Id: I604bd76248aa0bc33589ee379a99b6f82c840662
5 years ago
Richard Fuchs
1219b2fdbd
TT#108003 log error on unlink failure
Change-Id: I10478c659f8eeb134b2f3c238fd35c644ca878ef
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
Richard Fuchs
79bb147af7
TT#109618 add option to chmod/chown created recordings
Change-Id: Ied981b36bc30f6ac24f0c0d6027c008f25029945
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