Commit Graph

265 Commits (3aec6cd0acec30dd2d551f21b9f72c9bbb18d343)

Author SHA1 Message Date
Richard Fuchs d1f320c80f TT#14008 lock Redis context during restore GET
5 years ago
Richard Fuchs acefaf1d3c TT#14008 report Redis errors on restore failures
5 years ago
Richard Fuchs c6bb16612d TT#91151 don't segfault on empty strings to redis
5 years ago
Richard Fuchs 875fc342b0 TT#14008 fix redis error messages
5 years ago
Richard Fuchs 5c519ec2db TT#89352 allow create-only mode for call_get_*
5 years ago
Richard Fuchs 765b1e3bca TT#89352 use bool type for foreign call functions
5 years ago
Richard Fuchs 8d06707a9f TT#91151 fix redis-restore media link
5 years ago
Damir Nedžibović cc09099660 Squashed commit of the following:
5 years ago
Richard Fuchs 94a5feea7d TT#111150 fix coverity warnings
5 years ago
Richard Fuchs 92fb330a46 TT#91151 implement one-to-many forwarding
5 years ago
Richard Fuchs 1d387b98ef TT#112700 rework codec offer/answer routine
5 years ago
Richard Fuchs 256b9917ec TT#121752 associate SSRC hash to monologue instead of entire call
5 years ago
Stefan Mititelu 156271ef9f Avoid deadlock of notification thread
5 years ago
Richard Fuchs 1ec517c2f4 TT#14008 restore foreign calls from the appropriate DB
5 years ago
Richard Fuchs 30621846ab TT#14008 keep track of selected Redis DB
5 years ago
Guillem Jover 07695d2abb TT#111150 Use modern <stdint.h> uint<bits>_t types
5 years ago
Richard Fuchs d5d0a3a994 TT#111150 convert str.len to size_t
5 years ago
Richard Fuchs a8d5076065 TT#119502 correctly restore calls from both Redis instances
5 years ago
Stefan Mititelu 6f457b50d1 Get time before deciding to re-establish redis connection
5 years ago
Richard Fuchs 7101f535da TT#108003 remove unnecessary null checks
5 years ago
Richard Fuchs d466e5c326 TT#97301 fix bit-setting of negative log levels
5 years ago
Richard Fuchs 30733ec5cd TT#97301 support granular log levels
6 years ago
Richard Fuchs 260a170524 TT#81212 add trigger to set all calls to own or foreign
6 years ago
Richard Fuchs 68ccc52b2b TT#92250 postpone codec_tracker to final stage
6 years ago
Richard Fuchs 71c3154142 TT#88750 restore DTLS SRTP details from Redis
6 years ago
Richard Fuchs 2ce7b6476e TT#92250 better handle supplemental codecs
6 years ago
Richard Fuchs 5ac91499fe TT#92250 keep supplemental codecs last in list when transcoding
6 years ago
Stefan Mititelu 2ebf5a1526 Add redis async delete
6 years ago
Richard Fuchs f8f74d89b9 add missing Redis auth for async context
6 years ago
Richard Fuchs 5001a02d44 TT#88750 fix SRTP not working after Redis restart
6 years ago
Richard Fuchs 8e22c9a414 TT#85701 improve branch handling with delete-delay=0
6 years ago
Stefan Mititelu eb8169868d Fix a few more "still reachable". End all redis unused threads.
6 years ago
Michael Prokop 98245fdeac TT#83954 Invoke libevent_global_shutdown() only conditionally
6 years ago
Stefan Mititelu a6d2f92962 Solve Valgrind "possibly lost" for redis and dtls
6 years ago
Richard Fuchs 39b04ece9d TT#28300 use more auto cleanup variables in config_load
6 years ago
Richard Fuchs e1b2532fe8 eliminate (re)connected redis state duplication
6 years ago
Richard Fuchs 213b6074f4 TT#76711 fix media type ID when restoring from redis
6 years ago
Richard Fuchs d872802ba2 TT#76711 T.38 <> audio gateway
6 years ago
Richard Fuchs a68a59fbf5 TT#76711 keep track of the raw SDP format string
6 years ago
Stefan Mititelu dbd27f930b Fix crash when redis disconnects/reconnects
6 years ago
Richard Fuchs c70b3f6369 TT#74651 fix several mem/resource leaks
6 years ago
Richard Fuchs 6431cde151 TT#64601 fix some compiler warnings
7 years ago
Richard Fuchs 8ffc13d8aa TT#65100 properly cleanup redis async context
7 years ago
Guillem Jover 781b275295 TT#65100 Fix double free for redis context on closure
7 years ago
Richard Fuchs 24d67d0662 fix mem allocation bug resulting in mem corruption during redis restore
7 years ago
Richard Fuchs 26b725d024 TT#45617 add new options to support log markers for sensitive data
7 years ago
Richard Fuchs e3ec97f858 TT#50652 add -Wstrict-prototypes everywhere
7 years ago
Richard Fuchs 19da0e05e8 TT#45472 save and restore media IDs from and to redis
8 years ago
Richard Fuchs e9f9ae75ad fix compiler warning
8 years ago
Richard Fuchs 326c6a5818 TT#43557 augment DTMF blocking to support directional blocking
8 years ago
Richard Fuchs 04a83027a0 TT#43557 implement media blocking
8 years ago
Richard Fuchs e67b9c40da TT#43556 support blocking of DTMF event packets
8 years ago
Richard Fuchs cab9d895b2 TT#42500 fix only one crypto suite being offered.
8 years ago
Richard Fuchs a44b34a7a9 don't free event base before calling loopbreak()
8 years ago
Richard Fuchs 0aeb06f613 TT#40900 store metadata in call struct instead of recording struct
8 years ago
Richard Fuchs dd34574669 TT#38350 keep track of the most used RTP payload type
8 years ago
Richard Fuchs 2f5d792aae TT#36301 add `always-transcode` flag
8 years ago
Lucian Balaceanu 83911675cd Fix for recovering from losing synchronous redis context while the async one is up
8 years ago
Richard Fuchs 79a74f69ff Merge branch 'redis_racecondition' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga 229b78d2b8 Fix race condition where redis context is used outside mutex protection
8 years ago
Richard Fuchs 14100b0b8a use reference counting on SSRC objects
8 years ago
Richard Fuchs 0db5e226e5 fix payload type tracking for transcoding situations
8 years ago
Richard Fuchs 7b65dedb95 restructure codec_make_payload_type to fix compilation w/o transcoding
8 years ago
Richard Fuchs 9147d5e438 TT#32983 support transcoding options in redis (re)store
8 years ago
Richard Fuchs a4e73c90e8 TT#30404 accept and reject codecs according to transcoding preference
8 years ago
Richard Fuchs b9206a49bc TT#28163 abstractize SSRC hash
8 years ago
Claudiu Boriga 0f9151e9ea Make 'redis-allowed-errors', 'redis-disable-time', 'redis-cmd-timeout'
8 years ago
Claudiu Boriga ac1a957a05 Merge remote-tracking branch 'sipwise/master' into add_disable_tout
9 years ago
Richard Fuchs ca78747c8c TT#30405 rename media->rtp_payload_types to ->codecs for brevity
9 years ago
Richard Fuchs d31fb36f6e TT#30403 parse and retain a=fmtp infos
9 years ago
Claudiu Boriga 485092383f Make redis connection timeout configurable
9 years ago
Claudiu Boriga 562c5b40a6 Add parameter that sets a timeout for redis commands
9 years ago
Claudiu Boriga c31ffa4639 Add paramaters to disable redis communication in case of multiple errors
9 years ago
Richard Fuchs 46d853972b move lib/ config options into struct
9 years ago
Richard Fuchs 75056a8dd1 eliminate the callmaster struct
9 years ago
Richard Fuchs f2b93f9ef8 move config options into global struct rtpengine_config
9 years ago
Richard Fuchs dffbddb2d6 don't use g_ prefix for global variables
9 years ago
Claudiu Boriga 2250ab11fd make METADATA section appear in the metafile at
9 years ago
Richard Fuchs 4cab964b42 Merge branch 'fix_redis_recording_crash' of https://github.com/1and1/rtpengine
9 years ago
Claudiu Boriga d5fea12937 check call.recording structure before using it
9 years ago
Richard Fuchs 0c6b2cfc22 Merge branch 'fix-TOS-for-redis' of https://github.com/1and1/rtpengine
9 years ago
Claudiu Boriga ca622b40ef set TOS for redis streams
9 years ago
Richard Fuchs e7d75bd275 TT#19350 add option to manage iptables rules directly
9 years ago
Richard Fuchs 1206e26f76 add missing lock for SSRC hash dump
9 years ago
Richard Fuchs 43c3e7ded7 Merge branch 'fix_redis_null_access' of https://github.com/1and1/rtpengine
9 years ago
Claudiu Boriga 67de59ada4 check that redisContext is not NULL before using it
9 years ago
Richard Fuchs ab0dba7d14 TT#12800 support custom monologue labels
9 years ago
Richard Fuchs 2cf93904df TT#12800 restore SSRC table from redis
9 years ago
Richard Fuchs 11dac7b28f TT#12800 add MOS statistics to final log output
9 years ago
Richard Fuchs 868c3b64fe TT#12800 add ssrc handling into packet_stream struct
9 years ago
Richard Fuchs d269f6a320 eliminate orphaned redis code fragments
9 years ago
Richard Fuchs 0f07e46d62 fix 32-bit compilation errosr
9 years ago
Richard Fuchs 6594b2b884 fixes for coverity
9 years ago
Richard Fuchs 7088e1586a remove obsolete redis restore function arguments
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
9 years ago
Richard Fuchs d8cc8caf9c combine two mallocs into one for redis restore
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
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
10 years ago
Frederic-Philippe Metz 88b89ea2e6 Fixes STR_FMT comment my @rfuchs or pull request #316
10 years ago
Frederic-Philippe Metz 9ebd06f40f Some fixes for pull request #316
10 years ago
Frederic-Philippe Metz 749a7da7b0 Implements redis onekey concept
10 years ago
Richard Fuchs 9036d30ed8 fix call struct being accessed after obj_put
10 years ago
Pawel Kuzak d2314ea247 Reduced complexity in onRedisNotification()
10 years ago
Richard Fuchs 30dcadab15 TT#5566 rudimentary support for multiple audio codecs
10 years ago
Richard Fuchs 984585a32c TT#5003 implement kernel-side call recording
10 years ago
Lucian Balaceanu e08f477413 Empty other_ml stops call creation
10 years ago
Lucian Balaceanu 877952ae8c redis restore call fails when a sfd is null
10 years ago
Lucian Balaceanu 252ea8a943 Delete from redis_write when redis_restore_call() fails
10 years ago
Lucian Balaceanu bd376ab99b Adding redis_expires parameter
10 years ago
Lucian Balaceanu e04367036d redundant media setup: failover due to tout on offer response
10 years ago
Stefan Mititelu 11e94c40ea Add >= idx check for redis_list_get_idx_ptr()
10 years ago
Stefan Mititelu 27ecb3631d Free redis.c reply object memory leak
10 years ago
Stefan Mititelu bd7abe6409 Fix memory leak for notifications feature
10 years ago
Stefan Mititelu 4fd69132a2 Merge remote-tracking branch 'upstream/master'
10 years ago
Richard Fuchs 0206f09b93 fix obj-debug stuff
10 years ago
Stefan Mititelu b35a8dd9d9 Fix memory leak on redis notifications
10 years ago
Stefan Mititelu ce3ae37a76 Fixes after second review
10 years ago
Stefan Mititelu f392d9b768 Update notifications flag logic
10 years ago
Stefan Mititelu 1648757aa7 Fixes after first review
10 years ago
Lucian Balaceanu 859a5058e6 Fix (foreign|own)_session, call_duration stats: modify call_get_or_create to set stats and foreign call state
10 years ago
Lucian Balaceanu 8fb677bccb Fix stats foreign_sessions if redis_restore fails
10 years ago
Stefan Mititelu 763502dcb8 Add sanity checks
10 years ago
Stefan Mititelu 7377b908b7 Add/Retrieve ps->component to/from redis
10 years ago
smititelu b38f3da45c Redis nofitications fixes
10 years ago
Stefan Mititelu 5e7640b4c4 Add/Retrieve ps->component to/from redis
10 years ago
smititelu ac753abebd Merge remote-tracking branch 'upstream/master' into dev-fmetz-redis-notification-upstream-updated
10 years ago
smititelu 65de7932ad Add config REDIS_NUM_THREADS param
10 years ago
smititelu 04471770ce Add NO_REDIS_REQUIRED new parameter
10 years ago
smititelu 33e72ba67a Skip redundant log if r->ctx->err != NULL
10 years ago
smititelu 50aef804d9 Rtpengine starts even if redis is down
10 years ago
smititelu 7d03f3da6c Improve Redis connection logging
10 years ago
smititelu e48252e11c Change abort() behaviour of redis_check_conn()
10 years ago
Richard Fuchs f52884e99f report errors returned from redis
10 years ago
Richard Fuchs c1407d6b44 support Redis server authentication
10 years ago
Richard Fuchs 725638bccb remove redis-role redundancy
10 years ago
Frederic-Philippe Metz 1ca0cc5a52 Implemented session limitation logic
10 years ago
Frederic-Philippe Metz 637d1f4cce Locked redis context on redis notification
10 years ago
Frederic-Philippe Metz 5af1d8fcca redis operations on the keyspace are now related to the keyspace they belong to
10 years ago
Frederic-Philippe Metz fd3e2342c1 Implemented redis notification according to RTPENGINE-64
11 years ago
Frederic-Philippe Metz bf38f151ba Fix for restoring notified call from own redis db
11 years ago
Frederic-Philippe Metz 48543b4c4e Intermediate State: Notifications enabled by cli
11 years ago