Commit Graph

327 Commits (master)

Author SHA1 Message Date
Richard Fuchs 43b171c714 MT#55283 replace free_gvbuf via g_autoptr
1 year ago
Richard Fuchs 65c1c28100 MT#55283 use transparent union
1 year ago
Richard Fuchs 64724284c1 MT#55283 fix media array building
1 year ago
Richard Fuchs 531e720fd4 MT#55283 add desired_family to call_monologue
2 years ago
Richard Fuchs dbae76c3b6 MT#57977 fix save/restore of "foreign" call flag
2 years ago
Richard Fuchs 1238d2f3c2 MT#57977 integrate block/silence_media into bfield
2 years ago
Richard Fuchs 7fe1145b83 MT#57977 store call_flags into Redis
2 years ago
Richard Fuchs 280795ddc9 MT#57977 convert call flags to uint bit field
2 years ago
Richard Fuchs 0e35f40233 MT#57977 store ml_flags into Redis
2 years ago
Richard Fuchs 62615d9193 MT#57977 use local scope variables
2 years ago
Donat Zenichev bf2403f67c MT#57719 redis: move media to monologue linking to `json_medias()`
2 years ago
Donat Zenichev f984c8e5e3 MT#57719 redis: Use media subscriptions approach
2 years ago
Donat Zenichev ecc5420300 MT#57719 redis: Use media subscriptions in `__find_subscriber()`
2 years ago
Donat Zenichev 4bbbfba818 MT#57719 stop using `call_subscription` when getting dialogs
2 years ago
Richard Fuchs 5c5ad6d830 MT#55283 use fancy "named args" syntax
2 years ago
Richard Fuchs d9e682b7db MT#56374 add convenience macros for string creation
2 years ago
Richard Fuchs e58d36fb84 MT#56374 update glib dependency to >= 2.40
2 years ago
Orgad Shaneh 1a28b73a2d MT#55283 Rename aux -> helpers
2 years ago
Richard Fuchs 758617d490 TT#146201 delegate setting transcoding flag
2 years ago
Richard Fuchs 0bc78550f8 TT#146201 reverse redis restore directions
2 years ago
Richard Fuchs d24133372a MT#55283 move declarations to eliminate shadowing
2 years ago
Stefan Mititelu 2f705df1bf Redis fix for active-active
2 years ago
Richard Fuchs 5822cb889d MT#56447 change ml->medias to GPtrArray
2 years ago
Richard Fuchs a758d52a86 MT#56447 fix locking errors
2 years ago
Stefan Mititelu 983d91d19e Add command to disable/enable redis write
2 years ago
Richard Fuchs 6cb8285cfe MT#56447 add glib_json_print()
2 years ago
Richard Fuchs a9e5c95b29 MT#56447 redis.c: consistent spacing, code style
2 years ago
Richard Fuchs df3bd87522 MT#56447 use LOCK in redis.c
2 years ago
Richard Fuchs 18595419b4 MT#55283 shortcut for empty Redis restores
2 years ago
Richard Fuchs 8d413f6018 MT#55984 obsolete `branches` hash table
2 years ago
Richard Fuchs 8712e3b88e MT#55984 obsolete `other_tags` table
2 years ago
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