Commit Graph

296 Commits (mr13.2)

Author SHA1 Message Date
Richard Fuchs 6f0ad0db0f MT#55984 introduce `associated_tags` hash table
2 years ago
Richard Fuchs e7abe3b378 TT#44805 rename `stats` to `stats_in`
3 years ago
Richard Fuchs 1699c90705 TT#189201 refactor __add_subscription arguments
3 years ago
Richard Fuchs 0b8d74ae2f TT#189201 preserve existing attributes after repeated offer/answer
3 years ago
Richard Fuchs 2463c5e37c TT#189201 simplify attrs handling in __init_streams
3 years ago
Richard Fuchs 7be1d0aef1 TT#189201 refactor sink/handler attributes
3 years ago
Richard Fuchs c109644fea TT#189201 change block/silence media flags to bool
3 years ago
Richard Fuchs 40ba01980e TT#14008 solve Redis restore race condition
3 years ago
Richard Fuchs 19c8d1e01a TT#14008 change Redis restore order
3 years ago
Richard Fuchs 17bda4b1e8 TT#156900 fix master/slave race condition with early closed ports
3 years ago
Richard Fuchs 0da7a068b0 TT#14008 fix Redis restore logic re legacy format
3 years ago
Richard Fuchs 442b26ea48 TT#173752 support per-tag metadata for recording
3 years ago
Richard Fuchs aac9f99f1d TT#14008 fix possible NULL pointer deref
3 years ago
Richard Fuchs d055a5da59 TT#136957 add `egress` subscription support
3 years ago
Richard Fuchs 84fed5ca7e TT#136957 obsolete TRANSCODE flag
3 years ago
Richard Fuchs 50b8f54bcf TT#155900 add `RTCP mirror` flag
3 years ago
Richard Fuchs 0518cbdc20 TT#155900 store subscriptions to Redis with options
3 years ago
Richard Fuchs bf8cb9f54c TT#155900 remove obsolete function argument
3 years ago
Richard Fuchs f327b5b3c2 TT#14008 silence compiler warning
3 years ago
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