Commit Graph

327 Commits (master)

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