Richard Fuchs
37a9521901
don't treat media socket write errors as fatal
closes #351
Change-Id: I36add0e8aca8856e053b10abdfffbfa63e134daa
9 years ago
Richard Fuchs
531febbbb0
migrate log-stderr and log-facility options to lib for recording daemon
Change-Id: I3322eccf01c606f29024fc786b257c45d6b92b54
9 years ago
Richard Fuchs
c5a202ebcd
write both types of media indexes to recording metafile
Change-Id: Ib6d5b43aa8a94ad62f73d644e5a2009d804cf17d
9 years ago
Victor Seva
f7aa5fa6b6
TT#14571 PEP8 for YouCompleteMe config
Change-Id: I8fdc9b3d3ceb2cfa7333cb8520228629f1c521f1
9 years ago
Richard Fuchs
d269f6a320
eliminate orphaned redis code fragments
Change-Id: Id2c394f61387d3cc1f89a62b880c4ecc1c9d060e
9 years ago
Guillem Jover
0b1bdbb339
TT#14400 Do not NULL-dereference pointer
When debugging mode is enabled, and the socket variable is NULL, we will
try to dereference it to print the debug message. Split the checks to
avoid that.
Change-Id: I0e0643900d3d8463937b7fd47b21cd91cf49b73c
9 years ago
Guillem Jover
bd833c2586
TT#14400 Use a boolean instead of a bitwise operator
Using the bitwise operator seems confusing here, and the boolean
operator will in addition short-circuit which should not be very
significant performance-wise, but still nice.
Change-Id: Icda38d7799aa264d9a6cc1f4a71587e60189b18e
9 years ago
Victor Seva
3c813acacc
support wheezy build reported at #343
(cherry picked from commit db7537b1f0 )
9 years ago
Anthony Alba
b1e259c109
Document libsrtp AES-256 SRTCP bug for interop
9 years ago
Richard Fuchs
0f07e46d62
fix 32-bit compilation errosr
Change-Id: I237a077c4e2d1064af963b3f2a2e51bb2a8388f6
9 years ago
Richard Fuchs
6b6b8ea54a
don't use anonymous unions to make old compilers happy
fixes #347
Change-Id: I32ef9efa674e74c3a1263c0fd786a16562ea7838
9 years ago
Claudiu Boriga
edac4f2cd7
make cli_incoming accept multiple connections
fixes #280
9 years ago
Richard Fuchs
5dcd533a7f
ensure positive random numbers
Change-Id: I993a2b90b8ae56ac263597c5a107be9c1f92d001
9 years ago
Richard Fuchs
7182e751a1
abandon usage of random()
Change-Id: I870fd7963dc9148b496361892a2bfe2cc0f88690
9 years ago
Richard Fuchs
6594b2b884
fixes for coverity
Change-Id: I92eebf9a44fed8d826e0c2a207c05cd02c5ade0c
9 years ago
Richard Fuchs
e85759a3b8
fix some errors caught by coverity
Change-Id: I3f5bfc2df00ab9b031eef5a1c71b6ff3ba25e60c
9 years ago
Anthony Alba
87aaf82111
Document RFC 3711 errata id 3712 that SRTCP_R_LENGTH == 6 is canonical
9 years ago
Richard Fuchs
5c0dc629c1
consolidate AES crypto suites for different key lengths
Change-Id: I2d031ed7dd6b9154203b79f2a6dba2b246d2063b
9 years ago
Richard Fuchs
7088e1586a
remove obsolete redis restore function arguments
Change-Id: Ia45cf4316ffa7a3d4fd813c74a1c76ee5dc38058
9 years ago
Frederic-Philippe Metz
d88587512a
Cleanup according to pull req #335
9 years ago
Frederic-Philippe Metz
27679b188e
Moved the json reader locally and removed it from call struct
9 years ago
Frederic-Philippe Metz
95d942005d
Adds missing log output
9 years ago
Frederic-Philippe Metz
8f01e780a8
First attempt to seperate more stats and cdr away from the core running code
9 years ago
Anthony Alba
d5cecc500f
Add AES-192, AES-256 CM to kernel SRTP
9 years ago
Anthony Alba
357bb1d50f
Refactor to add explicit session key init functions
9 years ago
Changli Gao
a3f27f8751
STUN: The most significant 2 bits is 0xc0 in hex
9 years ago
Anthony Alba
b8a2f015ad
Initial support for AES-192, AES-256 in userspace
9 years ago
Richard Fuchs
d513c6dd2b
add missing lock for failed call restores
Change-Id: Ibeff1501483038c528f9ba92fe461ec866e73bff
9 years ago
Richard Fuchs
d8cc8caf9c
combine two mallocs into one for redis restore
Change-Id: I6a5c26b6e0c856b1930273c37b35020dd48c6505
9 years ago
Frederic-Philippe Metz
267b57c33f
Implemented comments from Richard from pull req #323
9 years ago
Anthony Alba
3e2e0242c3
Determine base64 padding from enc_salt_key_len
9 years ago
Anthony Alba
1fc77bc3ac
base64: flush base64 decoding, and skip base64 padding in crypto line
9 years ago
Frederic-Philippe Metz
d904fb2fe5
Removes 'json-' prefix from redis key (callid)
9 years ago
Frederic-Philippe Metz
279e5fa36e
Removes commented code
9 years ago
Frederic-Philippe Metz
d08dd6a5f3
Fixes SRTP restore in onekey concept
9 years ago
Frederic-Philippe Metz
6985784cea
Fixes redis recording flag in onekey concept
9 years ago
Frederic-Philippe Metz
14b37ebfe5
Removes multikey stuff
9 years ago
Frederic-Philippe Metz
f3364d9e7d
Omits redisreply in redis restore and eliminates 'multikey' feature
9 years ago
Richard Fuchs
f77726caa8
update redis one-key concept
Change-Id: Ifc164f5737decefef2463af57d75f717b97e169b
9 years ago
Frederic-Philippe Metz
ea9512c520
Adds URI encoding for json strings in redis.
9 years ago
Frederic-Philippe Metz
ed760fb566
Fix more issues from richards comments
9 years ago
Frederic-Philippe Metz
88b89ea2e6
Fixes STR_FMT comment my @rfuchs or pull request #316
9 years ago
Frederic-Philippe Metz
6a3bcf58e8
Fixes STR_FMT comment my @rfuchs or pullrequest 316
9 years ago
Frederic-Philippe Metz
9ebd06f40f
Some fixes for pull request #316
9 years ago
Frederic-Philippe Metz
749a7da7b0
Implements redis onekey concept
The redis onekey concepts is introduced to reduce traffic to redis
and redis notification traffic.
It modifies the current structure for one call in redis, which are
multiple keys with pre- and postfixes and the callid in between to
one key with the structure "json-<callid>". The value is a json
formatted string with the previous multi-key identifiers in it.
9 years ago
Richard Fuchs
1d5668d793
compile fixes for openssl >= 1.1.0
Change-Id: I815c89dde5b6e85b9887dcaf04c25f0a45dcfd5c
9 years ago
Richard Fuchs
9036d30ed8
fix call struct being accessed after obj_put
Change-Id: I33dea4d637c531bdf33c54485da5627b5eeb5a32
9 years ago
Pawel Kuzak
d2314ea247
Reduced complexity in onRedisNotification()
If a call already exists and a Redis notification for that call is received, don't change the call (ignore notification).
9 years ago
Richard Fuchs
97183b10df
make sure call_destroy unrefs the correct call object
avoids a possible race condition with rapid create/delete/create of the
same call
Change-Id: I293c7064ea0c491b4040eb41300c56384c325719
9 years ago
Richard Fuchs
df869fff0f
automate lib symlink creation in makefiles
Change-Id: I5bedecfbe6e7c61bd505c075c4b2cd444cc4cc41
9 years ago