Claudiu Boriga
229b78d2b8
Fix race condition where redis context is used outside mutex protection
8 years ago
Richard Fuchs
0db5e226e5
fix payload type tracking for transcoding situations
closes #476
Change-Id: I6a038136e22b23efe422eb40caa0f3e10359e5d1
8 years ago
Richard Fuchs
7b65dedb95
restructure codec_make_payload_type to fix compilation w/o transcoding
closes #468
Change-Id: I5f8c5e318e8726bddd69120e258c7d5bb0ee3687
8 years ago
Richard Fuchs
9147d5e438
TT#32983 support transcoding options in redis (re)store
Change-Id: I8552743a5ec48b6d4464e8a2c4acd1c9bf11f02a
8 years ago
Richard Fuchs
a4e73c90e8
TT#30404 accept and reject codecs according to transcoding preference
Change-Id: I7e4d1d834289433ae4a42d78b92cbc745884d5d1
8 years ago
Richard Fuchs
b9206a49bc
TT#28163 abstractize SSRC hash
Change-Id: I2f28854070ad5a7567870ef7585e67729154b0e3
8 years ago
Claudiu Boriga
0f9151e9ea
Make 'redis-allowed-errors', 'redis-disable-time', 'redis-cmd-timeout'
and 'redis-connect-timeout' configurable via rtpengine-ctl
8 years ago
Richard Fuchs
ca78747c8c
TT#30405 rename media->rtp_payload_types to ->codecs for brevity
Change-Id: If89d774a6ab62855118eec74d21123ba61b48e9e
8 years ago
Richard Fuchs
d31fb36f6e
TT#30403 parse and retain a=fmtp infos
Change-Id: I81b2afdfac7f65833fa5260add823fcf7680c879
8 years ago
Claudiu Boriga
485092383f
Make redis connection timeout configurable
8 years ago
Claudiu Boriga
562c5b40a6
Add parameter that sets a timeout for redis commands
8 years ago
Claudiu Boriga
c31ffa4639
Add paramaters to disable redis communication in case of multiple errors
8 years ago
Richard Fuchs
46d853972b
move lib/ config options into struct
Change-Id: I563b38cd64daea5f9137debff2fc7881a3cdaa9d
8 years ago
Richard Fuchs
75056a8dd1
eliminate the callmaster struct
Change-Id: I9151dbe8f47b3bb9ab67d6fea2fc3783bdc558da
8 years ago
Richard Fuchs
f2b93f9ef8
move config options into global struct rtpengine_config
Change-Id: Ie566efb6a1b8bedbe33f768bc4cd979b2d2b46cc
8 years ago
Richard Fuchs
dffbddb2d6
don't use g_ prefix for global variables
Change-Id: Ifd843b01d7fccf294f97fdf48308c71268e1b8ae
8 years ago
Claudiu Boriga
2250ab11fd
make METADATA section appear in the metafile at
intialization when recording using the proc method
add new METADATA sections only if they differ from
the previous ones
8 years ago
Claudiu Boriga
d5fea12937
check call.recording structure before using it
if call recording is not configured but the redis db contains
calls with recording flag, then call.recording can be NULL
8 years ago
Claudiu Boriga
ca622b40ef
set TOS for redis streams
8 years ago
Richard Fuchs
e7d75bd275
TT#19350 add option to manage iptables rules directly
Change-Id: I8e2b47bf34206ed5cc369649bf8ef875ac271169
8 years ago
Richard Fuchs
1206e26f76
add missing lock for SSRC hash dump
Change-Id: I165ceae3f6d5bada4ec0390c440f84bcde542952
8 years ago
Claudiu Boriga
67de59ada4
check that redisContext is not NULL before using it
8 years ago
Richard Fuchs
ab0dba7d14
TT#12800 support custom monologue labels
Change-Id: I55b2db88307088c4d5e0161eae6e3aa0b5d1b053
9 years ago
Richard Fuchs
2cf93904df
TT#12800 restore SSRC table from redis
Change-Id: I9c6a5a33ae14e803e5badade8307d4f53f7a04a2
9 years ago
Richard Fuchs
11dac7b28f
TT#12800 add MOS statistics to final log output
also converts call->created to a timeval
Change-Id: Idb71ada22a2d04637670b7515e54f2994f8d4c93
9 years ago
Richard Fuchs
868c3b64fe
TT#12800 add ssrc handling into packet_stream struct
Change-Id: I7da97a6435854a846d2782448b32c69327756ccf
9 years ago
Richard Fuchs
d269f6a320
eliminate orphaned redis code fragments
Change-Id: Id2c394f61387d3cc1f89a62b880c4ecc1c9d060e
9 years ago
Richard Fuchs
0f07e46d62
fix 32-bit compilation errosr
Change-Id: I237a077c4e2d1064af963b3f2a2e51bb2a8388f6
9 years ago
Richard Fuchs
6594b2b884
fixes for coverity
Change-Id: I92eebf9a44fed8d826e0c2a207c05cd02c5ade0c
9 years ago
Richard Fuchs
7088e1586a
remove obsolete redis restore function arguments
Change-Id: Ia45cf4316ffa7a3d4fd813c74a1c76ee5dc38058
9 years ago
Frederic-Philippe Metz
27679b188e
Moved the json reader locally and removed it from call struct
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
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
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
30dcadab15
TT#5566 rudimentary support for multiple audio codecs
Change-Id: I7e473f5d17874641253b4b16c3470851743818e1
9 years ago